Page 1 of 1

Battery level of device over JSON

Posted: Saturday 13 March 2021 19:16
by svd71
Hi,

The JSON is case sensitive for filed 'Battery'. For example send I the battery status:

Code: Select all

{"idx":8,"name":"IOT10241072","svalue":"21.0;50.7;0;986.5;0","nvalue":0,"battery":71}
and Domoticz ignored it. But worked perfect follows JCODE:

Code: Select all

{"idx":8,"name":"IOT10241072","svalue":"21.0;50.7;0;986.5;0","nvalue":0,"Battery":71}
It is a bug or feature?

PS: Domoticz V2020.2 on "Bionic".