Binding does not support low battery
Opened this issue · 2 comments
"activeFaults": [
{
"faultType": "TempZoneSensorCommunicationLost",
"since": "2017-12-01T14:23:43"
},
{
"faultType": "TempZoneActuatorCommunicationLost",
"since": "2017-12-01T14:23:43"
}
],
and
"activeFaults": [
{
"faultType": "TempZoneSensorLowBattery",
"since": "2017-12-05T15:42:59"
},
{
"faultType": "TempZoneActuatorLowBattery",
"since": "2017-12-05T15:42:59"
}
],
I don't know how to expose it, but i did something simulair in PHP, where you just check if "activeFaults" is a empty array or not, and if not, what is in the array and show that.
And then maybe based on the values show a appropriate string?
I don't know if they are linked, but seeing it like this, i think they are, so first 2 are for communication lost (that one is still present, even though communication has been restored) and second one is for low battery.
Interestingly I currently have a battery fault and mine doesn't show up in the JSON when making requests using python (I've not had time to try the binding).
all my active faults are empty:
'activeFaults': []
Am I the only one?