mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Change order of window -temp- dur.
Change order of "windowtemp" and "windowdur" Add new fields iinto json description
This commit is contained in:
parent
5b83886065
commit
0e4219150f
@ -79,7 +79,12 @@ stat/EQ3/001A22092C9A = {
|
||||
"dst":"set",
|
||||
"window":"closed",
|
||||
"state":"unlocked",
|
||||
"battery":"GOOD"
|
||||
"battery":"GOOD",
|
||||
"windowtemp": 12.0,
|
||||
"windowdur": 15,
|
||||
"day": 21.0,
|
||||
"night": 17.0,
|
||||
"offset": 0.0
|
||||
}
|
||||
|
||||
holiday:
|
||||
@ -507,8 +512,8 @@ int EQ3ParseOp(BLE_ESP32::generic_sensor_t *op, bool success, int retries){
|
||||
);
|
||||
|
||||
if (statlen >= 15) {
|
||||
ResponseAppend_P(PSTR(",\"windowdur\":%d"), ((int)status[11])*5);
|
||||
ResponseAppend_P(PSTR(",\"windowtemp\":%2.1f"), ((float)status[10])/2);
|
||||
ResponseAppend_P(PSTR(",\"windowdur\":%d"), ((int)status[11])*5);
|
||||
ResponseAppend_P(PSTR(",\"day\":%2.1f"), ((float)status[12])/2);
|
||||
ResponseAppend_P(PSTR(",\"night\":%2.1f"), ((float)status[13])/2);
|
||||
ResponseAppend_P(PSTR(",\"offset\":%2.1f"), ((float)status[14]-7) /2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user