Mark Sanctuary Posted October 10, 2007 Posted October 10, 2007 I was wanting to create a trigger that would watch the devices in my "All" scene. I have the "All" scene that has about 22 devices in it. Here is the logic I was planning to do. [*:2t4fbktu]Check if all lights in the All scene are off.[*:2t4fbktu]If not then turn on the All LEDs on both keypadlincs with a follow scene. So do you think we could have scenes added to Status which would allow a whole scene to be check for any lights on/off? If Status 'scene' is not all Off Or should I create a huge list of conditions like this example below? If Status 'device1' is not Off Or Status 'device2' is not Off Or Status 'device3' is not Off ... Or Status 'device20' is not Off Or Status 'device21' is not Off Or Status 'device22' is not Off Quote
Mark Sanctuary Posted October 11, 2007 Author Posted October 11, 2007 Here is how I ended up doing it, basicly building my All scene into one big if statement. This is quite the cool little program because the All LEDs are on when any light is on in the house otherwise the led is off. If Status 'Dining Hutch' is not Off Or Status 'Family Desk' is not Off Or Status 'Family Main (load)' is not Off Or Status 'Family Screen' is not Off Or Status 'Guest Bath Main' is not Off Or Status 'Guest Bath Tub' is not Off Or Status 'Kitchen Island' is not Off Or Status 'Kitchen Main' is not Off Or Status 'Kitchen Main Slave' is not Off Or Status 'Kitchen Pantry' is not Off Or Status 'Kitchen Sink' is not Off Or Status 'Master Bath Main' is not Off Or Status 'Master Bath Tub' is not Off Or Status 'Master Hallway' is not Off Or Status 'Master Main (load)' is not Off Or Status 'Master Main Slave' is not Off Or Status 'Master Read Amy' is not Off Or Status 'Master Read Mark' is not Off Or Status 'Master Screen' is not Off Then Set Scene 'Inside Both All LEDs' On Else Set Scene 'Inside Both All LEDs' Off Quote
Mark Sanctuary Posted October 11, 2007 Author Posted October 11, 2007 What would be cool though is to be able to give "Status" the scene and it would check the whole list of on/off devices in the scene list. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.