zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[Problem]: RTCGQ13LM does not send "occupancy false"

Open serje73 opened this issue 4 years ago • 4 comments

What happened?

Due need of support of QBKG39LM I cnange the firmware of my cc2652p E72 to 20211114 And from that firmware my RTCGQ13LM stopped sent "occupancy false" event. It freezes at "occupancy true" state. I see the event of "occupancy true". But no "occupancy false" after the "occupancy_timeout" seconds.

The same thing was with my cc2531 and firmware 20211115.

What did you expect to happen?

I expect the occupancy_timeout will force the sensor to send "occupancy false" event.

How to reproduce it (minimal and precise)

Install that firmware and re-pair the sensor

Zigbee2MQTT version

1.22.1

Adapter firmware version

20211114

Adapter

cc2652p E72

Debug log

Received Zigbee message from '0x54ef4410002dc00f', type 'attributeReport', cluster 'msOccupancySensing', data '{"occupancy":1}' from endpoint 1 with groupID 0

serje73 avatar Dec 31 '21 23:12 serje73

  • First make sure to use the latest firmware from https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin
  • After that make sure to repair the RTCGQ13LM (since it needs to detect the change in the coordinator firmware)

Koenkk avatar Jan 01 '22 11:01 Koenkk

Did it! Upgraded z2m and the firmware on the stick. Now: Zigbee2MQTT version 1.22.2 commit: unknown Coordinator type zStack3x0 Coordinator revision 20211217 Coordinator IEEE Address 0x00124b00257922e1 Frontend version 0.6.67

and the sensor state is: { "battery": 100, "linkquality": 160, "motion_sensitivity": "high", "occupancy": true, "occupancy_timeout": 60, "state": "OFF", "temperature": 25, "voltage": 3216 } And occupancy timeout does not push "occupancy false" event.

serje73 avatar Jan 01 '22 13:01 serje73

@z-x-f could you maybe help with this?

Koenkk avatar Jan 01 '22 15:01 Koenkk

Fixed by https://github.com/Koenkk/zigbee-herdsman-converters/pull/3600

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

Koenkk avatar Jan 02 '22 20:01 Koenkk