drmark12pa Posted December 29, 2013 Share Posted December 29, 2013 I'm trying to find the easiest and most reliable/accurate way of changing the lights on a light switch to reflect if the room is on or off.For example when my GARAGE speakers are on, I set it so one LED on the light switch is GREEN and one is AQUA so I know it's on by looking if I forgot to turn it off.When I turn off the room the light switch goes back to just either on LED (green for on, red for off).However, sometimes I forget to turn the room off and the room (garage) automatically turns off after a period of time when all the playlist has played.What is the easiest way to make the LEDs change to reflect this?I seen there are commands under the following areas that could be potential programming options but I want just one programming command: Under DIGITAL MEDIA, there is option under WHEN ROOM LEAVES A SESSION Under DIGITAL MEDIA, there is option under SESSION ENDS IN ROOM (GARAGE) Under GARAGE, I can select WHEN THE ROOM TURNS OFF Under POWER STATE under room variables there is option if POWER STATE CHANGES What is the best way to program the light switch to correspond to the light state and the speakers?I currently have it working other than when it times out and the room turns off but I literally have the same programming under all of those 4 options I've listed. Link to comment Share on other sites More sharing options...
Cyknight Posted December 29, 2013 Share Posted December 29, 2013 Use When Powerstate changes with an IF statement. That should work. If a session of say digital music ends, sometimes the powerstate isn't triggered properly, not sure if this was fixed in current release yet, that may be what you're seeing. Link to comment Share on other sites More sharing options...
drmark12pa Posted December 29, 2013 Author Share Posted December 29, 2013 Cyknight,I've done the Powerstate programming but just curious if the the IF STATEMENT should be: 1) IF POWER STATE TRUE/FALSE 2) IF ROOM POWER ON/OFF 3) under DIGITAL MEDIA, IF GARAGE NOT IN A SESSION Link to comment Share on other sites More sharing options...
Cyknight Posted December 29, 2013 Share Posted December 29, 2013 If room is on/off and if room is/isnt in a session would (should) set the powerstate variable - so you would generally use "IF power_state is xxx" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.