Battery level reporting from Android
Posted: Friday 24 February 2017 17:06
Hi,
I read through several topics in the forum and found a simple solution to send battery information from Android to Domoticz. I use Automate on Android to get the data and create the json url. You can download the Flow from the Automate community Flow library. It is named: Battery level reporting tool for Domoticz. The battery level is sent over json like this: ../json.htm?type=command¶m=udevice&idx=92&svalue=55.1
In Domoticz I created a dummy percentage sensor. The ID of the sensor is set in the Automate flow as well as the url and the ssid of the wifi.
Peter
I read through several topics in the forum and found a simple solution to send battery information from Android to Domoticz. I use Automate on Android to get the data and create the json url. You can download the Flow from the Automate community Flow library. It is named: Battery level reporting tool for Domoticz. The battery level is sent over json like this: ../json.htm?type=command¶m=udevice&idx=92&svalue=55.1
In Domoticz I created a dummy percentage sensor. The ID of the sensor is set in the Automate flow as well as the url and the ssid of the wifi.
Peter