Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
git-damien opened this issue Aug 4, 2024 · 15 comments · Fixed by #75
Closed

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

git-damien opened this issue Aug 4, 2024 · 15 comments · Fixed by #75
Assignees
Labels
bug Something isn't working priority

Comments

@git-damien
Copy link

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
Copy link

blavak68 commented Aug 4, 2024

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
Copy link
Contributor

@git-damien
Copy link
Author

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
Copy link
Contributor

Phype commented Aug 6, 2024

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
Copy link

JohNan commented Aug 6, 2024

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
Copy link

Can confirm I have the same issue

@HonkStonk
Copy link

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
Copy link
Owner

Ekman commented Aug 12, 2024

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
Copy link
Contributor

same issue :/

@dontbx
Copy link

dontbx commented Aug 27, 2024

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
Copy link
Owner

Ekman commented Aug 29, 2024

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.

@Ekman Ekman self-assigned this Aug 29, 2024
@Ekman Ekman added priority bug Something isn't working labels Aug 29, 2024
@p2923260
Copy link

p2923260 commented Sep 5, 2024

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

@p2923260
Copy link

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

@JohNan
Copy link

JohNan commented Sep 24, 2024

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

@Ekman
Copy link
Owner

Ekman commented Nov 13, 2024

Finally, thanks to the help of @Phype then the integration is working again. Also, thank to the train company for having a couple of hours delay so that I could get some time to look into this.

I've released a test version of the integration 2.0.0-rc.1, which means I haven't tested it yet BUT you should be able to download it now. I'll test it in the coming days and probably make minor changes to it. Eventually, I'll release a stable 2.0.0.

I had to bump the major version of the integration, meaning there are backwards incompatible changes. I'll write more about that in the stable release.

EDIT: Additionally, to clarify, since I bumped the major version of the integration, I might decide to throw in more backwards incompatible changes in the coming days.

@Ekman Ekman closed this as completed Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.