joemac Posted January 28, 2016 Share Posted January 28, 2016 I have a KPL button that runs a night time program, turning off all lights and turning off the back lights on the KPLs in bedrooms. Sometimes this button is pressed inadvertently. I'd like to be able to somehow undo the program run, i.e. restoring all the lights / scenes to where they were. Does anyone have any thoughts on an easy way to do this? Link to comment
KeviNH Posted January 28, 2016 Share Posted January 28, 2016 Not sure if "undo" is achievable. I think I get what you want to accomplish, I have a "Goodnight" button myself. What you maybe could do is have 2 programs involved. The "Goodnight" button would run a program "SetGoodnight" that XORs a variable "S.GoodNight_Requested" and plays some beeps at every keypad that has the button. Then a separate program with conditions of "Time is 45 seconds after Last Run of SetGoodNight. And S.GoodNight_Requested == 1" does the actual work. So if you press the Goodnight button accidentally, just press the same button again within 45 seconds, and the upcoming lighting change is cancelled. Link to comment
joemac Posted January 29, 2016 Author Share Posted January 29, 2016 Thank you KeviNH. Good idea. Link to comment
paulbates Posted January 29, 2016 Share Posted January 29, 2016 Another method is to use a fast-on (double press) to activate an undo program. I use something similar for mine good night program Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.