Python Plugin: CountDown

Python and python framework
Post Reply
User avatar
Xorfor
Posts: 93
Joined: Sunday 03 December 2017 23:37
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Python Plugin: CountDown

Post by Xorfor » Tuesday 12 June 2018 21:57

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests