I can’t figure out what’s going on with my Hue Motion Sensor (Hue motion sensor (9290030675)
) - it is reporting most entities fine, but the most important one, the occupancy entity, stops reporting after a few hours:
I’ve tried removing the device from Z2M and re-pairing, I’ve taken the batteries out and back in to reset the device, I’ve restarted the entire HA machine to make sure all add-ons were freshly started, and I’ve removed and reinserted the Sonoff Zigbee dongle… I can eventually get the occupancy entity to show up (and work) properly…but after a few hours it becomes unavailable again. This all started happening about a month ago, but I can’t confirm if it was right after an upgrade of some sort or not (it took me several days to realize it wasn’t working properly).
I can confirm that the occupancy field in Z2M is reporting properly:
and I can also confirm I see it reporting in an MQTT viewer on my laptop:
I grabbed a diagnostic on the device in HA and the following part seems relevant, although I can’t tell if this is helpful or not:
"device": {
"id": "573f4a305fcfc5670fb4cf7215d6becd",
"name": "Garage Motion Sensor",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": [
{
"device_class": null,
"disabled_by": null,
"disabled": false,
"entity_category": null,
"entity_id": "binary_sensor.garage_motion_sensor_occupancy",
"icon": null,
"original_device_class": "motion",
"original_icon": null,
"state": {
"entity_id": "binary_sensor.garage_motion_sensor_occupancy",
"state": "unavailable",
"attributes": {
"restored": true,
"device_class": "motion",
"friendly_name": "Motion",
"supported_features": 0
},
"last_changed": "2023-10-24T19:11:19.179673+00:00",
"last_updated": "2023-10-24T19:11:19.179673+00:00"
},
"unit_of_measurement": null
},
Can anyone help point me in the right direction for why this might be happening? If there’s any other information or diagnostics that I can provide, please let me know.
Thanks in advance for your help!