FBDECT: Some more log
git-svn-id: https://svn.fhem.de/fhem/trunk@6386 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -131,6 +131,7 @@ FBDECT_Get($@)
|
||||
my $state = "inactive" if($answ[0] =~ m/ inactive,/);
|
||||
while($d) {
|
||||
my ($ptyp, $plen, $pyld) = FBDECT_decodePayload($d);
|
||||
Log3 $hash, 4, "Payload: $d -> $ptyp: $pyld";
|
||||
last if($ptyp eq "");
|
||||
if($ptyp eq "state" &&
|
||||
ReadingsVal($hash->{NAME}, $ptyp, "") ne $pyld) {
|
||||
@@ -172,6 +173,7 @@ FBDECT_Parse($$@)
|
||||
my $d = substr($msg, 32);
|
||||
while($d) {
|
||||
my ($ptyp, $plen, $pyld) = FBDECT_decodePayload($d);
|
||||
Log3 $hash, 4, "Payload: $d -> $ptyp: $pyld";
|
||||
last if($ptyp eq "");
|
||||
readingsBulkUpdate($hash, $ptyp, $pyld);
|
||||
$d = substr($d, 16+$plen*2);
|
||||
|
||||
Reference in New Issue
Block a user