mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 19:32:42 +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:
parent
4303ca7a73
commit
b6cb44b36e
@ -270,9 +270,10 @@ TCM_Read($)
|
|||||||
$mdata =~ m/^(..)(.*)(........)(..)$/;
|
$mdata =~ m/^(..)(.*)(........)(..)$/;
|
||||||
my ($org, $d1, $id, $status) = ($1,$2,$3,$4);
|
my ($org, $d1, $id, $status) = ($1,$2,$3,$4);
|
||||||
|
|
||||||
|
$odata =~ m/^(..)(........)(..)(..)$/;
|
||||||
my %addvals = (SubTelNum => hex($1), DestinationID => $2,
|
my %addvals = (SubTelNum => hex($1), DestinationID => $2,
|
||||||
RSSI => hex($3), SecurityLevel => hex($4),);
|
RSSI => hex($3), SecurityLevel => hex($4),);
|
||||||
$hash->{RSSI} = $3;
|
$hash->{RSSI} = hex($3);
|
||||||
|
|
||||||
Dispatch($hash, "EnOcean:$org:$d1:$id:$status:$odata", \%addvals);
|
Dispatch($hash, "EnOcean:$org:$d1:$id:$status:$odata", \%addvals);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user