Jump to content

Alexa, turn off <ISY Program>


Recommended Posts

Posted (edited)

I have Alexa integrated with my ISY - no problems. All works as expected. But I'm trying to add some functionality.

I set up an Alexa group with one of my ISY programs included in the group. So when I say "Alexa, turn on <group>", the program runs. All good. Since that program is a lighting program, it sets things up exactly the way I want.

However, if I say "Alexa, turn off <group>", nothing happens. I suppose this is expected behavior, but I'm not sure.

Is there a way to have "Alexa, turn off..." run either a different program from "turn on", or run the same program with some variable difference so I can differentiate?

Am I making sense?

Edited by miataguy
Posted
1 hour ago, miataguy said:

I have Alexa integrated with my ISY - no problems. All works as expected. But I'm trying to add some functionality.

I set up an Alexa group with one of my ISY programs included in the group. So when I say "Alexa, turn on <group>", the program runs. All good. Since that program is a lighting program, it sets things up exactly the way I want.

However, if I say "Alexa, turn off <group>", nothing happens. I suppose this is expected behavior, but I'm not sure.

Is there a way to have "Alexa, turn off..." run either a different program from "turn on", or run the same program with some variable difference so I can differentiate?

Am I making sense?

do you have an else body in the program?  in my experience on is then, off is else.

or paste the program and show us how you have this set in the portal, maybe I'm not understanding what you've set up.

Posted
12 minutes ago, miataguy said:

I currently have an "if" statement for time of day. Are you suggesting that if I rework it so there's no "if", it'll execute on is then, off is else?

I just created this program:

AAA TEST - [ID 00E8][Parent 0001]

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')
 
Then
        $temp_test  = 1
 
Else
        $temp_test  = 0
 

Added it to the portal as:

image.png.be484cfbe8449c7e926684d22cdfc516.png

 

"Alexa, Turn on the toaster" sets the variable to 1

"Alexa, Turn off the toaster" sets the variable to 0.

Guest
This topic is now closed to further replies.

×
×
  • Create New...