YinHangCode / homebridge-mi-aqara

a homebridge plugin for XiaoMi Aqara plugin.
1.08k stars 154 forks source link

Low battery no working? #270

Open maisun opened 5 years ago

maisun commented 5 years ago

Hi, Looks like some of my accessories (temperature sensor and motion sensors) are now running low battery <5%, but in Home app I don't see any low battery warning. I know based on Homebridge API that it's possible to set low battery level: batteryService.getCharacteristic(Characteristic.StatusLowBattery).on('get', that.getBatteryLow.bind(that)); Basically the method getBatteryLow returns true of false depending on if the battery is below certain percentage (suggest 10% for the sensors). Can I request to add this as a new feature? Thank you!

lboue commented 4 years ago

Same issue for me.