ofalvai / home-assistant-candy

Unofficial Candy/Haier appliance integration for Home Assistant
120 stars 27 forks source link

Trying to add device crashes HA #267

Open bazyrush opened 1 year ago

bazyrush commented 1 year ago

I have previously used this integration with 3 Candy devices (dishwasher, dryer, and washing machine) and had it working fine. I've done a complete reinstall of HA recently, and whenever I try to add my washing machine, I enter the IP address and the screen just stays with the progress wheel spinning. No error, nothing in logs, and HA completely stops responding - I have to actually hard reset the HA machine by unplugging it.

Previously, I'm sure I was prompted for an encryption key for this device, as I've got the output from Melvin's tool written down with the key, I never get to this prompt now though.

I've tried several different versions (8.0, 8.1, 8.2, base) and the same thing happens each time.

Seems a similar issue to what is being discussed in recent posts in #61 , but I created a new issue as I never get the encryption key prompt.

Anyone any ideas?

ofalvai commented 1 year ago

After shipping https://github.com/ofalvai/home-assistant-candy/pull/52, the integration tries to brute-force the encryption key automatically instead of asking the user for it. It's a bit intensive CPU-wise, but it takes around 1-3 seconds on my Raspberry Pi 3 Model B+, which is not that powerful :)

What kind of hardware are you running on?

balves42 commented 12 months ago

Same here. With a Raspberry pi 4 8GB and running home assistant in a docker container