alf1096 Posted April 18, 2011 Share Posted April 18, 2011 I want to turn on the bottom light to a switch to a different color to let me know power status of the patio speakers. I want to turn the bottom light to red on the switch when the patio power is on. I have no problems doing this with a 6 button just cant find the code to do it with a switch. The only code I can find is to set the color to red when the light is on. Where is this code line located. Thanks Link to comment Share on other sites More sharing options...
alf1096 Posted April 20, 2011 Author Share Posted April 20, 2011 Anyone Link to comment Share on other sites More sharing options...
dougw246 Posted April 21, 2011 Share Posted April 21, 2011 Start the program using the room variable "Power State" for the room "Patio". When the power state changes you can query the power state and determine if it is on or off. Then use the conditional to change the LED color on the switch to any color you want. That is assuming your switch was setup so the LED's are not attached. If they are attached you cannot programatically change the color without changing the LED Attached status in the Monitoring section of ComposerHE. Link to comment Share on other sites More sharing options...
alf1096 Posted April 21, 2011 Author Share Posted April 21, 2011 They must be attached because I can't change the color only the toggle color how do I unattach. Link to comment Share on other sites More sharing options...
alf1096 Posted May 16, 2011 Author Share Posted May 16, 2011 Still need help with this one thanks Link to comment Share on other sites More sharing options...
alf1096 Posted May 16, 2011 Author Share Posted May 16, 2011 sorry guys brain fart got it working Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.