core: Unable to connect to device NetworkDevice - Dyson Integration

The problem

No matter what I try I dont get my 2 Dysons Hot+Cool Links (HP02) working in Home Assistant. I get the following error:

2021-01-05 16:13:34 ERROR (SyncWorker_3) [custom_components.dyson] Unable to connect to device NetworkDevice(name=Esszimmer,address=192.168.X.XX,port=1883): timed out

I have tried everything I found online so far, including:

  • Different Versions of libpurecool
  • Different language tags (US, DE, EU)
  • Different fixes I found online (adding timeout and retries, debug)
  • Providing devices in the configuration.yaml, not providing devices in the configration.yaml
  • Providing static ips for the devices
  • Core component and custom component
  • Checking if I can log in on the dyson website using my account

So far I have invested about 10 hours trying and found no solution… I’m close to giving up.

Environment

  • Home Assistant Core release with the issue: 2020.12.2
  • Operating environment (OS/Container/Supervised/Core): Raspberry PI 4 8GB
  • Integration causing this issue: dyson

Problem-relevant configuration.yaml

Dyson

dyson: username: myusername@gmail.com password: mypassword language: DE timeout: 10 retry: 5 devices: - device_id: PT4-EU-KJA1XXX device_ip: 192.168.X.XX - device_id: PT4-EU-KKA0XXX device_ip: 192.168.X.XX #Fixes logger: default: warn logs: homeassistant.components.sensor.dyson: debug homeassistant.components.fan.dyson: debug homeassistant.components.dyson: debug


Traceback/Error logs

2021-01-05 16:11:43 WARNING (MainThread) [homeassistant.setup] Setup of dyson is taking over 10 seconds.

2021-01-05 16:12:31 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: dyson

2021-01-05 16:12:34 ERROR (SyncWorker_3) [custom_components.dyson] Unable to connect to device NetworkDevice(name=Arbeitszimmer,address=192.168.X.XX,port=1883): timed out

2021-01-05 16:13:31 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: dyson

2021-01-05 16:13:34 ERROR (SyncWorker_3) [custom_components.dyson] Unable to connect to device NetworkDevice(name=Esszimmer,address=192.168.X.XX,port=1883): timed out


Additional information

I’m really looking forward for your help… thank you so much!

BR TH

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (5 by maintainers)

Most upvoted comments

It seems to be a Dyson cloud service problem. I noticed that since last night. The login API became quite unstable.

@felix-r9 It is currently not possible to do that. I’m working on a new custom integration that will make this possible (https://github.com/shenxn/ha-dyson/). It is still under development but I’m planning to release the first version in a few weeks.