TheRealKillaruna / nano_pk

Home Assistant integration of Hargassner Nano-PK
Apache License 2.0
21 stars 17 forks source link

Hargassner #16

Closed DJChrisRey closed 10 months ago

DJChrisRey commented 11 months ago

Hello iam use a nano pk and my error is this : TypeError: float() argument must be a string or a real number, not 'NoneType' 2023-12-13 15:57:44.963 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.hargassner_energy_consumption fails

A zip file with the logs are in the zip DAQ.zip

i use the nano pk firmeware: SoftwareV14.0HAR.o2 Typ:Nano.2 25

TheRealKillaruna commented 10 months ago

Hi @DJChrisRey, I have added exception handling to the sensors so that this problem should be handled gracefully. Please try with the latest files and let me know if it still crashes.

DJChrisRey commented 10 months ago

Hello i add it with nano_pk: host: 192.168.178.22 msgformat: msgformat= devicename: HARGASSNER parameters: FULL language: DE

and here the log for you home-assistant.log

DJChrisRey commented 10 months ago

ok it works now i see some data ;) HARGASSNER Es Rein Endl wechselte zu False 11:21:21 - Jetzt HARGASSNER Es Rein Endl wechselte zu True spam in the log of Homeassist

TheRealKillaruna commented 10 months ago

OK great, just make sure you use the correct msgformat for your Hargassner firmware version, otherwise the data you see will not make sense.