fritzbox_smarthome_exporter icon indicating copy to clipboard operation
fritzbox_smarthome_exporter copied to clipboard

Unable to parse humidity data

Open bunix42 opened this issue 3 years ago • 2 comments

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.

bunix42 avatar Sep 22 '22 18:09 bunix42

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?

jayme-github avatar Oct 10 '22 11:10 jayme-github

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.

bunix42 avatar Oct 10 '22 12:10 bunix42