core: Daikin Unexpected error creating device

Home Assistant release with the issue:

Last working Home Assistant release (if known): Home Assistant Ver. 0.90.0 on Rasp with Noobs

Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io 0.91.1

Component/platform:

Daikin

Description of problem:

Hello since i have Upgraded from Homeassistant on Noobs to Hass.io i have the Problem that my Daikin can´t created after second Restart. First it would by find by the Discovery. Second… it would be came this error

ERROR (MainThread) [homeassistant.components.daikin] Unexpected error creating device

i have remove anything Daikin Config from the Configuration.yaml but no help.

If i remove the entry in the Integration and set it again it work until the restart.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):


Traceback (if applicable):


Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 17 (11 by maintainers)

Most upvoted comments

@fredrike Still same symptoms. At 20:36 I deleted the integration and added it again.

$ grep daikin home-assistant.log
2019-04-08 20:29:29 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of pydaikin==1.4.0
2019-04-08 20:29:39 INFO (MainThread) [homeassistant.setup] Setting up daikin
2019-04-08 20:29:39 INFO (MainThread) [homeassistant.setup] Setup of domain daikin took 0.0 seconds.
2019-04-08 20:29:44 WARNING (MainThread) [pydaikin.appliance] ServerDisconnectedError 3
2019-04-08 20:29:49 WARNING (MainThread) [pydaikin.appliance] ServerDisconnectedError 2
2019-04-08 20:29:50 ERROR (MainThread) [homeassistant.components.daikin] Connection to Daikin timeout
2019-04-08 20:30:30 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of pydaikin==1.4.0
2019-04-08 20:30:41 INFO (MainThread) [homeassistant.components.daikin.config_flow] Discovered device: {'id': '409F38D0FF8C', 'name': 'Serverrum', 'ip': '192.168.0.66', 'mac': '409F38D0FF8C', 'ver': '1_2_51'}
2019-04-08 20:36:49 INFO (MainThread) [homeassistant.loader] Loaded daikin.climate from homeassistant.components.daikin.climate
2019-04-08 20:36:49 INFO (MainThread) [homeassistant.components.climate] Setting up climate.daikin
2019-04-08 20:36:49 INFO (MainThread) [homeassistant.loader] Loaded daikin.sensor from homeassistant.components.daikin.sensor
2019-04-08 20:36:49 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.daikin
2019-04-08 20:36:49 INFO (MainThread) [homeassistant.loader] Loaded daikin.switch from homeassistant.components.daikin.switch
2019-04-08 20:36:49 INFO (MainThread) [homeassistant.components.switch] Setting up switch.daikin

Please advice how I can assist with further logging.

The #22880 should fix the issue as it retries when connection fails.

I think I have located the issue and it is related to https://github.com/home-assistant/home-assistant/issues/22706#issuecomment-480362255 where some other component closes the socket.