Andre0512 / hon

Home Assistant integration for Haier hOn: support for Haier/Candy/Hoover home appliances like washing machines and air conditioners in 28 languages.
MIT License
1.23k stars 2.49k forks source link

Error when adding account #106

Open Kfrard opened 9 months ago

Kfrard commented 9 months ago

There is an error when adding integrations on config/integrations/integration/hon. I attach the logs.

home-assistant_hon_2023-08-14T14-06-51.294Z.log

Kfrard commented 9 months ago

After a few hours, the integration started working.

monsterciattolo commented 9 months ago

Same issue but problem is not solved after 30 minutes

artyums commented 9 months ago

The same issue. Using Home Assistant via Docker on Synology NAS and can't add hOn account.

Log: raise exceptions.HonAuthenticationError("Can't login")

Daximino commented 8 months ago

Sane issue, anyone has solved?

jmlambea commented 8 months ago

Same issue. When I installed the integration I got the same error, but the next day it started working. It has been working for several days and then the same problem came back. I have changed my password in Haier and in the integration and the problem persists. In the log it leaves this:

File "/usr/local/lib/python3.11/site-packages/pyhon/connection/auth.py", line 190, in _login await self._error_logger(response) File "/usr/local/lib/python3.11/site-packages/pyhon/connection/auth.py", line 91, in _error_logger raise exceptions.HonAuthenticationError("Can't login") pyhon.exceptions.HonAuthenticationError: Can't login

Thank you so much!!

jmlambea commented 8 months ago

In my case I have solved it by uninstalling and installing the integration again. The first time it recognized the devices without problem...

By the way, excellent work!!

Kfrard commented 7 months ago

Hi, have you seen the problem? @Andre0512