-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Push subscription seems to expire after a quantity of hrs #2
Comments
@t1mb0 you might spot some of these errors in your logs, if I am reading the code correctly
|
Rarely see any AT4 errors to be honest, it fails silently - my wifi is rock solid, and it seems to only happen when the system is off (may be a red herring). I have to have an automation setup to change temp or make an adjustment every few mins. Bit of a pain! I'm unsure how the push mechanism keeps track of an option connection.... |
I see something similar. I have a NodeRed automation that toggles a rarely used zone on and off every 15 mins. Doing that seems to keep the connection ‘alive’ and triggers updated temperature readings from the ITCs. |
I will look into why this happens. The connection should not be idle, since the tablet periodically sends a status update command, so HASS should update automatically when the tablet itself updates its values. |
I am seeing the same issue when no zone is running or the system is OFF. |
@mihailescu2m eg I just tried to switch a zone on and nothing happened on the first tap except ‘Connection error in receiver!’ Log entry. Edit: After months of trying to work out the cause I think it might be that the AirTouch tablet kept switching between nodes on the router mesh. Every time it switched HA lost the connection. I’ve locked it to its own wifi network on the main router now. Fingers crossed. |
Very curious to hear if that works. I have always suspected there is a gap in the connection dead detection/retry logic This integration never lasts more than a day for me. I use the other Airtouch4 one in parallel which always stays connected. I tried diving into the by code but ran out of time |
Some evidence... if I interrupt the wifi network (eg to change a setting) even though the AT tablet reconnects when the network is back up the integration doesn't reconnect to the AT tablet and it gives the error message when you next try to change any setting on the AT from HA. Edit: Same if I reboot the AT tablet. HA gives usual error message if you then try to change a zone, for example, but reloading the integration causes it to find the tablet again. |
I seem to be getting the same problem: This error originated from a custom integration. Logger: custom_components.polyaire.airtouch4 Connection error in receiver! |
@mihailescu2m |
Could probably check if that's the cause by implementing an automation that triggers every 5 seconds and just bumps the setpoint in one room up and down by one degree (if you have a room which rarely has aircon switched on) - just to narrow down if that's the real cause. I suspect it's not the root cause as the post says that the change was made in October 2023, and we've been having these issues since well before then |
I've set that up now, starting with every 15 minutes. |
Dropped it back to every 5 minutes as it was still a bit unreliable at 15 and 10 minute intervals, although I haven't yet ruled out some other variables. There's some interesting information in this forum discussing AirTouch 5. It's relevant to me because the supplier replaced the original AirTouch 4 tablet with an AirTouch 5 one so I thought it might be useful to others: |
OK even at 5 minute intervals it frequently drops the connection and gives "Connection error in receiver!" So that's 90 times in the last 19 hours. I give up. |
I haven't been able to calculate the exact duration, but if no command is sent from HA to AT4 and everything is idle, after 10-24hrs I stop receiving ITC temperature updates.
As soon as I touch/adjust any parameter in HA, everything comes back to life again for another 10 or so hours.
I've yet to check if during a time HA is not receiving updates, if I make a change within AT4 things come back to life again.
Maybe we need a 6-hourly poll just to ensure things stay active?
[edit]
If the master 'AC' is turned on/off in HA, this does not trigger an update to the ITC states.
A change to a zone is required for updates to start flowing in again.
The text was updated successfully, but these errors were encountered: