shenxn / ha-dyson

HomeAssitant custom integration for dyson
MIT License
306 stars 60 forks source link

Stopped working? #180

Open custa1200 opened 1 year ago

custa1200 commented 1 year ago

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

custa1200 commented 1 year ago
CleanShot 2023-01-25 at 16 36 21@2x CleanShot 2023-01-25 at 16 36 33@2x
zzznz27 commented 1 year ago

Just started getting the same issue today too

GitPetri commented 1 year ago

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

zzznz27 commented 1 year ago

I'm on 1.29. 1

-------- Original message -------- From: GitPetri @.> Date: 25/1/23 7:45 pm (GMT+10:00) To: shenxn/ha-dyson @.> Cc: Zach Herb @.>, Comment @.> Subject: Re: [shenxn/ha-dyson] Stopped working? (Issue #180)

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

— Reply to this email directly, view it on GitHubhttps://github.com/shenxn/ha-dyson/issues/180#issuecomment-1403268103, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJHK74FSOI3E4R6IYQEJ4YTWUDRY5ANCNFSM6AAAAAAUF4XO6A. You are receiving this because you commented.Message ID: @.***>

GitPetri commented 1 year ago

I'm on 1.29. 1

Thanks, staying in 1.28 for now then.

custa1200 commented 1 year ago

I updated to 1.30 from 1.28

zzznz27 commented 1 year ago

Went back to 1.28.4 and it's still broken

zzznz27 commented 1 year ago

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

GitPetri commented 1 year ago

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

Trabbi1999 commented 1 year ago

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 1 year ago

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)

BePalm2022 commented 1 year ago

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..

idfxken commented 1 year ago

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

Edit: Dyson Pure+Cool humidifier here

nerajchand commented 1 year ago

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 :)

idfxken commented 1 year ago

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

mb0686 commented 1 year ago

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.

aLTeReGo-SWI commented 1 year ago

@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 :)

custa1200 commented 1 year ago

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 .

custa1200 commented 1 year ago

The issue seems to pop up intermittently still.

dotvezz commented 1 year ago

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!