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

Sign in issues, since update to 2024.7.4 core #364

Open
andyblac opened this issue Jul 30, 2024 · 16 comments
Open

Sign in issues, since update to 2024.7.4 core #364

andyblac opened this issue Jul 30, 2024 · 16 comments

Comments

@andyblac
Copy link

Is anyone else having sign in issues since updating the HA Core ?, all I get now is:

This error originated from a custom integration.

Logger: custom_components.icloud3
Source: custom_components/icloud3/helpers/messaging.py:467
integration: iCloud3 v3 (documentation, issues)
First occurred: 12:28:13 (2 occurrences)
Last logged: 12:28:13

iCloud3 Error > An error occurred logging into the iCloud Account. iCloud Authentication Failed > Username or Password is not valid, Error-421)
@andyblac andyblac changed the title Sign in issues, since update to 20224.7.4 core Sign in issues, since update to 2024.7.4 core Jul 30, 2024
@gcobb321
Copy link
Owner

I just updated HA to 2024.7.4 on an Rpi4 and Rpi5 and iCloud3 started without any problems. Have you gone into the Configure Settings > iCloud Account & Mobile App screen and reviewed the username/password fields?.

I did notice that the HA guys changed how the zone is displayed in the device_tracker entity. Before if the state value was 'home', it would be displayed as 'Home'. Now it is displayed as 'home'.

@andyblac
Copy link
Author

andyblac commented Jul 30, 2024

I just updated HA to 2024.7.4 on an Rpi4 and Rpi5 and iCloud3 started without any problems. Have you gone into the Configure Settings > iCloud Account & Mobile App screen and reviewed the username/password fields?.

I did notice that the HA guys changed how the zone is displayed in the device_tracker entity. Before if the state value was 'home', it would be displayed as 'Home'. Now it is displayed as 'home'.

it was working fine before I updated HA and the to the latest iCloudv3 version

edit:

just checked user and pass both are correct. I can sing in to iCloud.com with the same email and password without issue.

@gcobb321
Copy link
Owner

Adding a device no linger works either after the 2024.7.4 update

@andyblac
Copy link
Author

andyblac commented Jul 30, 2024

Adding a device no linger works either after the 2024.7.4 update

nor editing one, it causes all the entities to be disconnected and creates new ones with _2 at the end.

@andyblac
Copy link
Author

andyblac commented Jul 30, 2024

I just updated HA to 2024.7.4 on an Rpi4 and Rpi5 and iCloud3 started without any problems. Have you gone into the Configure Settings > iCloud Account & Mobile App screen and reviewed the username/password fields?.

have you tried singing out and back in, I had to remove the integration and reinstall it, due to editing device bug (all old entities are discconected and new ones with _2 created, and as the old entities do not have a UUID you can not delete them, so hence the reason I had to uninstall and reinstall.) That when I started to get the sign in issues.

@gimmel
Copy link

gimmel commented Jul 31, 2024

Yesterday, after the update to 2024.7.4, I suddenly could only see my own iCloud data, but not the iPhone data of the family.
Today I used "ha core update --version 2024.7.3" to go back to the last version and suddenly I can see all iCloud stuff again.
2024.7.4 is definitely a problem for iCloud3 3.0.5.5.

@andyblac
Copy link
Author

andyblac commented Jul 31, 2024

OK, got it back working reverted to HA 2024.7.3, removed integration, signed in to appleid on website, and it was LOCKED probably due to all the failed attempts, unlocked it and now back working. I'll stay on HA 2024.7.3 for now.

@gimmel
Copy link

gimmel commented Jul 31, 2024

Oh, the iCloud lock is another problem. My account was locked a few days ago (while I was trying to use iCloud in a VM to send AirTag positions to HomeAssistant).
I now believe these are coincidences because I had to agree to changed iCloud data shortly afterwards. I suspect the blocks are due to problems at Apple. When unlocking the account, I also got several messages like "Server not available. Try again later."

@gcobb321
Copy link
Owner

iCloud3 v3.0.5.7 appears to be working under HA 2024.7.4/HAOS 12.4

The zip file below contains an update to iCloud3 v3. I have not released it yet but would like you to try it to make sure there are no other issues I need to look at. Let me know if it now works. TThanks.

Gary

Unzip icloud3 v3.0.5.7 into the config/custom_components/icloud3 directory and restart HA.

icloud3 v3.0.5.7.zip

@andyblac
Copy link
Author

iCloud3 v3.0.5.7 appears to be working under HA 2024.7.4/HAOS 12.4

The zip file below contains an update to iCloud3 v3. I have not released it yet but would like you to try it to make sure there are no other issues I need to look at. Let me know if it now works. TThanks.

Gary

Unzip icloud3 v3.0.5.7 into the config/custom_components/icloud3 directory and restart HA.

icloud3 v3.0.5.7.zip

I'll take a look in the morning UK time, I'll let you know

@gimmel
Copy link

gimmel commented Jul 31, 2024

Thanks for your work. At first glance, version 3.0.5.7 no longer seems to cause any problems with HA 2024.7.4.

What has changed in 2024.7.4, or in other words: what did you have to change to make it work again?

@gcobb321
Copy link
Owner

There were some issues in the Configure Update Device screen where famshr device tables were not filled in. Before, the program would fill them in and go to the next one. I’ve also been working on I/O routines for the next release and that may have fixed some issues.

Glad it’s working

@andyblac
Copy link
Author

andyblac commented Aug 1, 2024

yup, 3.0.5.7 seems to fix the issue. this can be close for my side.

@gimmel
Copy link

gimmel commented Aug 1, 2024

There were no errors anymore since I updated to 3.0.5.7 (and then back to HA 2024.7.4), but now I saw that all the values were frozen since the update. Now I downgraded to 2024.7.3 and suddenly I get fresh, actual values.

@AlexMC
Copy link

AlexMC commented Aug 4, 2024

Have the same issue and 3.0.5.7 doesnt seem to fix it, login details are correct, my icloud account is ok, not locked, but icloud3 doesn't seem to be able to login.

@andyblac
Copy link
Author

andyblac commented Aug 4, 2024

Have the same issue and 3.0.5.7 doesnt seem to fix it, login details are correct, my icloud account is ok, not locked, but icloud3 doesn't seem to be able to login.

1st double check account is not locked, by singing in to http://appleid.apple.com, then try removing the integration, restart HA, reinstall and allow it restore the configuration. then do a full reboot.

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

4 participants