mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 16:05:19 +00:00
76_SMAInverter.pm:sorry bug, Fixed
git-svn-id: https://svn.fhem.de/fhem/trunk@26516 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9cfa492d33
commit
0c2e67449e
@ -1358,6 +1358,7 @@ sub SMAInverter_SMAcommand($$$$$) {
|
||||
$inv_SPOT_ETOTAL = "-";
|
||||
}
|
||||
|
||||
$inv_SPOT_ETODAY = "-";
|
||||
if (length($data) >= 82) {
|
||||
$inv_SPOT_ETODAY = unpack("V*", substr ($data, 78, 4));
|
||||
|
||||
@ -1398,6 +1399,7 @@ sub SMAInverter_SMAcommand($$$$$) {
|
||||
$inv_BAT_LOADTOTAL = "-";
|
||||
}
|
||||
|
||||
$inv_BAT_LOADTODAY = "-";
|
||||
if (length($data) >= 82) {
|
||||
$inv_BAT_LOADTODAY = unpack("V*", substr ($data, 78, 4));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user