home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.81k stars 30.51k forks source link

Connect call failed #128209

Open RoyalFTH opened 2 weeks ago

RoyalFTH commented 2 weeks ago

The problem

Connect call failed. On all AC units. While still online in other apps. HA cannnot connect to AC’s Reboot HA several times. Checked to see if AC units still have internet and cloud connection. After a powercycle with the AC system they were back online in HomeAssistant, but after a day, two are offline again and only one is still online.

I did make automations for temperature control with an external thermostat last week, but it has not been used yet. Other thing I could think of. If one of the units (connected to a multisplit) has a conflicting mode heat or cool, it will not let HA connect. See additional info, this seems not to be the case.

AC type: Daikin Stylish. FTXA

What version of Home Assistant Core has the issue?

2024.10.1 + 2024.10.2

What was the last working version of Home Assistant Core?

2024.10 (noticed the problem yesterday on friday 11 oct.)

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Daikin AC

Link to integration documentation on our website

https://www.home-assistant.io/integrations/daikin

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: pydaikin.daikin_base Bron: components/daikin/init.py:46 Eerst voorgekomen: 00:56:40 (783 gebeurtenissen) Laatst gelogd: 07:20:45

Exception in TaskGroup: Cannot connect to host 192.168.0.137:80 ssl:default [Connect call failed ('192.168.0.137', 80)] Exception in TaskGroup: Cannot connect to host 192.168.0.135:80 ssl:default [Connect call failed ('192.168.0.135', 80)] Exception in TaskGroup: Cannot connect to host 192.168.0.136:80 ssl:default [Connect call failed ('192.168.0.136', 80)]

Logger: pydaikin.daikin_base Bron: components/daikin/init.py:46 Eerst voorgekomen: 21:27:41 (38 gebeurtenissen) Laatst gelogd: 21:51:07

Exception in TaskGroup: Cannot connect to host 192.168.0.135:80 ssl:default [Connect call failed ('192.168.0.135', 80)] Exception in TaskGroup: Cannot connect to host 192.168.0.136:80 ssl:default [Connect call failed ('192.168.0.136', 80)]

Update from debug log 15 oct: There is a lot more like this: 2024-10-15 20:00:12.449 ERROR (MainThread) [pydaikin.daikin_base] Exception in TaskGroup: Cannot connect to host 192.168.0.137:80 ssl:default [Connect call failed ('192.168.0.137', 80)] 2024-10-15 20:01:29.597 DEBUG (MainThread) [pydaikin.factory] Trying connection to BRP069 2024-10-15 20:01:29.597 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['common/basic_info'] 2024-10-15 20:01:29.598 DEBUG (MainThread) [pydaikin.daikin_base] Calling: http://192.168.0.135/common/basic_info {} [{}] 2024-10-15 20:01:30.894 DEBUG (MainThread) [pydaikin.factory] Trying connection to BRP069 2024-10-15 20:01:30.894 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['common/basic_info'] 2024-10-15 20:01:30.895 DEBUG (MainThread) [pydaikin.daikin_base] Calling: http://192.168.0.136/common/basic_info {} [{}] 2024-10-15 20:01:32.705 DEBUG (MainThread) [pydaikin.daikin_base] Retrying pydaikin.daikin_base.Appliance._get_resource in 0.15663252510702885 seconds as it raised ClientConnectorError: Cannot connect to host 192.168.0.135:80 ssl:default [Connect call failed ('192.168.0.135', 80)]. 2024-10-15 20:01:32.844 DEBUG (MainThread) [pydaikin.factory] Trying connection to BRP069 2024-10-15 20:01:32.844 DEBUG (MainThread) [pydaikin.daikin_base] Updating ['common/basic_info'] 2024-10-15 20:01:32.845 DEBUG (MainThread) [pydaikin.daikin_base] Calling: http://192.168.0.137/common/basic_info {} [{}] 2024-10-15 20:01:32.865 DEBUG (MainThread) [pydaikin.daikin_base] Calling: http://192.168.0.135/common/basic_info {} [{}] 2024-10-15 20:01:33.987 DEBUG (MainThread) [pydaikin.daikin_base] Retrying pydaikin.daikin_base.Appliance._get_resource in 0.011571568338131822 seconds as it raised ClientConnectorError: Cannot connect to host 192.168.0.136:80 ssl:default [Connect call failed ('192.168.0.136', 80)]. 2024-10-15 20:01:34.000 DEBUG (MainThread) [pydaikin.daikin_base] Calling: http://192.168.0.136/common/basic_info {} [{}] 2024-10-15 20:01:35.906 DEBUG (MainThread) [pydaikin.daikin_base] Retrying pydaikin.daikin_base.Appliance._get_resource in 0.04530310519629188 seconds as it raised ClientConnectorError: Cannot connect to host 192.168.0.137:80 ssl:default [Connect call failed ('192.168.0.137', 80)].

Additional information

Will powercycle the AC system again and leave the automations off for a few days if that could help.

Update 15 oct: After updating HA operating system with latest update and restarting HA, all AC's are offline again in HA and keep pending reconnect. Update 16 oct: Tried leaving the integration off and see if it will let it reconnect a day later, but no luck. Only complete powercycle of the AC system let's HA reconnect.

mib1185 commented 2 weeks ago

You might want to provide a bit more details, like the logfile or error messages, details about the used AC devices, since when exactly can't the yconnect anymore, what did you already to try to resolve the issue (eq. power cycle the ACs or HA or both), thx :+1:

RoyalFTH commented 1 week ago

A lot more info now. Can it be added to the integration? No idea how this works. My first post here.

home-assistant[bot] commented 1 week ago

Hey there @fredrike, mind taking a look at this issue as it has been labeled with an integration (daikin) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `daikin` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign daikin` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


daikin documentation daikin source (message by IssueLinks)

dmitryos commented 5 days ago

Just to add here if this may help. I also noticed a change about a month ago when the plugin will not reconnect to the AC if it lost the connection. I need to restart the AC and(!) the HA in order to get them connected.

Also after a day of not being able to connect to the AC the plugin logs a lot of exceptions to the log during that time which causes my HA to take a lot of memory and become unresponsive through API and web. Only restart the container helps.

Hope this may help a bit. Thank you