I tend to just set the cooling / heating to maximum, and control the on / off through node-red.
I am not yet using the integration (new build coming next year with airtouch) but I do something similar for my current aircon (Intesisbox on a daikin ducted) using an iotawatt power monitor on the aircon circuit. There are distinct power and pf (power factor) for the running state of the internal and external units.
From that I can tell if the inverter is running, the fan speeds etc.
Is anyone else getting a lot of connection errors? When they happen it doesnāt retry, so for example this morning the heat didnāt turn on. In some of my automations I repeat commands twice to increase the changes they work.
Iāve had 36 of these in the past three days.
home-assistant.log:2022-09-13 05:02:00.145 ERROR (MainThread) [custom_components.polyaire.airtouch4] Connection error in receiver!
home-assistant.log:2022-09-13 09:01:09.972 ERROR (MainThread) [custom_components.polyaire.airtouch4] Connection error in receiver!
home-assistant.log:2022-09-13 14:30:00.081 ERROR (MainThread) [custom_components.polyaire.airtouch4] Connection error in receiver!
home-assistant.log:2022-09-13 16:58:00.047 ERROR (MainThread) [custom_components.polyaire.airtouch4] Connection error in receiver!
grep "Connection error in receiver" home-assistant.log | wc -l
36
New here, New to HA & this Push integration. FWIW I donāt see any āConnection error in receiverā in my HA log. But I also donāt have any automatons yet.
I do have a question on āturboā, Can I turn it on from HA? I have figured out how to turn it off (service call on ITC service climate.set_hvac_mode set to auto) but I am stumped on the how to turn it back on bit. Any ideas?
The error happens for me when I use a dashboard to change modes / temperatures and during automations. I might have to look at the code and see if I can work out some retry functionality rather than throwing errors. My python skills are somewhat basic, but Iāve been writing computer code for 30+ years so I can probably manage
I can confirm seeing quite a few "Connection error in receiver"
errors. I recently restarted HA so I canāt tell if there are certain automations/ triggers that cause the error to pop up.
Donāt suppose anyone knows when the AirTouch4 firmware update Marian mentioned might be coming?
Iāve got the latest firmware installed since past couple of days on request to support as the app would crash every other day.
The app does not seem to crash anymore but the error āConnection error in receiverā still persists. I have noticed the WIFI connectivity would actually drop on the tablet constantly until woken up so now I am testing having the display always on.
What I am noticing now (with display always on) it actually updates real time any change on the tablet and it is snappier.
Hope this is it.
Hereās the stack trace Iām seeing. āConnection Reset by Peerā seems to be the root cause of the problem. Itās on this line of code below.
while self.connected:
try:
while msg := await self._read_msg(): # This one
I think that the Airtouch has a long lived connection to HA. My best guess, given this happens on multiple installations, is that the Airtouch has some kind of a bug that cuts the network connection off. This usually happens for me when automation or the app sends a command to the Airtouch.
I understand the general idea of asynchronous communications but my Python is somewhat rusty. When I get time I am considering forcing a reconnect at some point - perhaps if the connection has been idle for a while, or maybe even before every command, though that would be inefficient. If anyone has good Python knowledge Iād be interested in thoughts.
2022-09-24 13:15:44.440 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/custom_components/polyaire/airtouch4.py", line 144, in _receive
while msg := await self._read_msg():
File "/home/homeassistant/.homeassistant/custom_components/polyaire/airtouch4.py", line 105, in _read_msg
header = await self._reader.readexactly(6)
File "/usr/lib/python3.9/asyncio/streams.py", line 723, in readexactly
await self._wait_for_data('readexactly')
File "/usr/lib/python3.9/asyncio/streams.py", line 517, in _wait_for_data
await self._waiter
File "/usr/lib/python3.9/asyncio/selector_events.py", line 856, in _read_ready__data_received
data = self._sock.recv(self.max_size)
ConnectionResetError: [Errno 104] Connection reset by peer
I have PTRG pinging from my PC to my Airtouch regularly, itās been running for a few months now. Iām seeing a small amount of packet loss - not much, maybe 0.5% at most. The packet loss to other WiFi devices on the network is negligible - itās not quite zero but itās pretty close. That suggests the problem is the Airtouch, not the Wireless network. I emailed Polyaire about this, but I didnāt get a reply, which is about usual for them.
Just an update,
14 hrs later Airtouch4 is is still connected to HA.
It would previously disconnect every few hours and I had to reload the integration.
@mihailescu2m With the latest HA updates itās losing the connection to AirTouch 4 every 15 minutes like clockwork.
Is anyone else seeing this? Anything I can do?
Thanks.
@spry-salt Iām not seeing it happening regularly like that. I see it happen when automations run or I use the HA app.
Iām using Airtouch App v1.3.3, Main Module 1.1.0.0, Hardware 1.0.0.0, HA 2022.9.5.
2022-09-24 13:15:44.438 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
2022-09-25 08:00:00.084 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
2022-09-26 05:02:00.170 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
2022-09-26 08:00:05.039 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
2022-09-26 14:30:00.103 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
2022-09-26 16:00:00.088 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
2022-09-26 16:29:12.777 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
2022-09-26 16:39:09.926 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
2022-09-26 16:58:00.077 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
2022-09-26 17:19:38.713 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
2022-09-27 05:02:00.123 ERROR (MainThread) [custom_components.polyaire.airtouch4] [Errno 104] Connection reset by peer
Iām running OS 8.5 with HA 2022.9.6 on Raspberry Pi 3 and Iām not seeing any disconnects in my log. My ACs run pretty well 24/7 (often just the internal unit) as I work from home. I had previously seen ITC temps failing to update when the system was off though but not sure if thatās the same issue youāre seeing.
Try setting the display to not turn off. I had the same thing, no disconnects now in the past couple of days.
Thanks everyone. It might have been an interaction with another addon, Iām gradually eliminating them.
@mcvicthor is there any chance you could send me the beta firmware you have? If anything the disconnects seem to be getting worse. I have HA send me an email every time thereās an error in the log, and Iām getting about 8 - 15 disconnects a day. When this happens it doesnāt execute the command that itās meant to.
Has anyone tried the built in Airtouch4 integration? Does it give you similar control of dampers?
@tomwaldnz It was an over the air push. I actually just got a new version pushed today, check the panel for a new version.
No update for me Whatās your console version?
I have Airtouch App v1.3.3, Main Module 1.1.0.0, Hardware 1.0.0.0, HA 2022.9.5.
Mineās Console 1.3.3, Main Module 2.1.0.2.
No update available when I checked just now.
I got 1.4.1 / 2.1.0.2.
I guess itās worth calling support to have them push the new update.