Motion Sensor, false reads, sensitivity calibration

Hey all,

I’m running an esp8266 with an infrared motion sensor. I’ve been running these in my projects for years. I use these mostly inside but I have one outside that regularly gives false reads. I have the sensitivity potentiometer set as low as it will go.

So I’m thinking maybe this can be solved in Node-Red?

Something like wait X amount of seconds, maybe 3 seconds, to see if the sensor stays high or retriggers and then turn on the lights.

Anyone know how to do this?

Or maybe it’s time to look for an alternative sensor?

Thanks
Rich

I believe you can do it using the contrib node node-red-contrib-mytimeout. Every time you get a notification from the sensor reset the timer, and take action whenever it expires,

1 Like

Use a Trigger node. Set it to send Nothing then, after 3 seconds send the Lights On message. Then configure it to Reset if the sensor goes low.

If that doesn’t make sense to you then tell us what the payload values are for sensor high and low.