Device Snooze [Solved]
Posted: Thursday 17 August 2017 6:40
Hi,
Still fairly new to Domoticz and looking for some direction, I have managed to use dzVents to automate a few things with my AC, now I want to add a snooze function, before I go and look at a long script to do this, is there an easier option I am missing?
I have a wireless switch that is linked to Domoticz, it has multiple press options (Click, Double Click, Long Press, etc).
At first I was thinking of just using a scene to say turn the AC on then off after X min, but that seems a little limited.
Then I considered looking at some time function within dventz, say setting .PowerOn.forMin(30) but I read a post that said the timer can not be cancelled once it is issued. I would like to be able to add time or disable the timer.
So now I am thinking I could have the Switch record a time when Clicked, then turn off when it has been 30 min, and the same for a double click, but make it 60 min, and if I long press have the timer cancel.
It would be nice to have the script just add another 30min to the existing time for each press.
I am thinking of using my RGB light to indicate the timer is on, and use a different colour for the 30min\60min timer, or maybe just flash it to indicate the timer has been set. My partner doesn't want to open the app. But I would like a counter, so linking it back to a dummy counter would be nice.
Looking forward to thoughts from the experts
Thanks,
Wob
Still fairly new to Domoticz and looking for some direction, I have managed to use dzVents to automate a few things with my AC, now I want to add a snooze function, before I go and look at a long script to do this, is there an easier option I am missing?
I have a wireless switch that is linked to Domoticz, it has multiple press options (Click, Double Click, Long Press, etc).
At first I was thinking of just using a scene to say turn the AC on then off after X min, but that seems a little limited.
Then I considered looking at some time function within dventz, say setting .PowerOn.forMin(30) but I read a post that said the timer can not be cancelled once it is issued. I would like to be able to add time or disable the timer.
So now I am thinking I could have the Switch record a time when Clicked, then turn off when it has been 30 min, and the same for a double click, but make it 60 min, and if I long press have the timer cancel.
It would be nice to have the script just add another 30min to the existing time for each press.
I am thinking of using my RGB light to indicate the timer is on, and use a different colour for the 30min\60min timer, or maybe just flash it to indicate the timer has been set. My partner doesn't want to open the app. But I would like a counter, so linking it back to a dummy counter would be nice.
Looking forward to thoughts from the experts
Thanks,
Wob