July 20, 20206 yr 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 July 20, 20206 yr by miataguy
July 20, 20206 yr 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.
July 20, 20206 yr Author Just ran a quick test, and you're right - that's the way it works. Thanks for the help! Edited July 20, 20206 yr by miataguy
July 20, 20206 yr 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: "Alexa, Turn on the toaster" sets the variable to 1 "Alexa, Turn off the toaster" sets the variable to 0.