2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

77_SMAEM: contrib 3.5.0

git-svn-id: https://svn.fhem.de/fhem/trunk@20737 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-12-13 21:46:08 +00:00
parent 2900d10935
commit a69abb4eb4

View File

@ -418,6 +418,7 @@ sub SMAEM_DoParse ($) {
# Extract datasets from hex:
# Generic:
my $susyid = hex(substr($hex,36,4));
# SerialNumber hex(substr($hex,40,8))
my $milliseconds = hex(substr($hex,48,8));
# Prestring with SMAEM and SERIALNO or not
@ -542,6 +543,7 @@ sub SMAEM_DoParse ($) {
push(@row_array, $ps."GridFreq ".$grid_freq."\n") if($grid_freq);
push(@row_array, $ps."FirmwareVersion ".$fwversion."\n") if($fwversion);
push(@row_array, "SerialNumber ".$smaserial."\n") if(!$ps);
push(@row_array, $ps."SUSyID ".$susyid."\n");
# L1
my $l1_bezug_wirk = hex(substr($hex,320+$offset,8))/10;