Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.45k stars 1.62k forks source link

Sonoff Door Sensor False Positives #18849

Open BlueWings172 opened 10 months ago

BlueWings172 commented 10 months ago

What happened?

I was using my Sonoff SNZB-04 door sensor with ZHA for months and it was working fine. I switched the zigbee2mqtt and everything seemed fine at the beginning but then I started to noticed that the sensor reports multiple close events when the door is already closed and multiple open events when the door is open to Home Assistant

I don't understand why this happens if no one touched the door. How can I stop my door sensor and HA from hallucinating?

I would appreciate any help.

Thanks

image

image

image

image

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.32.2 commit: 1ec1e57

Adapter firmware version

20211115

Adapter

CC2531

Debug log

No response

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

BlueWings172 commented 9 months ago

Does anyone have an idea how to solve this?? My sensor became completely useless and reports false events all the time.

github-actions[bot] commented 8 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

BlueWings172 commented 8 months ago

I would appreciate any help on this. Still having the same issue.

KayGt3 commented 3 months ago

Did you solve it?

I have the same issue with Xiaomi door sensor (MCCGQ01LM), if i look the log i see that the sensor open and close in the same second even if no one had open the door.

BlueWings172 commented 3 months ago

@KayGt3 Unfortunately, I haven't. It appears that zigbee2mqtt reports the battery level and then Home Assistant interprets this as a door action. so if the door is closed, it keeps reporting that door is closed every hour or so again and again and then when the door is opened, it keeps reporting the door is open multiple times.

I don't know how to disable the battery reports in z2m or how to get HA to distinguish between these battery reports and an actual door opening or closing.

I tried to search online but couldn't find a solution. If you find one, please let me know.

Thanks

KayGt3 commented 3 months ago

This is the behaviour of mine:

image

I will let you know if i will find something!