From 8b23b1a07261abbd9b9df85ba21512cbcd4af7a8 Mon Sep 17 00:00:00 2001 From: gemu2015 Date: Wed, 24 Feb 2021 10:09:33 +0100 Subject: [PATCH] better vbus dump --- tasmota/xsns_53_sml.ino | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tasmota/xsns_53_sml.ino b/tasmota/xsns_53_sml.ino index 3bd7ee2cf..ea050d862 100755 --- a/tasmota/xsns_53_sml.ino +++ b/tasmota/xsns_53_sml.ino @@ -912,6 +912,16 @@ void Dump2log(void) { #endif break; } + } else if (meter_desc_p[(dump2log&7)-1].type=='v') { + // vbus + c=SML_SREAD; + if (c==EBUS_SYNC) { + index = 0; + } + sprintf(&log_data[index],"%02x ",c); + if (index