motion detection and timeout
Posted: Wednesday 20 March 2019 23:19
Hi all,
I'm trying to create a small "security" enhancement to my new domoticz raspberry pi (bought a new one). Whenever my APIR-2150 (motion detector) is triggered, I want to set the garden light to on for an X amount of time. But for some reason my Blockly doesn't work properly. And since I want to try to avoid as much LUA as possible.... I'm asking here for advise.
This is my blockly I've used the variable "garden motion detected" as a variable to store an integer in order to not keep on sending notifications. But that also doesn't work. The variable doesn't get set to 1.
if you guys need anymore information, please let me know
Henk
I'm trying to create a small "security" enhancement to my new domoticz raspberry pi (bought a new one). Whenever my APIR-2150 (motion detector) is triggered, I want to set the garden light to on for an X amount of time. But for some reason my Blockly doesn't work properly. And since I want to try to avoid as much LUA as possible.... I'm asking here for advise.
This is my blockly I've used the variable "garden motion detected" as a variable to store an integer in order to not keep on sending notifications. But that also doesn't work. The variable doesn't get set to 1.
if you guys need anymore information, please let me know
Henk