mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
Logs changed
git-svn-id: https://svn.fhem.de/fhem/trunk@697 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
220929854e
commit
54ae4613cc
@ -76,9 +76,7 @@ RFXCOM_Initialize($)
|
||||
$hash->{GetFn} = "RFXCOM_Get";
|
||||
$hash->{SetFn} = "RFXCOM_Set";
|
||||
$hash->{StateFn} = "RFXCOM_SetState";
|
||||
$hash->{AttrList}= "do_not_notify:1,0 dummy:1,0 " .
|
||||
"showtime:1,0 " .
|
||||
"fhtsoftbuffer:1,0 sendpool";
|
||||
$hash->{AttrList}= "do_not_notify:1,0 loglevel:0,1,2,3,4,5,6";
|
||||
$hash->{ShutdownFn} = "RFXCOM_Shutdown";
|
||||
}
|
||||
|
||||
@ -258,7 +256,7 @@ RFXCOM_Read($)
|
||||
}
|
||||
|
||||
my $rfxcom_data = $hash->{PARTIAL};
|
||||
Log 5, "RFXCOM/RAW: $rfxcom_data/$mybuf";
|
||||
#Log 5, "RFXCOM/RAW: $rfxcom_data/$mybuf";
|
||||
$rfxcom_data .= $mybuf;
|
||||
|
||||
#my $hexline = unpack('H*', $rfxcom_data);
|
||||
@ -293,7 +291,7 @@ RFXCOM_Parse($$$$)
|
||||
my ($hash, $iohash, $name, $rmsg) = @_;
|
||||
|
||||
my $hexline = unpack('H*', $rmsg);
|
||||
#Log 1, "RFXCOM_Parse1 '$hexline'";
|
||||
Log 5, "RFXCOM_Parse1 '$hexline'";
|
||||
|
||||
my %addvals;
|
||||
# Parse only if message is different within 2 seconds (some Oregon sensors always sends the message twice
|
||||
|
Loading…
Reference in New Issue
Block a user