Cooldown time of Hue motion sensor using ZHA

Hey,

I recently starting implementing Zigbee (using the Sonoff 3.0 USB dongle & ZHA) in my Home Assistant setup. I added my philips hue motion sensor to the network and have a question regarding its motion state:

When the sensor detects motion the motion sensor is updated accordingly. However it takes 5 minutes of no motion to become off again. This is always the case

I can see that an event is triggered every time motion is recognized which states the 5 minutes: Wohnzimmer Bewegungsmelder On With Timed Off event was fired with parameters: {'on_off_control': <OnOffControl: 0>, 'on_time': 3000, 'off_wait_time': 0}

Can I somehow set this time to be lower (as 5 minutes is way to long for my automations) in the ZHA config/motion sensor config/somewhere else?

I found this post where the OP says its timeout 10s and I found this github issue where one of the images show this config option in Zigbee2MQTT. Since I use ZHA I was wondering if this option is somewhere else or if I am missing something?

I used the Philips Hue integration before (before starting to migrate everything to my own Zigbee Network) and there I had no problem with that.


ChatGPT states

​The Philips Hue motion sensor has a default motion detection reset period of 5 minutes, meaning it waits 5 minutes after detecting motion before reporting “no motion.” This behavior is designed to conserve battery life by reducing the frequency of status updates.​

In Zigbee2MQTT, users can adjust this timeout setting through specific configuration options. However, within the ZHA (Zigbee Home Automation) integration of Home Assistant, there isn’t a direct, user-accessible setting to modify this timeout period for the Philips Hue motion sensor.​

Some community members have explored workarounds, such as creating custom quirks or using automation scripts to handle motion detection more dynamically. However, these methods can be complex and may not always yield the desired results.

It this true, meaning the behaviour cannot be changed in ZHA?

Thank you for any help in advance :blush:

I have ZHA experience with a few versions or types of Hue motion sensors. What I do is set up on my dashboard an entity card that monitors the Occupancy & Motion entities, or the Occupancy & Opening entities of the Device. That lets me know which movement detection entity reacts quickest.

For most of my motion detectors I have them set to monitor Occupancy. When grouping motion detectors, the Motion entity works as expected (FYI).