mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +00:00
00_ZWCUL.pm: fix decoding without dataRate
git-svn-id: https://svn.fhem.de/fhem/trunk@10150 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e1fa0f4f66
commit
3aa4369da4
@ -286,7 +286,8 @@ ZWCUL_Parse($$$$)
|
|||||||
|
|
||||||
$rmsg = lc($rmsg);
|
$rmsg = lc($rmsg);
|
||||||
my $me = $hash->{NAME};
|
my $me = $hash->{NAME};
|
||||||
my $s100 = (AttrVal($me, "dataRate", "100k") eq "100k");
|
my $s100 = (AttrVal($me, "dataRate", "40k") eq "100k");
|
||||||
|
|
||||||
|
|
||||||
my ($H, $S, $F, $f, $sn, $L, $T, $P, $C);
|
my ($H, $S, $F, $f, $sn, $L, $T, $P, $C);
|
||||||
if($s100 && $rmsg =~ '^z(........)(..)(..)(..)(..)(..)(..)(.*)(....)$') {
|
if($s100 && $rmsg =~ '^z(........)(..)(..)(..)(..)(..)(..)(.*)(....)$') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user