mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
BYRON leven fix, PT2262 log fixed
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6225 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6dce474520
commit
fdc24ec743
@ -766,7 +766,7 @@ sub TRX_LIGHT_parse_X10 ($$)
|
|||||||
|
|
||||||
readingsBeginUpdate($def);
|
readingsBeginUpdate($def);
|
||||||
|
|
||||||
if ($type == 0x10 || $type == 0x11 || $type == 0x14) {
|
if ($type == 0x10 || $type == 0x11 || $type == 0x14 || $type == 0x16) {
|
||||||
# try to use it for all types:
|
# try to use it for all types:
|
||||||
$current = $command;
|
$current = $command;
|
||||||
if ($type == 0x11 && $command eq "level") {
|
if ($type == 0x11 && $command eq "level") {
|
||||||
@ -888,7 +888,7 @@ sub TRX_LIGHT_parse_PT2262 ($$)
|
|||||||
my $name = $def->{NAME};
|
my $name = $def->{NAME};
|
||||||
return "" if(IsIgnored($name));
|
return "" if(IsIgnored($name));
|
||||||
|
|
||||||
Log3 $name, 1, "TRX_LIGHT_parse_PT2262() $name devn=$device_name command=$command, cmd=$hexdata";
|
Log3 $name, 5, "TRX_LIGHT_parse_PT2262() $name devn=$device_name command=$command, cmd=$hexdata";
|
||||||
|
|
||||||
my $n = 0;
|
my $n = 0;
|
||||||
my $val = "";
|
my $val = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user