I want to try to create some small events in pyhon instead of using blocky. But I am having trouble finding any example-scripts written in python.
How would I for example:
turn on a switch for 10 minutes when a motion-detector is on
every time motion is detected reset the timer to 10 minutes again.
Python example needed for using a timer to turn on a switch
Moderator: leecollings
Who is online
Users browsing this forum: Google [Bot] and 1 guest