mirror of https://github.com/arendst/Tasmota.git
TIC send as object in telemetry frame
This commit is contained in:
parent
681ae7941d
commit
125725caca
|
@ -912,8 +912,9 @@ void TInfoShow(bool json)
|
||||||
ResponseAppend_P(PSTR(",\"Load\":%d"),(int) ((Energy.current[0]*100.0f) / isousc));
|
ResponseAppend_P(PSTR(",\"Load\":%d"),(int) ((Energy.current[0]*100.0f) / isousc));
|
||||||
}
|
}
|
||||||
|
|
||||||
// add teleinfo full frame
|
// add teleinfo TIC object
|
||||||
ResponseAppendTInfo(',', true);
|
ResponseAppend_P(PSTR("},\"TIC\":{"));
|
||||||
|
ResponseAppendTInfo(' ', true);
|
||||||
|
|
||||||
#ifdef USE_WEBSERVER
|
#ifdef USE_WEBSERVER
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue