fritzbox_smarthome_exporter
fritzbox_smarthome_exporter copied to clipboard
Unable to parse humidity data
I added a Fritz 440 to my setup, since then I get the following message in the logs:
Unable to parse humidity data of "Switch" : strconv.ParseFloat: parsing "": invalid syntax
Looks like there is no humidity value in the data:
<device identifier="13979 0048750" id="24" functionbitmask="1048864" fwversion="05.25" manufacturer="AVM" productname="FRITZ!DECT 440"> <present>1</present> <name>Switch</name> <battery>100</battery> <batterylow>0</batterylow> <temperature> <celsius>205</celsius> <offset>0</offset> </temperature> <button identifier="13979 0048750-1" id="5000"> <name>Wohnzimmer - Switch: Oben rechts</name> <lastpressedtimestamp></lastpressedtimestamp> </button> <button identifier="13979 0048750-3" id="5001"> <name>Wohnzimmer - Switch: Unten rechts</name> <lastpressedtimestamp>1662042122</lastpressedtimestamp> </button> <button identifier="13979 0048750-5" id="5002"> <name>Wohnzimmer - Switch: Unten links</name> <lastpressedtimestamp>1662042064</lastpressedtimestamp> </button> <button identifier="13979 0048750-7" id="5003"> <name>Wohnzimmer - Switch: Oben links</name> <lastpressedtimestamp>1662039656</lastpressedtimestamp> </button> </device>
It's a pretty old Fritz 7362. Using latest docker image of the exporter and all firmware is up-to-date.
That's odd. Maybe this is related to the Fritzbox Model indeed. Would you mind sharing the firmware version you are running? Are you able to see the humidity sensor data in the Fritzbox UI?
I would guess that too. The 7362 is pretty old and running Fritz!OS 07.13 without any updates available.
I also checked the UI: There's just a temperature tab but no sign of humidity.