mirror of https://github.com/arendst/Tasmota.git
Merge pull request #11558 from hallard/teleinfo
always add teleinfo values in telemetry
This commit is contained in:
commit
1ab0a2f05c
|
@ -593,10 +593,8 @@ 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 only if no teleinfo raw data setup
|
// add teleinfo full frame
|
||||||
if (!Settings.flag4.teleinfo_rawdata) {
|
ResponseAppendTInfo(',');
|
||||||
ResponseAppendTInfo(',');
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_WEBSERVER
|
#ifdef USE_WEBSERVER
|
||||||
|
|
Loading…
Reference in New Issue