Open randellmatt opened 5 months ago
Hey, sorry there should have been a 0.2.7 release with a networking fix I made to the underlying airtouch2 library - but I forgot to come to github and hit the magic 'create new release' button. I've released a 0.2.8 version that also fixes this complaint about TURN_ON and TURN_OFF supported features. Close this issue if it fixes your problems :)
I have installed the latest version and giving it a test run. Looks better so far and will close this issue after 24 hours.
Thanks for all of your effort!
Looks like this did not fix the issue unfortunately.
I have a lot of these messages in the log now - however they don't seem to be relaited to the time that it stops responding. I'll reload and try again.
2024-04-29 09:41:38.771 WARNING (MainThread) [airtouch2.protocol.at2plus.control_status_common] Unknown message type in header (0x2b) File "/usr/local/lib/python3.12/site-packages/airtouch2/protocol/at2plus/control_status_common.py", line 74, in from_bytes 2024-04-29 09:41:38.771 WARNING (MainThread) [airtouch2.at2plus.At2PlusClient] Unknown status message type: subtype=0, data=2b:00:00:00:00:04:00:06:80:80:07:ff:81:81:07:ff:82:82:07:ff:83:83:07:ff:90:ff:02:bf:91:ff:07:ff
Can you add this to your configuration to enable debug logging, reboot HA and send me the logs after it stops responding please.
# Logging setup
logger:
default: warning
logs:
custom_components.airtouch2plus: debug
airtouch2.at2plus.At2PlusClient: debug
airtouch2.common.NetClient: debug
Will do. Sorry for the late response :)
Hi Nathan,
This is the results from the log around the time it stopped responding. Hopefully this helps:
2024-05-10 15:53:27.741 DEBUG (MainThread) [airtouch2.common.NetClient] Read payload of size 1: 55 2024-05-10 15:53:27.742 DEBUG (MainThread) [airtouch2.common.NetClient] Read payload of size 1: 55 2024-05-10 15:53:27.742 DEBUG (MainThread) [airtouch2.common.NetClient] Read payload of size 6: 9f:80:43:c0:00:20 2024-05-10 15:53:27.742 DEBUG (MainThread) [airtouch2.common.NetClient] Read payload of size 32: 2b:00:00:00:00:04:00:06:80:80:07:ff:81:81:07:ff:82:82:07:ff:83:83:07:ff:90:ff:02:d1:91:ff:07:ff 2024-05-10 15:53:27.742 DEBUG (MainThread) [airtouch2.common.NetClient] Read payload of size 2: ff:26 2024-05-10 15:53:27.742 WARNING (MainThread) [airtouch2.protocol.at2plus.control_status_common] Unknown message type in header (0x2b) Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/airtouch2/protocol/at2plus/control_status_common.py", line 74, in from_bytes subtype = ControlStatusSubType(subheader_bytes[0]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/enum.py", line 744, in call return cls.new(cls, value) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/enum.py", line 1158, in new raise ve_exc ValueError: 43 is not a valid ControlStatusSubType
(Posted previously in incorrect airtouch2 integration - moving to here)
No sure if others are getting this issue, but my AirTouch integration becomes unavailable almost daily and requires manual reload.
These are the logs from the latest unavailable event. I have version 0.2.6.
Logger: homeassistant.components.climate Source: components/climate/init.py:367 integration: Climate (documentation, issues) First occurred: April 17, 2024 at 7:57:04 PM (7 occurrences) Last logged: 7:13:47 AM
Entity None (<class 'custom_components.airtouch2plus.Airtouch2PlusClimateEntity.Airtouch2PlusClimateEntity'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/nathanvdh/homeassistant-airtouch2/issues Entity None (<class 'custom_components.airtouch2plus.Airtouch2PlusClimateEntity.Airtouch2PlusClimateEntity'>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/nathanvdh/homeassistant-airtouch2/issues Entity None (<class 'custom_components.airtouch2plus.Airtouch2PlusClimateEntity.Airtouch2PlusClimateEntity'>) implements HVACMode(s): off, heat_cool, heat, dry, fan_only, cool and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/nathanvdh/homeassistant-airtouch2/issues