Hey folks, just wondering if there's a means by which battery charging status can be kept up to date in HomeKit? Taking my Test Plug as an example, it has an internal battery, and it reports as charging in Hubitat. However, this "charging" status never makes it to HomeKit, where it always reports "Charging: No".
I could add something to the driver, if I knew what I should be adding!
Original AlertMe SPG100. The platform was designed with security applications in mind, so only the smart plugs were repeaters, and all smart plugs contained batteries to maintain the mesh in the event of a power failure. Everything else was a battery powered end-point or the Hub itself, which was also battery-backed and contained a SIM card. Very cool, imho.
Thank you for the history lesson. Sounds like it was a well-designed solution for its time. Unfortunately, such an old niche smart plug is probably not going to get a ton of support these days - but I wish you the best of luck! Again, thanks for sharing! Always great to learn something new!
One thing you could try is to set up HomeBridge running on an always on system, like a Raspberry Pi or similar. It would be interesting to know if HomeBridge as the middleman properly supports the 'charging' status of these battery-backed-up smart outlets. There are two community developed HomeBridge Plug-Ins for Hubitat. One simply uses the Hubitat built-in Maker API app, while the other uses a custom Hubitat App.
These solutions are Open Source. If necessary, you'd have more flexibility in making changes yourself to try to get things working the way you desire.
There's just nothing in the Hubitat developer docs which specifies what, or if, an attribute will be converted over to HomeKit's nomenclature for charging state. If anything out there does this successfully then I can just replicate it in the driver, but I haven't found anything yet.
Tagging @bertabcd1234 and @gopher.ny. If it is simply a documentation issue, @bertabcd1234 can assist. However, if it is something that needs a change to Hubitat's HomeKit Bridge integration, @gopher.ny will probably need to take a look.