mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
30_DUOFERN: fix RolloTron events
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12277 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
48cc871137
commit
cbff87f7ed
@ -1217,6 +1217,8 @@ DUOFERN_Parse($$)
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $chan = substr($msg, $sensorMsg{$id}{chan}*2 + 2 , 2);
|
my $chan = substr($msg, $sensorMsg{$id}{chan}*2 + 2 , 2);
|
||||||
|
$chan = "01" if ($code =~ m/^(61|70|71)..../);
|
||||||
|
|
||||||
my @chans;
|
my @chans;
|
||||||
if ($sensorMsg{$id}{chan} == 5) {
|
if ($sensorMsg{$id}{chan} == 5) {
|
||||||
for(my $x=0; $x<5; $x++) {
|
for(my $x=0; $x<5; $x++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user