Ekman / home-assistant-pure-i9

Electrolux Pure i9 robot vacuum integration for Home Assistant.
MIT License
26 stars 5 forks source link

Giving up due to no left retries. Wrong credentials? #73

Open git-damien opened 2 months ago

git-damien commented 2 months ago

Since the beginning of August my Pure i9 has not been unavailable in HA.

In the logs I get: requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.ocp.electrolux.one/one-account-authentication/api/v1/authenticate

Nothing has changed in my system to cause an authentication issue. In case it was on the account side I deleted my account and created a new one with matching username and password. No change.

I tried removing and reinstalling the integration but it won't authenticate during the install.

I have restored to a backup in a state where the integration was working, but still have the same problem.

blavak68 commented 2 months ago

i have this in the log

Logger: purei9_unofficial.util Source: /usr/local/lib/python3.12/site-packages/purei9_unofficial/util.py:28 First Occurred: 17:23:35 (1 occurrences) Last login: 17:23:35 Giving up due to no left retries. Wrong credentials?

i think something changed in elektrolux api with login procedure

techillin commented 2 months ago

https://github.com/Phype/purei9_unofficial/issues/28

git-damien commented 2 months ago

Thanks for looking at the issue. But i'm not sure what that means. Is that a previous ticket with the same problem so I can sit back and wait for it to be fixed because you're on it?

Phype commented 2 months ago

Yes, i have the same problem, but I'll not be able to fix it for the next 2 weeks. Another home assistant integration has experienced the same and there is now an official Electrolux API available. See:

It might make sense to merge development efforts of this integration or purei9_unofficial with those 2 github projects.

JohNan commented 2 months ago

Thanks for referencing to my library @Phype and I like the idea to combine these integrations. Feel free to open up pull requests

I have just pushed a rough first version of it. https://pypi.org/project/pyelectroluxgroup/0.1.0/

Try it out and open an issues or a pull request at the repository if any changes is needed.

derkrasseleo commented 2 months ago

Can confirm I have the same issue

HonkStonk commented 2 months ago

Got the exact same thing since beginning of Aug. Is the plan to use parts of "pyelectroluxgroup" in this integration later on? The Pure i9 integration has been great to use and really the only simple working alternative so far... Thanks!

Ekman commented 2 months ago

Hi. I can't say exactly when I'll have the time to look into this. I'm still using two Electrolux Pure i9s so I'm definitely interested in getting this up and running asap.

lorenzo-deluca commented 2 months ago

same issue :/

dontbx commented 2 months ago

Electrolux wrote the following:

"We regret that the integration of your Pure i9 into your smart home system is no longer working. Your feedback on the API is important to us, and we thank you for your patience. Open and officially available APIs are on the horizon. We hope you will soon be able to establish a seamless connection again!"

We can therefore expect a new API.

Ekman commented 2 months ago

Electrolux wrote the following:

"We regret that the integration of your Pure i9 into your smart home system is no longer working. Your feedback on the API is important to us, and we thank you for your patience. Open and officially available APIs are on the horizon. We hope you will soon be able to establish a seamless connection again!"

We can therefore expect a new API.

That's actually great news. Short term, it sucks that the integration doesn't work. Long term, having an official API should ensure that this doesn't happen again.

Anyhow, I'm going to try and solve this short term whenever I have some spare time.

p2923260 commented 1 month ago

Thanks Niklas, we look forward for an update. If you need any support for test just let us know.

p2923260 commented 1 month ago

Please let us know about the fix even as beta version.

JohNan commented 1 month ago

There's a PR n this repo https://github.com/JohNan/homeassistant-wellbeing/pull/145 to add support for Pure i9. It does not contain all features, but it's a start.