mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
76_SMAPortal: contrib 2.4.5
git-svn-id: https://svn.fhem.de/fhem/trunk@20044 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
94764eabd7
commit
f7ed2c605f
@ -442,10 +442,12 @@ sub DbLog_split($$) {
|
|||||||
}
|
}
|
||||||
if($event =~ m/Power|PV|FeedIn|SelfSupply|Temperature|Total|Energy|Hour:|Hour(\d\d):/) {
|
if($event =~ m/Power|PV|FeedIn|SelfSupply|Temperature|Total|Energy|Hour:|Hour(\d\d):/) {
|
||||||
$event =~ /^L(.*):\s(.*)\s(.*)/;
|
$event =~ /^L(.*):\s(.*)\s(.*)/;
|
||||||
|
if($1) {
|
||||||
$reading = "L".$1;
|
$reading = "L".$1;
|
||||||
$value = $2;
|
$value = $2;
|
||||||
$unit = $3;
|
$unit = $3;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if($event =~ m/Next04Hours-IsConsumption|RestOfDay-IsConsumption|Tomorrow-IsConsumption|Battery/) {
|
if($event =~ m/Next04Hours-IsConsumption|RestOfDay-IsConsumption|Tomorrow-IsConsumption|Battery/) {
|
||||||
$event =~ /^L(.*):\s(.*)\s(.*)/;
|
$event =~ /^L(.*):\s(.*)\s(.*)/;
|
||||||
if($1) {
|
if($1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user