Add API call to get the remaining battery capacity in %
Features
see above
Reason
I want to charge the batterypack depending on the remaining battery capacity. (I use homematic to parse an api call) Start charging at 20%, stop charging at 100%.
As @bvelte already stated this sound like a feature we already have in our APIs.
Are you using the Bridge API or the Web API? Maybe I can help you finding the correct values or an issue which is unique on your side to solve this.
indeed i have the bridge. I checked the latest API doc 1.12 from this site and nowhere it mentions “batteryChargeState”. Please post an API Call so that i can use it for my nuki. Thank you.
After much guessing and digging i found it. So thanks Benjamin for pointing me in the right direction. But the fact remains, it’s an undocumented api variable.