2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-24 02:59:22 +00:00

10_FBDECT.pm: add values AHA reports in newer Fritz!Box Firmwares

git-svn-id: https://svn.fhem.de/fhem/trunk@17910 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-12-07 10:16:02 +00:00
parent 6163fb7743
commit bf27fd55d8

View File

@ -231,11 +231,18 @@ my %fbhttp_readings = (
present => '"present:".($val?"yes":"no")', present => '"present:".($val?"yes":"no")',
productname => '"FBTYPE:$val"', productname => '"FBTYPE:$val"',
state => '"state:".($val?"on":"off")', state => '"state:".($val?"on":"off")',
voltage => 'sprintf("voltage:%.3f V", $val/1000)',
# tist => 'sprintf("temperature:%.1f C (measured)", $val/2)', # Forum #57644 # tist => 'sprintf("temperature:%.1f C (measured)", $val/2)', # Forum #57644
tsoll => 'sprintf("desired-temp:%s", $val)', tsoll => 'sprintf("desired-temp:%s", $val)',
members => '"members:$val"', members => '"members:$val"',
devicelock => '"devicelock:".($val ? "yes":"no")', devicelock => '"devicelock:".($val ? "yes":"no")',
errorcode => '"errorcode:".($ecTxt{$val} ? $ecTxt{$val} : ">$val<")', errorcode => '"errorcode:".($ecTxt{$val} ? $ecTxt{$val} : ">$val<")',
windowopenactiv => '"windowopenactiv:".($val ? "yes":"no")',
battery => 'sprintf("battery:%s %%", $val)',
endperiod => 'sprintf("nextPeriodStart:%s", FmtDateTime($val))',
tchange => 'sprintf("nextPeriodTemp:%0.1f C", $val/2)',
summeractive => '"summeractive:".($val ? "yes":"no")',
holidayactive => '"holidayactive:".($val ? "yes":"no")',
); );
sub sub