mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
76_SMAPortal: contrib 2.4.5
git-svn-id: https://svn.fhem.de/fhem/trunk@20045 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f7ed2c605f
commit
c1b75209aa
@ -1501,6 +1501,7 @@ sub extractConsumerLiveData($$) {
|
||||
$consumers{"${i}_ConsumerLfd"} = $i;
|
||||
my $cpower = $c->{'Consume'}{'Measurement'}; # aktueller Energieverbrauch in W
|
||||
my $cn = $consumers{"${i}_ConsumerName"}; # Verbrauchername
|
||||
next if(!$cn);
|
||||
$cn = replaceJunkSigns($cn);
|
||||
|
||||
$hash->{HELPER}{CONSUMER}{$i}{DeviceName} = $cn;
|
||||
@ -1525,6 +1526,7 @@ sub extractConsumerLiveData($$) {
|
||||
my $OperationAutoEna = $c->{'Parameters'}[2]{'Value'}; # Automatic Betrieb erlaubt ?
|
||||
my $ltchange = TimeAdjust($hash,$c->{'Parameters'}[0]{'Timestamp'}{'DateTime'},$tkind); # letzter Schaltzeitpunkt der Bluetooth-Steckdose (Verbraucher)
|
||||
my $cn = $consumers{"${i}_ConsumerName"}; # Verbrauchername
|
||||
next if(!$cn);
|
||||
$cn = replaceJunkSigns($cn); # evtl. Umlaute/Leerzeichen im Verbrauchernamen ersetzen
|
||||
|
||||
if(!$GriSwStt && $GriSwAuto) {
|
||||
@ -1579,6 +1581,7 @@ sub extractConsumerHistData($$$) {
|
||||
$consumers{"${i}_ConsumerLfd"} = $i;
|
||||
my $cpower = $c->{'TotalEnergy'}{'Measurement'}; # Energieverbrauch im Timeframe in Wh
|
||||
my $cn = $consumers{"${i}_ConsumerName"}; # Verbrauchername
|
||||
next if(!$cn);
|
||||
$cn = replaceJunkSigns($cn);
|
||||
|
||||
if($tf =~ /month|year/) {
|
||||
|
Loading…
Reference in New Issue
Block a user