Start and STOP script blink.py from blockly

Moderator: leecollings

Post Reply
User avatar
PetervandePol
Posts: 23
Joined: Wednesday 09 January 2019 11:24
Target OS: Linux
Domoticz version:
Location: Scherpenzeel, GLD, NL
Contact:

Start and STOP script blink.py from blockly

Post by PetervandePol »

Hello,

I have adapted a python script (https://github.com/scns/Domoticz-blinking-light) so that it lets one of my Yeelights blink when I open a door. I want this so that I get a visual warning that there is an open door or window when I leave the house and "arm" Domoticz.

Running the script from blockly works perfect, but I can't figure out how to stop the script from blockly after let say 30 seconds or (preferrably) after closing the open door or window.

How to achieve this? I have searched this forum and google but not found any answers....
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest