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:
telekatz 2016-10-05 18:32:36 +00:00
parent 48cc871137
commit cbff87f7ed

View File

@ -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++) {