shenxn/ha-dyson

Stopped working?

custa1200 opened this issue · 20 comments

My integrations seems to have stopped talking to my Dysons after updating to the latest HACS

Just started getting the same issue today too

Uh, good to know. Which version of HACS broke the integration? Running 1.28.0 at the moment and HA shows 1.30.0 as available one

I'm on 1.29. 1

Thanks, staying in 1.28 for now then.

I updated to 1.30 from 1.28

Went back to 1.28.4 and it's still broken

Google integration is busted too...
Might be a change in Dyson's end?

Google integration is busted too... Might be a change in Dyson's end?

I am running 1.28.0 and my integration seems to be working at the moment

I'm trying to integrate my Humidify and Cool Formaldehyde but it says "Failed to connect" when I try to set up manually. Homebridge can connect to my Dyson, maybe this is also related to the issue.

arc72 commented

Broken for me too since today....

2023-01-26 12:01:11.454 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration dyson_cloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-26 12:02:16.119 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration dyson_cloud: Unable to import component: cannot import name 'DysonPurifierHumidifyCoolFormaldehyde' from 'libdyson' (/usr/local/lib/python3.10/site-packages/libdyson/init.py)

I just try to install the integration...but is is not found and not showing up

There is not even Dyson integration
hasst

nor there is a HACS ...
hacst

anything I have to set to see it ...
located in Malaysia... should not play a role to see all integrations..

I can´t connect with my serial number and credentials either, possibly dyson sent out a firmware update?

Edit: Dyson Pure+Cool humidifier here

I've been having a similar issue since the Home Assistant OS 9.5 update .

What i had to do to get it working again was update the "requirements" in the manifest.json to
"requirements": ["git+https://github.com/jezzab/libdyson.git@main#libdyson==0.9.0"],

So the full manifest.json looks like:

{
    "domain": "dyson_local",
    "name": "Dyson Local",
    "config_flow": true,
    "documentation": "https://github.com/shenxn/ha-dyson",
    "issue_tracker": "https://github.com/shenxn/ha-dyson/issues",
    "dependencies": ["zeroconf"],
    "codeowners": ["@shenxn"],
    "requirements": ["git+https://github.com/jezzab/libdyson.git@main#libdyson==0.9.0"],
    "version": "0.16.4-4",
    "iot_class": "local_polling"
}

This is the same for dyson_local & dyson_cloud.
After a reboot, both of my Dyson Purifiers came back.

Hope that helps :)

Edit : Apologies, it seems that I messed up with the dyson password. Just checked with resniffing the mqtt connection from dyson.

The same issue occured for me in the past few days. Neither this integration nor the Dyson app were working. Eventually I just unplugged the Dyson and now it's back up and running. I didn't change anything in Home Assistant.

@nerajchand thank you for the solution. That fixed the problem perfectly!

I've been having a similar issue since the Home Assistant OS 9.5 update .

What i had to do to get it working again was update the "requirements" in the manifest.json to "requirements": ["git+https://github.com/jezzab/libdyson.git@main#libdyson==0.9.0"],

So the full manifest.json looks like:

{
    "domain": "dyson_local",
    "name": "Dyson Local",
    "config_flow": true,
    "documentation": "https://github.com/shenxn/ha-dyson",
    "issue_tracker": "https://github.com/shenxn/ha-dyson/issues",
    "dependencies": ["zeroconf"],
    "codeowners": ["@shenxn"],
    "requirements": ["git+https://github.com/jezzab/libdyson.git@main#libdyson==0.9.0"],
    "version": "0.16.4-4",
    "iot_class": "local_polling"
}

This is the same for dyson_local & dyson_cloud. After a reboot, both of my Dyson Purifiers came back.

Hope that helps :)

The same issue occured for me in the past few days. Neither this integration nor the Dyson app were working. Eventually I just unplugged the Dyson and now it's back up and running. I didn't change anything in Home Assistant.

yeah I unlogged and plugged mine back in and it became available again .

The issue seems to pop up intermittently still.

Unfortunately this integration is no longer maintained, but I've created a new fork and am actively working on the new Humidifier and Formaldehyde models. Have a look at #185 for more information, and let me know if you have any questions.

The forks do incorporate the latest changes to libdyson and a few other improvements, maybe it will help people who are dealing with this issue!