2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +00:00

RSSI bug fixed

git-svn-id: https://svn.fhem.de/fhem/trunk@994 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-09-04 07:52:16 +00:00
parent 4303ca7a73
commit b6cb44b36e

View File

@ -270,9 +270,10 @@ TCM_Read($)
$mdata =~ m/^(..)(.*)(........)(..)$/;
my ($org, $d1, $id, $status) = ($1,$2,$3,$4);
$odata =~ m/^(..)(........)(..)(..)$/;
my %addvals = (SubTelNum => hex($1), DestinationID => $2,
RSSI => hex($3), SecurityLevel => hex($4),);
$hash->{RSSI} = $3;
$hash->{RSSI} = hex($3);
Dispatch($hash, "EnOcean:$org:$d1:$id:$status:$odata", \%addvals);