How Do I define the PIR (HC_SR501) sensor in Domoticz

Moderator: leecollings

Post Reply
rick8245
Posts: 74
Joined: Wednesday 22 April 2020 15:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

How Do I define the PIR (HC_SR501) sensor in Domoticz

Post by rick8245 »

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
rick8245
Posts: 74
Joined: Wednesday 22 April 2020 15:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How Do I define the PIR (HC_SR501) sensor in Domoticz

Post by rick8245 »

Never mind.

I got this working now
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest