Closed mLupine closed 4 years ago
I just ran into a similar problem on this exact motion sensor. I am using one of those 3 channels and I have disconnected the battery for over a day. It reports in to Z2M when I put the battery back in but it never reports occupancy true.
info 2020-02-25 20:20:42: MQTT publish: topic 'zigbee2mqtt/Dining Room Motion Sensor/availability', payload 'online'
info 2020-02-25 20:21:26: MQTT publish: topic 'zigbee2mqtt/Dining Room Motion Sensor', payload '{"battery":"60.00","voltage":2800,"linkquality":168,"last_seen":1582690886839,"occupancy":false,"tamper":false,"battery_low":false}'
info 2020-02-25 20:21:27: MQTT publish: topic 'zigbee2mqtt/Dining Room Motion Sensor', payload '{"battery":"60.00","voltage":2800,"linkquality":144,"last_seen":1582690887681,"occupancy":false,"tamper":false,"battery_low":false}'
With debug
debug 2020-02-25 20:25:57: Device 'Dining Room Motion Sensor' announced itself
debug 2020-02-25 20:25:58: Received Zigbee message from 'Dining Room Motion Sensor', type 'attributeReport', cluster 'genPowerCfg', data '{"batteryVoltage":28}' from endpoint 1 with groupID 0
info 2020-02-25 20:25:58: MQTT publish: topic 'zigbee2mqtt/Dining Room Motion Sensor', payload '{"battery":"60.00","voltage":2800,"linkquality":132,"last_seen":1582691158735,"occupancy":false,"tamper":false,"battery_low":false}'
Could you sniff the traffic when the device stopped working? https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html
I cannot seem to add the Konke 2AJZ4KPBS motion sensor, i get the following error: zigbee2mqtt:warn 3/18/2020, 6:37:39 PM Device with modelID '3AFE28010402000D' is not supported. zigbee2mqtt:warn 3/18/2020, 6:37:39 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
I have the latest version of Hassio and zigbee2mqqt running
Please try the edge verison, it should be added there.
Please try the edge verison, it should be added there.
Great that worked! After switching the channel to 15 (and unfortunately re-pairing all the devices) it is now up and running. I already like it more than the xiaomi motion sensor with the limited field of view!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Bug Report
What happened
Let me start with a bit of a background story. I purchased a Konke motion sensor (2AJZ4KPBS) to try and check if it's any better than the Aqara one. A few days ago I received it and added to my Zigbee network (based on Zigbee2Mqtt v1.9.0). It worked relatively fine. A few hours later I switched to a new coordinator, so I had to repair all the devices. Since the coordinator didn't want to run Z-Stack firmware v1.2, I uploaded v3.0.x to it and repaired the devices - including the Konke motion sensor.
And it worked fine once again. For a few hours.
When I woke up next morning, I noticed that it doesn't react to movement anymore. When I pressed the button on it, Z2M was receiving messages from the sensor but it wasn't able to use them. What's even more surprising was that it started mentioning "aqaraOpple", which are Xiaomi Aqara wall switches that I don't even own.
Here's what Z2M knew about the device:
And here's what the log looked like when I pressed a button on the sensor:
So, I tried re-pairing the sensor. I removed all the mentions of it in the configuration, state file, and the database, and then started from the beginning. And that's when the real problem started to surface.
I'm unable to pair the device anymore. The LED light on the sensor keeps blinking when I long-press the button but there's completely no sign of Z2M knowing that anything is happening. There's no log, no config entries.
What did you expect to happen
I expected it to work 😢
Debug Info
zigbee2mqtt version: Started out on 1.9.0, through 1.9.0-dev, now on 1.10.0 CC2530+CC2591 firmware version: Z-Stack v3.0.x 20190523