I have a question…
when the battery of a Zigbee Aqara sensor runs out of battery and stays for a day in addition to replacing the battery I have to re-pair it with ZHA.
Is this normal?
I thought it would be enough to just change the battery but it seems to just lose the association.
I don’t use zha but was replacing battery on one conntact sensor that was dead for a few months. As I replaced battery it reconnected it self to the network.
I know that without looking as it sends me message on my telegram account that is online.
But not all devices are built the same nor every integration work the same. Maybe it is zha problem maybe device problem. It is hard to tell.
It was immediately. When I changed battery it blinks and seconds after I got message on my phone that device is online.
But again it might be on device it self or zha.
As you don’t have many zigbee devices you can try zigbee2mqtt.
Set it up, pair device to it.
Pull out battery and leave it for few minutes to see that device is offline.
Plug in battery and see will it came back on line.
This is the only way you can test things out.
If your device has a pairing button, press it briefly after changing the battery. That should be enough to trigger a heartbeat message to indicate it’s back on the network.
Otherwise, wait for ZHA to poll the device, but be aware that by default that could take around 25 hours for battery devices.
Weird. I’d suggest you look in the blueprint exchange section in this forum. There’s at least a couple of blueprints which will alert you when your batteries are running low.
Hopefully they’ll prevent this happening again if you manage to replace your batteries before your devices drop off
It have some timeouts for battery devices on reporting status, without looking it up, but nothing as long as 25 hours.
Never the less if you change battery on device that is offline it should came back on line. Do you need to repair it or not it might be on the device it self but I’m not sure.
I replaced battery on some cheap 5 € tuya contact sensor and it came back on line instatly.