FBDECT: Respect corrected values (Forum #27712)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6729 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-10-09 18:10:39 +00:00
parent cf950bd327
commit 77e560e56e

View File

@@ -27,7 +27,7 @@ my %fbdect_payload = (
21 => { n=>"energy", fmt=>'sprintf("%0.0f Wh",hex($pyld))' },
22 => { n=>"powerFactor", fmt=>'sprintf("%0.3f", hex($pyld))' },
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")' },
35 => { n=>"options", fmt=>'FBDECT_decodeOptions($pyld)' },
37 => { n=>"control", fmt=>'FBDECT_decodeControl($pyld)' },