mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 07:24:21 +00:00
CUL_HM: powerOn detection rework
git-svn-id: https://svn.fhem.de/fhem/trunk@9169 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
132d2b09ad
commit
e736075f74
@ -3057,9 +3057,9 @@ sub CUL_HM_parseCommon(@){#####################################################
|
||||
$ret = "STATresp";
|
||||
}
|
||||
else{
|
||||
if ($mhp->{chn} eq "00"
|
||||
if ($mhp->{chn} == 0
|
||||
|| ( $mhp->{mNo} eq "00"
|
||||
&& $mhp->{chn} eq "01"
|
||||
&& $mhp->{chn} == 1
|
||||
&& $mhp->{devH}{helper}{HM_CMDNR} < 250)){# this is power on
|
||||
CUL_HM_qStateUpdatIfEnab($mhp->{devN});
|
||||
CUL_HM_qAutoRead($mhp->{devN},2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user