SONOFF SNZB-03: Change occupancy to ZoneStatusChange
ykorzikowski opened this issue · 3 comments
Thanks to Koenkk/zigbee2mqtt#4874 (comment) I figured out, how to use the SNZB-03 properly.
The occupancy property is not reporting occupancy, but the ZoneStatusChange property does. Tested with Zigbee2Tasmota.
Zigbee2Tasmota + Mosquito + A self-made, lightweight python script for home automation proofed this sensors are working for arround 1 week now.
Screeenshot from MQTT Explorer.
Today I was testing zigbee2mqtt, but it only provides the occupancy property. I checked the source code and found the place which need a change, but as I am not familiar with the project structure.
I will stick with Zigbee2Tasmota for now, as it meets the KISS standard for me :)
Could you provide the debug log when occupancy is triggered on the SNZB-03?
I confirm that there is an issue with the integration of the SNZB-03 sensor. I have been using these sensors for more than 2 years, integrating them with Homey, and I have never received a false positive state. For a few days now, I have integrated them into the zigbee2mqtt network, and I am receiving many false positives. I also conducted another test and reintegrated the sensors into Homey's zigbee network, and they are working perfectly.