2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

Line by peterp

git-svn-id: https://svn.fhem.de/fhem/trunk@954 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-07-23 11:07:03 +00:00
parent 67a6f518bf
commit 2eb48b854f
2 changed files with 3 additions and 2 deletions

View File

@ -944,8 +944,8 @@ CUL_SimpleWrite(@)
#Log 1, "SW: $msg";
$msg .= "\n" unless($nonl);
$hash->{USBDev}->write($msg . "\n") if($hash->{USBDev});
syswrite($hash->{TCPDev}, $msg) if($hash->{TCPDev});
$hash->{USBDev}->write($msg) if($hash->{USBDev});
syswrite($hash->{TCPDev}, $msg) if($hash->{TCPDev});
select(undef, undef, undef, 0.001);
}

View File

@ -318,6 +318,7 @@ CUL_HM_Parse($$)
if($cmd =~ m/^.441/ && $p =~ m/^01(......)/) {
$state = $1;
push @event, "state:motion";
push @event, "motion:"; #added peterp
# A0D258410143DFABC82AD0601240E
}