Hi,
I have several lights which switch on in the morning on workingdays (mon-Fri) on specific times (i.e. hallway switches om at 06:10).
But sometimes I take a day off, and there is no reason why these ligth should be switched on (I hope to be stll in bed ).
My idea was to create a dummy switch (no_working_day) which I switch on before going to bed. But how can I use such to cancel the timed switchon event (which is on lightswitch in domoticz, no script)?
Any idea's?
Jeroen
Cancel action in dzvents script
Moderator: leecollings
- user4563
- Posts: 96
- Joined: Tuesday 19 October 2021 17:24
- Target OS: Windows
- Domoticz version: 2023.2
- Contact:
Re: Cancel action in dzvents script
Yes, that will work. So basically if dummy switch state == off then <your existing schedule here>
If the dummy switch is on, then nothing happens.
However, you said the schedule is not in a script. If it's in Blockly, you can do the same there using If-Do logic.
If the dummy switch is on, then nothing happens.
However, you said the schedule is not in a script. If it's in Blockly, you can do the same there using If-Do logic.
Domoticz 2023.2 running as a service on Windows 10 w/ Aeotec Z-Stick Gen5+, HAProxy (remote access)
Domoticz for Android
Domoticz Scenes add-on in Kodi
Domoticz for Android
Domoticz Scenes add-on in Kodi
Who is online
Users browsing this forum: No registered users and 1 guest