turn a switch of every 10 minus

Moderator: leecollings

Post Reply
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

turn a switch of every 10 minus

Post 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?
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: turn a switch of every 10 minus

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
habahabahaba
Posts: 190
Joined: Saturday 18 March 2023 14:44
Target OS: Windows
Domoticz version: 2024.4
Contact:

Re: turn a switch of every 10 minus

Post by habahabahaba »

Yes, write the script
User avatar
Treve
Posts: 107
Joined: Thursday 05 November 2015 10:37
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.11474
Location: Rotterdam, NL
Contact:

Re: turn a switch of every 10 minus

Post 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
- RFXtrx433E,
- AEON Labs ZW090 Z-Stick Gen5 EU
- Hue v2.1
- Raspberry Pi 3 Model B, Raspbian Stretch Full on USB-Stick.
- Domoticz 4.11474
Devices: KaKu, Z-Wave, Hue.

for testing:
Raspberry 4, 2GB, SSD
Domoticz 2022.1
Ikea Hub, Fyrtur curtain
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: turn a switch of every 10 minus

Post 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
Quality outlives Quantity!
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: turn a switch of every 10 minus

Post 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?
Kedi
Posts: 536
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: turn a switch of every 10 minus

Post by Kedi »

Do you use Wifi and/or 433 Mhz. And how are they connected to Domoticz?
Logic will get you from A to B. Imagination will take you everywhere.
tjabas
Posts: 564
Joined: Sunday 11 December 2016 13:51
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: turn a switch of every 10 minus

Post by tjabas »

No I use zwave
User avatar
habahabahaba
Posts: 190
Joined: Saturday 18 March 2023 14:44
Target OS: Windows
Domoticz version: 2024.4
Contact:

Re: turn a switch of every 10 minus

Post by habahabahaba »

Logs?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests