Issues with Aqara Motion Sensor (new firmware?)

Hello everybody,

I have been using zigbee2mqtt for quite a while now. Recently, I bought a new Aqara motion sensor on ebay (RTCGQ11LM) which I want to add beside the already existing ones. On the box the date 2019.11 is stated between some Chinese symbols below the EAN. Maybe this is the manufacturing date.

Immediately, I was able to pair the sensor to my coordinator and it also seems to work. However, it does not recognize occupancy correctly. Looking at the logs, I have the feeling that the logic of occupancy may have changed? Maybe due to a new firmware?

Here is the log when a movement is detected:
zigbee2mqtt:debug 2020-05-01 00:04:16: Received Zigbee message from ‘flur_bewegung_2’, type ‘attributeReport’, cluster ‘msIlluminanceMeasurement’, data ‘{“measuredValue”:8}’ from endpoint 1 with groupID 0

zigbee2mqtt:info 2020-05-01 00:04:16: MQTT publish: topic ‘zigbee2mqtt/flur_bewegung_2’, payload ‘{“battery”:100,“voltage”:3005,“illuminance”:8,“linkquality”:23,“last_seen”:“2020-05-01T00:04:16+02:00”,“occupancy”:false,“illuminance_lux”:8}’

In contrast, a working similar (but older model) looks like:

zigbee2mqtt:debug 2020-05-01 00:04:21: Received Zigbee message from ‘flur_bewegung_1’, type ‘attributeReport’, cluster ‘msOccupancySensing’, data ‘{“occupancy”:1}’ from endpoint 1 with groupID 0

zigbee2mqtt:info 2020-05-01 00:04:21: MQTT publish: topic ‘zigbee2mqtt/flur_bewegung_1’, payload ‘{“illuminance”:0,“linkquality”:44,“last_seen”:“2020-05-01T00:04:21+02:00”,“occupancy”:true,“battery”:100,“voltage”:3045,“illuminance_lux”:0}’

zigbee2mqtt:debug 2020-05-01 00:04:21: Received Zigbee message from ‘flur_bewegung_1’, type ‘attributeReport’, cluster ‘msIlluminanceMeasurement’, data ‘{“measuredValue”:0}’ from endpoint 1 with groupID 0

zigbee2mqtt:info 2020-05-01 00:04:21: MQTT publish: topic ‘zigbee2mqtt/flur_bewegung_1’, payload ‘{“illuminance”:0,“linkquality”:42,“last_seen”:“2020-05-01T00:04:21+02:00”,“occupancy”:true,“battery”:100,“voltage”:3045,“illuminance_lux”:0}’

zigbee2mqtt:info 2020-05-01 00:05:51: MQTT publish: topic ‘zigbee2mqtt/flur_bewegung_1’, payload ‘{“illuminance”:0,“linkquality”:44,“last_seen”:“2020-05-01T00:04:21+02:00”,“occupancy”:false,“battery”:100,“voltage”:3045,“illuminance_lux”:0}’

Clearly, the second example works and the occupancy is transmitted. Has anybody an idea, what may be wrong.

Thank you.

Flovie

Edit: Although I have tested it several times. Pairing the motion sensor again seems to have solved the issue for now. If you want, you can delete the topic, otherwise I would leave it for other users experiencing a similar issue.