Line by peterp

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@954 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2011-07-23 11:07:03 +00:00
parent 390c5991f9
commit 0e8c3f8fe7
2 changed files with 3 additions and 2 deletions

View File

@@ -944,7 +944,7 @@ CUL_SimpleWrite(@)
#Log 1, "SW: $msg";
$msg .= "\n" unless($nonl);
$hash->{USBDev}->write($msg . "\n") if($hash->{USBDev});
$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
}