Open crazyelectron-io opened 1 month ago
Hey there @quentame, @nzapponi, mind taking a look at this issue as it has been labeled with an integration (icloud
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
icloud documentation icloud source (message by IssueLinks)
follow
having this issue as well - following
Same. Following.
same here
same
Just started getting this...
Logs show....
Logger: pyicloud.base Source: components/icloud/account.py:138 First occurred: 10:20:35 PM (2 occurrences) Last logged: 10:20:35 PM
Service Temporarily Unavailable (503) Authentication required for Account. (450)
A reminder to everyone that GitHub does have a "subscribe" feature you can use to follow this issue, and if you add a 👍 to the original post there'll be an easy count of people experiencing the same issue 😄
👍 Same issue
stesso identico problema
Same error!
👍
welp
Same Problem
To avoid excessive notifications for everyone subscribed, please do not comment if you have the same issue. The owner is already informed. Instead, consider liking the original post and subscribing to updates.
Same issue here.
I too am having this issue.
Whilst I know it is being worked on, is there a workaround as I have automations that rely on my Iphone and they do not currently work.
👍
The problem is still present.
Same problem. Reverting to 2024.10.1 did not fix it.
Same issue
Same problem. Reverting to 2024.10.1 did not fix it.
This is a change in iCloud’s authentication method, so reverting wouldn’t fix this.
The integration needs to be adjusted to be able to use apples new authentication mechanism.
same here
Same. Core version 2024.10.2
Same issue here -;(
Check the fix for pyicloud at https://github.com/picklepete/pyicloud/issues/456
for base.py
Same issue here -;(
same problem .. delete de app icloud reboot install the app works... but after restart... it gives the same error
I have a working version via custom_component, @Quentame @nzapponi
Since I'm a toddler in this world, would you mind telling me how I can install this please?
Thanks a ton!
You can add the folder / files to the custom_components folder in your config directory.
works 👌🏻
where should it appear after you put it in the custom_components folder? Or is there something else you need to do? found it, added an integration, but it did not accept my apple application password but needed my normal user password Solved:-)
You can add the folder / files to the custom_components folder in your config directory.
Works, thank you!
Unfortunately, the problem happened again after restarting!!
can we merge this with #128811 ?
@PaulCavill Thank you!!! It works perfectly. Deleted the old icloud folder -- restart. Copyied your folder in the same directory like the old one. I used Studio Code Server. File Editor will not work. --restart. Installed icloud.
I've tried the same process at Wibbie and it errors :
Error Config flow could not be loaded: {"message":"Invalid handler specified"}
You can add the folder / files to the custom_components folder in your config directory.
Works. Add folder as described (delete old one if already there) and just to be sure also delete the icloud folder in .storage Now restart HA then Add Integration. Search icloud and you'll see the new Apple iCloud with a box icon (custom component) Install, add credentials, away you go. Thanks @PaulCavill.
I've tried the same process at Wibbie and it errors :
Error Config flow could not be loaded: {"message":"Invalid handler specified"}
Same here. Delete it and put back the old one. Now do @PaulCavill folder as described above.
Tried once more. I had used Studio code server but my mistake was to right click custom components and create a folder called icloud and then upload the contents from my pc. Instead i clicked and dragged the icloud folder from my windows explorer window to Home Assistant and uploaded it that way. I also had created an app specific password in icloud that did not work. I had to use my icloud password and even though I have icloud family, I had to untick the family box. Once I did this, I had the list of devices attached to my account including kids phones etc.
Hi, I have followed these steps from Wibbie, and it works fine, thank you very much
I tried this but all I get is **"[custom_components.icloud.config_flow] Error logging into iCloud service: ('Invalid authentication token.', PyiCloudAPIResponseException('Missing apple_id field (Missing apple_id field)'))"**
in the logs.
@swampylee did you try your apple id password instead of the one you create specific to this service? In my case I have to use my apple id password
This is also not working for me. I've have copied the custom component (following instructions above). But when I try to add the integration I get an invalid_auth response. This is what is in the logs: This error originated from a custom integration.
Logger: custom_components.icloud.config_flow Source: custom_components/icloud/config_flow.py:128 integration: Apple iCloud First occurred: October 24, 2024 at 7:00:14 PM (9 occurrences) Last logged: 10:17:08 AM
Error logging into iCloud service: ('Invalid authentication token.', PyiCloudAPIResponseException('Missing apple_id field (Missing apple_id field)'))
@swampylee did you try your apple id password instead of the one you create specific to this service? In my case I have to use my apple id password
Yep I did.
This is also not working for me. I've have copied the custom component (following instructions above). But when I try to add the integration I get an invalid_auth response. This is what is in the logs: This error originated from a custom integration.
Logger: custom_components.icloud.config_flow Source: custom_components/icloud/config_flow.py:128 integration: Apple iCloud First occurred: October 24, 2024 at 7:00:14 PM (9 occurrences) Last logged: 10:17:08 AM
Error logging into iCloud service: ('Invalid authentication token.', PyiCloudAPIResponseException('Missing apple_id field (Missing apple_id field)'))
Same errors as I’m seeing.
Tried both app-specific and my main apple ID. broken here too.
Works for me. I expanded the zip file on my MacBook. Deleted the iCloud folder in .storage Rebooted HA FTP’d the expanded folder into custom_components folder Rebooted HA again Added Apple iCloud integration Typed in appleid and main appleid pwd All worked👍
It's good to know that there is a workaround. But is there already something done do work on a fix for this integration? I think for most users it would be the best solution go get this integration back to working with the next HA release.
The problem
The iCloud integration fix recently merged to support App Passwords relies on a one-time login with the 'regular' password and MFA prompt. However, Apple has updated their side and now require Secure Remote Password protocol which is currently not supported by
PyiCloud
. As a result the iCloud integration no longer works. BTW, it is already reported in the PyiCloud repo.I opened this issue because the App Password issue was closed when the mentioned fix was merged.
What version of Home Assistant Core has the issue?
core-2024.10.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
iCloud
Link to integration documentation on our website
https://www.home-assistant.io/integrations/icloud
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response