Page 1 of 1

turn a switch of every 10 minus

Posted: Friday 19 May 2023 20:04
by tjabas
how could in the easiest way make a switch turn off every 10 minutes,
i know that i could set a off delay in the switch parameters, but this function doesnt work anymore, and i dont know why.
so im thinking of another way,
i could set up a timer on the switch, but i will have to make a setting every ten minutes, and i guess that it will take a while since i have to do this on many of my devices.
do you have any idea?

Re: turn a switch of every 10 minus

Posted: Friday 19 May 2023 22:02
by waltervl
Do it with a s script...

Why is delay off not working? Is it not working for a specific device, for devices of a specific hardware gateway or for all devices?

Last time there was a user that had triggers not working due to a blocked event system due to a incorrect script. So that could be the case.

Re: turn a switch of every 10 minus

Posted: Wednesday 07 June 2023 16:13
by habahabahaba
Yes, write the script

Re: turn a switch of every 10 minus

Posted: Wednesday 07 June 2023 20:34
by Treve
I use (daily) a blockly to switch off my iPhone charger after 3 hrs.
Is switch is on, switch off after 180 minutes

Re: turn a switch of every 10 minus

Posted: Thursday 08 June 2023 9:13
by gizmocuz
Why does the off delay not work anymore? Did you test with a dummy switch as well?
Using it here for a few switches (like a printer, coffee machine) and they are working as they should

Re: turn a switch of every 10 minus

Posted: Thursday 08 June 2023 11:01
by tjabas
i think i have found the problem why domoticz doesnt turn off some of the switches anymore,
when i manually turn a switch on using the wall switch, domoticz doesnt see that,i dont know why its like that.
for example, if i turn the lights on in my kitchen using the flicker switch on the wall, it doesnt change the state of the switch in domoticz, thats why domoticz doesnt automatically turn of the same switch since it still "off".

what can i do about that?

Re: turn a switch of every 10 minus

Posted: Thursday 08 June 2023 11:24
by Kedi
Do you use Wifi and/or 433 Mhz. And how are they connected to Domoticz?

Re: turn a switch of every 10 minus

Posted: Thursday 08 June 2023 22:53
by tjabas
No I use zwave

Re: turn a switch of every 10 minus

Posted: Friday 09 June 2023 3:31
by habahabahaba
Logs?