From 73128acce393fb6cd45b291dd1276a494eee7a51 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 2 Apr 2021 17:17:18 +0200 Subject: [PATCH 1/2] always add teleinfo values in telemetry always add teleinfo values in telemetry, whatever rawdata is selected or not --- tasmota/xnrg_15_teleinfo.ino | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tasmota/xnrg_15_teleinfo.ino b/tasmota/xnrg_15_teleinfo.ino index 29e502cec..b1c9e485a 100755 --- a/tasmota/xnrg_15_teleinfo.ino +++ b/tasmota/xnrg_15_teleinfo.ino @@ -594,9 +594,7 @@ void TInfoShow(bool json) } // add teleinfo full frame only if no teleinfo raw data setup - if (!Settings.flag4.teleinfo_rawdata) { - ResponseAppendTInfo(','); - } + ResponseAppendTInfo(','); #ifdef USE_WEBSERVER From 14a48a4de8cb77bc93d0b16b16fa0e0d55eed397 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 2 Apr 2021 17:37:27 +0200 Subject: [PATCH 2/2] Updated comment --- tasmota/xnrg_15_teleinfo.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xnrg_15_teleinfo.ino b/tasmota/xnrg_15_teleinfo.ino index b1c9e485a..aa41e93ff 100755 --- a/tasmota/xnrg_15_teleinfo.ino +++ b/tasmota/xnrg_15_teleinfo.ino @@ -593,7 +593,7 @@ void TInfoShow(bool json) 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 ResponseAppendTInfo(',');