How Do I define the PIR (HC_SR501) sensor in Domoticz
Posted: Wednesday 22 April 2020 16:07
Hi ,
I have the HC_SR501 (PIR) sensor working while pinned directly on the Raspberry PI.
It works fine (detects motion) with a python script running from the Raspbian OS but I want to define it in Domoticz so I can create a blocky script for it.
How Do i define the HC_SR501 in Domoticz?
As a dummy ?? Or is it better to define it on the ESP8266.
I want turn my light on in my room when the lux is < 10 and movement is detected.
How do I get this working ??
Thanks in advance
Rick
I have the HC_SR501 (PIR) sensor working while pinned directly on the Raspberry PI.
It works fine (detects motion) with a python script running from the Raspbian OS but I want to define it in Domoticz so I can create a blocky script for it.
How Do i define the HC_SR501 in Domoticz?
As a dummy ?? Or is it better to define it on the ESP8266.
I want turn my light on in my room when the lux is < 10 and movement is detected.
How do I get this working ??
Thanks in advance
Rick