2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

76_SMAPortal: contrib 3.7.0

git-svn-id: https://svn.fhem.de/fhem/trunk@23195 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-11-20 20:34:44 +00:00
parent 01e6b1fe86
commit 33f6b7fef8

View File

@ -3310,8 +3310,8 @@ sub extractConsumerEnergySetting {
my $ad_content = encode("utf8", $data->decoded_content);
my ($gcval) = $ad_content =~ /var\sgridConsumptionValue\s=\s(.*?);/x // "undefined";
my ($pvval) = $ad_content =~ /var\spvValue\s=\s(.*?);/x // "undefined";
my $gcval = $ad_content =~ /var\sgridConsumptionValue\s=\s(.*?);/x // "undefined";
my $pvval = $ad_content =~ /var\spvValue\s=\s(.*?);/x // "undefined";
Log3 ($name, 1, "$name - CONTENT: $ad_content");
Log3 ($name, 1, "$name - 1. gcval: $gcval, pvval: $pvval ");