marq24 / ha-waterkotte

HACS integration for Waterkotte Heatpumps that can communicate locally via HTTP [build since 2018] - Supporting 'Geothermal Energy' as well as 'Air Source External Devices'. If you have any questions please don't hesitate to create a Issue or start a new Discussion @ github. Thanks in advance for supporting my work.
MIT License
11 stars 1 forks source link

Waterkotte AlarmBits is unknown #11

Closed devfaz closed 4 months ago

devfaz commented 4 months ago

Checklist

Add a description

Since tonight my AlarmBits sensor is "unknown" and my log is getting filled with attached msg. Looks a bit like a var-type issue isnt it?

Add your DEBUG log output

2024-05-07 09:53:45.020 ERROR (MainThread) [custom_components.waterkotte_heatpump.pywaterkotte_ha] Exception int() argument must be a string, a bytes-like object or a real number, not 'NoneType' while read_values. EcoTag: WKHPTag.ALARM_BITS vals: ['0', None, None, None, None, None, None, None] states: ['S_OK', 'E_NOTFOUND', 'E_NOTFOUND', 'E_NOTFOUND', 'E_NOTFOUND', 'E_NOTFOUND', 'E_NOTFOUND', 'E_NOTFOUND'] -> int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2024-05-07 09:56:06.934 INFO (MainThread) [custom_components.waterkotte_heatpump.pywaterkotte_ha] going to request 26 tags in a single call from waterkotte@waterkotte
2024-05-07 09:56:06.952 DEBUG (MainThread) [custom_components.waterkotte_heatpump.pywaterkotte_ha] requested: http://waterkotte/cgi/readTags?n=26&t1=A24&t2=I7&t3=A27&t4=I2611&t5=A15&t6=A7&t7=D425&t8=A44&t9=A109&t10=I51&t11=A45&t12=A6&t13=I138&t14=A34&t15=A23&t16=I35&t17=I32&t18=A1462&t19=A3&t20=A5&t21=I2609&t22=I2612&t23=A12&t24=A38&t25=A11&t26=A479&_=1715068566934
2024-05-07 09:56:06.953 WARNING (MainThread) [custom_components.waterkotte_heatpump.pywaterkotte_ha] Tag: 'I2611' not found in response!
2024-05-07 09:56:06.953 WARNING (MainThread) [custom_components.waterkotte_heatpump.pywaterkotte_ha] Tag: 'I2609' not found in response!
2024-05-07 09:56:06.953 WARNING (MainThread) [custom_components.waterkotte_heatpump.pywaterkotte_ha] Tag: 'I2612' not found in response!
2024-05-07 09:56:06.953 ERROR (MainThread) [custom_components.waterkotte_heatpump.pywaterkotte_ha] Exception int() argument must be a string, a bytes-like object or a real number, not 'NoneType' while read_values. EcoTag: WKHPTag.ALARM_BITS vals: ['16384', None, None, None, None, None, None, None] states: ['S_OK', 'E_NOTFOUND', 'E_NOTFOUND', 'E_NOTFOUND', 'E_NOTFOUND', 'E_NOTFOUND', 'E_NOTFOUND', 'E_NOTFOUND'] -> int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
2024-05-07 09:56:06.953 INFO (MainThread) [custom_components.waterkotte_heatpump] number of entity values read: 63
2024-05-07 09:56:06.953 DEBUG (MainThread) [custom_components.waterkotte_heatpump] Finished fetching waterkotte_heatpump data in 0.040 seconds (success: True)
devfaz commented 4 months ago
=== I52 ===
#I52    S_OK
192 0
=== I2608 ===
#I2608  E_UNKNOWNTAG
=== I2609 ===
#I2609  E_UNKNOWNTAG
=== I2610 ===
#I2610  E_UNKNOWNTAG
=== I2611 ===
#I2611  E_UNKNOWNTAG
=== I2612 ===
#I2612  E_UNKNOWNTAG
=== I2613 ===
#I2613  E_UNKNOWNTAG
=== I2614 ===
#I2614  E_UNKNOWNTAG

thats the current output of the alarm-bits.

devfaz commented 4 months ago

Seems to happen since i updated the integration to the latest version (at least timestamps match)

marq24 commented 4 months ago

thanks for the details - I am working on a new fix (asap)

marq24 commented 4 months ago

thanks for your report - please close this issue, when this is fixed with the new release - TIA

devfaz commented 4 months ago

Thx works.