nymea / nymea-plugins-zigbee

ZigBee related integration plugins for nymea
GNU Lesser General Public License v3.0
0 stars 3 forks source link

Refresh battery level when a device reconnects #50

Closed mzanetti closed 1 year ago

mzanetti commented 1 year ago

We may miss attribute reports while a device is disconnected. This is especially visible when the battery is replaced. Often devices would not report the new battery level when they run out of battery and a new battery is inserted so things would stick on 0% until either nymea is restarted or the battery goes from 100% to 99%.