Djelibeybi / homebridge-button-platform

A Homebridge platform plugin to create virtual buttons that respond to HTTP requests from things like Flic buttons or an Elgato Stream Deck.
https://omg.dje.li/homebridge-button-platform/
Apache License 2.0
57 stars 3 forks source link

Eve App Shows Low Battery Warnings for Non-Flic Buttons #88

Closed nano9g closed 2 years ago

nano9g commented 2 years ago

It appears that the default state for all buttons is 0% battery. While this doesn't cause any warnings in Apple's Home app, the Eve app takes it upon itself to display warnings that the battery is low.

It would be nice to have the option to disable the battery service for buttons that will never be used with Flic. (Looking through the source I see I could pass a 'button-battery-level' header as part of the HTTP request, but I'd like to just remove the battery information completely.)

Eve Low Battery

Djelibeybi commented 2 years ago

Huh, it's not supposed to add a battery level unless it gets one from the Flic. I'll take a look and get it fixed. When did it start happening?

Djelibeybi commented 2 years ago

Should be fixed in 1.5.1. Batteries are now explicity set to 100% when Homebridge starts.

nano9g commented 2 years ago

That fixed it, thank you!

Djelibeybi commented 2 years ago

You're welcome, thanks for the report.