This simple plugin will switch off after the specified number of minutes. This can be used eg. to switch off the light when no motion is detected for the specified minutes. Look at:
https://github.com/Xorfor/Domoticz-Countdown-Plugin
Also a simple Blockly example is shown on that page. A motion sensor is used to reset (switch On) the Countdown plugin each time when motion is detected. If the plugin is switches Off, it will be used to switch off the lights in the room.
Python Plugin: CountDown Topic is solved
Moderator: leecollings
-
- Posts: 22
- Joined: Tuesday 07 February 2017 21:19
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: CountDown
Thank you for posting this plug-in. This is exactly what I was looking for. Unfortunately, I can't get the plugin working. Any known issues with the most recent version of Domoticz 4.10717
Thanks,
AlleyCat
Thanks,
AlleyCat
-
- Posts: 852
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: Python Plugin: CountDown
It's not possible just with setting a delay in the switch configuration (off delay and on delay) ?
-
- Posts: 241
- Joined: Tuesday 16 May 2017 13:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Neterlands
- Contact:
Re: Python Plugin: CountDown
the plugin does indeed seem to do exactly do what that section of the switch settings does.Thorgal789 wrote: ↑Thursday 30 May 2019 18:19 It's not possible just with setting a delay in the switch configuration (off delay and on delay) ?
raspberry pi | xiaomi vacuum | yeelight | philips hue | zwave | ubiquiti unifi | harmony | sonoff | zigbee2mqtt | https://www.youtube.com/channel/UC2Zidl ... m1OLuNldfQ
Who is online
Users browsing this forum: No registered users and 1 guest