zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

`no_occupancy_since` for Aqara RTCGQ13LM

Open uncle-fed opened this issue 3 years ago • 4 comments

What happened?

This is an exact "clone" of the issue #11183 that was opened (and fixed) for the Philips Hue occupancy sensor.

Now the behaviour (that was originally present and later changed for the Philips Hue sensor) is being observed with the newly bought Aqara RTCGQ13LM high precision motion sensor (AKA lumi.motion.agl04).

Just like the fixed Philips Hue, the RTCGQ13LM sensor is capable of sending occupancy: false but the behaviour of the no_occupancy_since is not the same between these two sensors now. Aqara starts its "no occupancy" timer from the moment when occupancy: true has been sent out. The Philips sensor (correctly) starts counting from the moment when occupancy: false has been detected and transmitted.

We already discussed at length the reasoning behind it (found in the Philips issue #11183) and came to the conclusion that all motion sensors that are capable of transmitting occupancy: false (which actually are very few) should do what Philips Hue does now. This particular (high precision) Aqara sensor happens to be one of those capable sensors and should then be made consistent with Philips Hue in how the no_occupancy_since is calculated.

The frontend description for the no_occupancy_since setting also differs currently between the two sensors, so it needs to be updated for RTCGQ13LM if the behaviour is changed to match Philips Hue (if that's not handled automatically).

Zigbee2MQTT version

1.27.2 commit: 7dc48fb6

Adapter firmware version

20220103

Adapter

LAUNCHXL-CC1352P

uncle-fed avatar Sep 16 '22 17:09 uncle-fed

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

github-actions[bot] avatar Oct 17 '22 00:10 github-actions[bot]

Still needs attention, please

uncle-fed avatar Oct 22 '22 13:10 uncle-fed

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

github-actions[bot] avatar Nov 23 '22 00:11 github-actions[bot]

Still needs attention, please

uncle-fed avatar Nov 23 '22 18:11 uncle-fed

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

github-actions[bot] avatar Dec 25 '22 00:12 github-actions[bot]

Un-stale

uncle-fed avatar Dec 25 '22 19:12 uncle-fed

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

github-actions[bot] avatar Jan 26 '23 00:01 github-actions[bot]

Un-stale

uncle-fed avatar Jan 26 '23 00:01 uncle-fed

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

github-actions[bot] avatar Feb 26 '23 00:02 github-actions[bot]

Un-stale

uncle-fed avatar Feb 26 '23 12:02 uncle-fed

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

github-actions[bot] avatar Mar 30 '23 00:03 github-actions[bot]

Un-stale

uncle-fed avatar Mar 31 '23 06:03 uncle-fed

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

github-actions[bot] avatar May 01 '23 00:05 github-actions[bot]

Un-stale

uncle-fed avatar May 08 '23 20:05 uncle-fed

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

github-actions[bot] avatar Jun 09 '23 00:06 github-actions[bot]

  • unstale

uncle-fed avatar Jun 09 '23 20:06 uncle-fed

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

github-actions[bot] avatar Jul 10 '23 00:07 github-actions[bot]