2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-06 12:18:46 +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:
rudolfkoenig 2015-12-10 21:28:52 +00:00
parent e1fa0f4f66
commit 3aa4369da4

View File

@ -286,7 +286,8 @@ ZWCUL_Parse($$$$)
$rmsg = lc($rmsg);
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);
if($s100 && $rmsg =~ '^z(........)(..)(..)(..)(..)(..)(..)(.*)(....)$') {