2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-15 04:20:56 +00:00

14_CUL_TX.pm: interpret first digit as hex (by Arno)

git-svn-id: https://svn.fhem.de/fhem/trunk@10140 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-12-09 15:58:41 +00:00
parent cfbe065305
commit 89073c5b35

View File

@ -84,7 +84,7 @@ CUL_TX_Parse($$)
Log3 $name, 4, "CUL_TX $name $id3 ($msg)";
my ($msgtype, $val);
my $valraw = ($a[5].$a[6].".".$a[7]);
my $valraw = (hex($a[5]).$a[6].".".$a[7]);
my $type = $a[2];
if($type eq "0") {
if($now - $def->{lastT} < $def->{minsecs} ) {