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

FBDECT: Respect corrected values (Forum #27712)

git-svn-id: https://svn.fhem.de/fhem/trunk@6729 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-10-09 18:10:39 +00:00
parent b591544b8c
commit 3e0ab87c4e

View File

@ -27,7 +27,7 @@ my %fbdect_payload = (
21 => { n=>"energy", fmt=>'sprintf("%0.0f Wh",hex($pyld))' }, 21 => { n=>"energy", fmt=>'sprintf("%0.0f Wh",hex($pyld))' },
22 => { n=>"powerFactor", fmt=>'sprintf("%0.3f", hex($pyld))' }, 22 => { n=>"powerFactor", fmt=>'sprintf("%0.3f", hex($pyld))' },
23 => { n=>"temperature", fmt=>'sprintf("%0.1f C (%s)",'. 23 => { n=>"temperature", fmt=>'sprintf("%0.1f C (%s)",'.
'hex(substr($pyld,0,8))/10,'. 'hex(substr($pyld,6,2))/10,'.
'(hex(substr($pyld,8,8))+0)?"corrected":"measured")' }, '(hex(substr($pyld,8,8))+0)?"corrected":"measured")' },
35 => { n=>"options", fmt=>'FBDECT_decodeOptions($pyld)' }, 35 => { n=>"options", fmt=>'FBDECT_decodeOptions($pyld)' },
37 => { n=>"control", fmt=>'FBDECT_decodeControl($pyld)' }, 37 => { n=>"control", fmt=>'FBDECT_decodeControl($pyld)' },