benzman81 / homebridge-nukiio

Nuki.io support for Homebridge: https://github.com/nfarina/homebridge
GNU General Public License v3.0
42 stars 6 forks source link

Battery Level - Nuki Opener #101

Open dan6003 opened 2 months ago

dan6003 commented 2 months ago

I've just added a new nuki opener with micro usb power connected. In HomeKit the accessory is working fine, but battery level is always 0%. As there is no battery in the opener, this might be right but with the permanent power attached I would need to change this t be not exposed to HomeKit or set to 100%.

Is there any configuration option I've missed or is it a bug?

Thanks, Daniel

benzman81 commented 2 months ago

No configuration available for this. The plugin uses the information from the bridge, so if the bridge returns 0% the it uses this value. Since I have no setup like this, I cannot test it. If you can contribute code that handles this issue via pull request I can have a look at it.