mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 02:36:35 +00:00
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…
x
Reference in New Issue
Block a user