Telemetry
Telemetry is used to obtain the current state of device.
To get telemetry, send command {"cmd": 4}, for example, the answer for AX thermostat with firmware version 2.3 will be:
{
"sn":"058016000543464839373520000159",
"t.0":"450","t.1":"416","t.5":"480",
"m.0":"0","m.1":"3","m.2":"34","m.3":"2",
"f.0":"1","f.1":"0","f.2":"0","f.3":"0",
"f.4":"0","f.7":"0","f.8":"0","f.9":"0",
"f.13":"0","f.14":"0","f.10":"0","f.11":"1",
"f.12":"0","o.0":"-83","o.1":"6","f.15":"0",
"par.26":"45","par.27":"5"
}
sn - device serial number
x.n is the parameter key, where x is a group of parameters, n is the number in the group
- Parameter groups:
t- temperature is 1/16 °C0- internal overheating sensor1- floor2- air3- reserved4- reserved5- current setting6- reserved7- microcontroller temperature
m- modes0- control type: floor = 0, air = 1, extended = 21- control type: schedule = 0, manual = 3, away = 4, temporary = 52- the number of the current period of the schedule (the first period of Monday = 0, Tuesday = maxSchedulePeriod …)3- blocking type: no blocking = 0, blocking changes from the cloud = 1, blocking changes from the local network = 2, both = 34- reserved5- heating mode (0 - heating, 1 - cooling)
o- other parameters0- Wi-Fi signal strength in dBm1- the reason for the last reboot. Depending on the hardware version of the platform, there can be two types of values: First - mask: power off = 0x04, soft reset = 0x08, watchdog timer = 0x10, low voltage = 0x40. Second: 9 - software reboot due to low MK supply voltage; 3 - software reboot; 1 - power reset.
par- duplication of some device parametersn- parameter number
te- extra temperaturesf- bit parameters0- load status1- reserved2- floor restriction action3- no floor sensor4- short circuit floor sensor5- no air sensor6- short circuit air sensor7- preheat algorithm is active8- an open window function is active9- internal overheating10- reserved11- problems with the clock12- no overheat control13- proportional mode is active14- digital floor sensor is used15- reserved16- power off state17- reserved18- reserved19- reserved20- reserved21- problems with the zero crossing sensor