Zigbee2 Motion sensor giving false positives

Hey All,
I'm running a Aqara motion sensor via zigbee2mqtt. This is my only zigbee device, I've had it for a while but I can't get it working.

I have it configured using the lowest sensitivity and a 30s detection interval. The Zigbee dongle is running on a Pi4. It works when someone walks by but I get quite a few false positives at random times, day and night.

I'm in a metal building and the sensor is outside but only about 12 ft away, does this matter?

I changed the zigbee2 trigger interval to 2 seconds and had it write a timestamp to a log file. It looks like the false reads will send 1 or 2 timestamps at a time.

Perhaps there is a workaround in Nodered? Setup the flow so that if more than 2 timestamps come in 4 seconds trigger the rest of the flow. Kinda sloppy.

How can I get accurate reads from this motion sensor?
Thx
Rich

https://www.amazon.com/gp/product/B0B9XZ1D51/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

Motion sensors outside are subject to insects and wind activation.

I use two motion sensors, when both are activated I trigger flow, this reduces most false activations.

You could use something like this to count the activations also

[{"id":"003a29ba9a264718","type":"inject","z":"d1395164b4eec73e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":450,"y":5600,"wires":[["adf83c1f042c91f1"]]},{"id":"adf83c1f042c91f1","type":"join","z":"d1395164b4eec73e","name":"","mode":"custom","build":"array","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"4","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":610,"y":5600,"wires":[["c30e76114ee94a2e"]]},{"id":"c30e76114ee94a2e","type":"switch","z":"d1395164b4eec73e","name":"","property":"$count($$.payload)","propertyType":"jsonata","rules":[{"t":"gte","v":"2","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":770,"y":5600,"wires":[["bfb96591f2d31b61"]]},{"id":"bfb96591f2d31b61","type":"debug","z":"d1395164b4eec73e","name":"debug 2479","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":910,"y":5600,"wires":[]}]

Thx! I'm trying it now, I'll let you know how it goes.
R

After a day of trying it seems to be working!

Thanks E1cid.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.