mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
47_OBIS: reverted last patch
git-svn-id: https://svn.fhem.de/fhem/trunk@18601 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dd9f04965e
commit
30b4e89f4e
@ -361,7 +361,7 @@ sub OBIS_trySMLdecode($$)
|
||||
$unit eq "01" ? "" :
|
||||
$unit eq "1D" ? "varh" :
|
||||
$unit eq "" ? "" : "var";
|
||||
$scaler=$scaler ne "" ? 10**unpack("l", pack("L", hex($scaler))) : 1;
|
||||
$scaler=$scaler ne "" ? (10**unpack("c", pack("C", hex($scaler)))) : 1;
|
||||
if ($scaler==0) {$scaler=1}; # just to make sure
|
||||
$line2.="<" if ($status=~/[aA]2$/);
|
||||
$line2.=">" if ($status=~/82$/);
|
||||
|
Loading…
Reference in New Issue
Block a user