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

No longer able to authenticate #247

Closed
lukkigi opened this issue Jan 7, 2023 · 2 comments
Closed

No longer able to authenticate #247

lukkigi opened this issue Jan 7, 2023 · 2 comments

Comments

@lukkigi
Copy link

lukkigi commented Jan 7, 2023

Hi,

first of all thanks for this awesome integration.

After a few days of use, I can't get myself authenticated again for some reason. I tried deleting the .storage/icloud folder, resetting the iCloud interface and a few dozen other things. I am just not getting the notification for the 2FA and none of my devices show some kind of login message.

I can find these errors in the log file:

2023-01-07 22:20:17.553 ERROR (SyncWorker_1) [custom_components.icloud3.pyicloud_ic3] Missing apple_id field
2023-01-07 22:20:17.555 ERROR (SyncWorker_1) [custom_components.icloud3.device_tracker]  iCloud3 Error > An error occurred authenticating xxx.. The iCloud Web Services may be down or the Username/Password may be invalid. The iCloud Location Services tracking method is disabled and the iOS App tracking method will be used. . The authentication will be retried in 15 min at 10:35:17.

My configuration.yaml looks like this:

device_tracker:
  - platform: icloud3
    username: "xxx"
    password: "xxx"
@gcobb321
Copy link
Owner

gcobb321 commented Jan 7, 2023

The Apple ID is the username. I assume you have also restarted HA a few times too. Any other changes to HA or the config? iCloud3 v3 is now in beta and it might solve the issue you’re having. See here for more info about v3.

@lukkigi
Copy link
Author

lukkigi commented Jan 8, 2023

It turns out that my iCloud account got locked. I'm not sure if it was the v2 integration causing this, but I will be testing v3 now and so far so good! Thanks for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants