I’d like to be able to post things like battery level and gps location to my openhab server. Potentially anything else the device can report like light level, proximity, temp etc…
The use case is switching off the charger that is connected to my tablet when the battery is 100% and then turning it back on when the battery is 20%