mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
77_SMAEM: Support for Softwareversion 2.07.5.R
git-svn-id: https://svn.fhem.de/fhem/trunk@25136 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1e2f1fc960
commit
2b7b1cfa87
@ -36,6 +36,7 @@ eval "use FHEM::Meta;1" or my $modMetaAbsent = 1;
|
||||
|
||||
# Versions History by DS_Starter
|
||||
our %SMAEM_vNotesIntern = (
|
||||
"4.3.1" => "28.10.2021 Support for Softwareversion 2.07.5.R",
|
||||
"4.3.0" => "06.12.2020 attribute serialNumber may contain multiple serial numbers, extend logging with serial number ",
|
||||
"4.2.0" => "14.04.2020 delete 'use bignum' ",
|
||||
"4.1.0" => "17.03.2020 add define option <interface> ",
|
||||
@ -380,6 +381,10 @@ sub SMAEM_Read {
|
||||
$socket->recv($data, 656);
|
||||
my $dl = length($data);
|
||||
|
||||
if(substr(unpack('H*', $data), 32, 4) ne "6069") {
|
||||
return;
|
||||
}
|
||||
|
||||
if($dl == 600) { # Each SMAEM packet is 600 bytes of packed payload
|
||||
$model = "EM / HM 2.0 < 2.03.4.R";
|
||||
}
|
||||
@ -1409,4 +1414,3 @@ return;
|
||||
=end :application/json;q=META.json
|
||||
|
||||
=cut
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user