From a545ec67d50f50d91f243cac61ee81cd8b870653 Mon Sep 17 00:00:00 2001 From: gemu2015 Date: Fri, 22 Jan 2021 08:31:22 +0100 Subject: [PATCH 1/2] obis second () option --- tasmota/xsns_53_sml.ino | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/tasmota/xsns_53_sml.ino b/tasmota/xsns_53_sml.ino index 7792de29b..ab2a700d7 100755 --- a/tasmota/xsns_53_sml.ino +++ b/tasmota/xsns_53_sml.ino @@ -4,7 +4,7 @@ Created by Gerhard Mutz on 07.10.11. adapted for Tasmota - Copyright (C) 2021 Gerhard Mutz and Theo Arends + Copyright (C) 2020 Gerhard Mutz and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1539,16 +1539,16 @@ void SML_Decode(uint8_t index) { #ifdef ED300L g_mindex=mindex; #endif - if (*mp=='#') { + if (*mp == '#') { // get string value mp++; - if (meter_desc_p[mindex].type=='o') { - for (uint8_t p=0;p Date: Fri, 22 Jan 2021 08:33:42 +0100 Subject: [PATCH 2/2] Update xsns_53_sml.ino --- tasmota/xsns_53_sml.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xsns_53_sml.ino b/tasmota/xsns_53_sml.ino index ab2a700d7..581843d23 100755 --- a/tasmota/xsns_53_sml.ino +++ b/tasmota/xsns_53_sml.ino @@ -4,7 +4,7 @@ Created by Gerhard Mutz on 07.10.11. adapted for Tasmota - Copyright (C) 2020 Gerhard Mutz and Theo Arends + Copyright (C) 2021 Gerhard Mutz and Theo Arends This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by