mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
77_SMAEM: contrib 4.2.0
git-svn-id: https://svn.fhem.de/fhem/trunk@21683 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ad39337dff
commit
621e04a500
@ -486,6 +486,7 @@ sub SMAEM_DoParse ($) {
|
||||
my $length;
|
||||
my ($b,$c,$d,$e); # OBIS Klassen
|
||||
|
||||
no warnings qw(overflow portable);
|
||||
while (substr($hex,$i,8) ne "00000000" && $i<=($dl*2)) {
|
||||
$b = hex(substr($hex,$i,2));
|
||||
$c = hex(substr($hex,$i+2,2));
|
||||
@ -501,6 +502,7 @@ sub SMAEM_DoParse ($) {
|
||||
$obis->{"1:".$c.".".$d.".".$e} = hex(substr($hex,$i+8,$length));
|
||||
$i = $i + 8 + $length;
|
||||
}
|
||||
use warnings;
|
||||
|
||||
Log3 ($name, 5, "SMAEM $name - OBIS metrics identified:");
|
||||
my @ui; # Array für "unknown items"
|
||||
|
Loading…
Reference in New Issue
Block a user