IggyLites Posted March 8, 2016 Share Posted March 8, 2016 Hi there: I've never had to post here....guess it's a testament to how goo the Wiki is. In any case I made a very simple program that should turn off a nightlight scene at sunrise....but nothing happened. Now, I have a couple of doubts about how to best write this because it seems I can't query the status of a scene, just of a device. So for me I used a keypad button as a variable whether the scene was on, so is there a way of using the actual scene status? ie. Scene 1 is On, instead of Linc Button D is On In any case, I'm attaching a screenshot of the program, can anyone help me figure out why it didn't run? Seems so painfully simple! Thanks, Link to comment
Techman Posted March 8, 2016 Share Posted March 8, 2016 Change "control" to "status" Status is the state of the device, Control is when the device is physically turned on or off. Link to comment
IggyLites Posted March 8, 2016 Author Share Posted March 8, 2016 Awesome, thanks a million. Link to comment
KeviNH Posted March 8, 2016 Share Posted March 8, 2016 I have program folders named 'sunrise' and 'sunset' with appropriate folder conditions. For something like this, I don't check whether the light is on or off, I have ISY set the scenes to the desired state. Won't do any harm if the scene members are already off, and will still work if I switch to a dimmer, or add another light to the scene, etc. Link to comment
Recommended Posts