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

Problem Signing into Apple Account #341

Open
LioBoul opened this issue Oct 18, 2024 · 327 comments
Open

Problem Signing into Apple Account #341

LioBoul opened this issue Oct 18, 2024 · 327 comments

Comments

@LioBoul
Copy link

LioBoul commented Oct 18, 2024

Since update HA core-2024.10.3, I have a error message : "Warning: iCloud Account is not Logged Into" or "Login Error, Other Error or iCloud is not Available"
If I request a new 6 digits code verification, nothing happens :-(
Any idea ???

@spry-salt
Copy link

Same.

@gcobb321
Copy link
Owner

gcobb321 commented Oct 18, 2024

I am away and have not updated to 10.3. I’ll be back this weekend and it will be Monday before I can get to it. I’m running 10.1 and have not noticed anything strange.

Are there any errors in the HA log ? Settings > System > Logs? Or in the iCloud-0.log?

Edit: I just looked at the HA change log and didn’t see anything related to iCloud3 or iCloud

@spry-salt
Copy link

STAGE 4 > SETUP ICLOUD & MOBAPP DATA SOURCE ⡇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2024-10-19 10:05:30.303 DEBUG (SyncWorker_59) [custom_components.icloud3] STAGE4 iCloud Account > Logging Into- (x....@x...........) 2024-10-19 10:05:30.303 DEBUG (SyncWorker_59) [custom_components.icloud3] STAGE4 Connecting to and Authenticating iCloud Location Service Interface (startup) 2024-10-19 10:05:30.303 DEBUG (SyncWorker_59) [custom_components.icloud3] STAGE4 Initialize PyiCloud Service, establish iCloud Location Services connection 2024-10-19 10:05:30.337 DEBUG (SyncWorker_59) [custom_components.icloud3] STAGE4 Authenticating account (x....@x...........) with token 2024-10-19 10:05:31.481 ERROR (SyncWorker_59) [custom_components.icloud3] iCloud3 Error > An error occurred logging into the iCloud Account. )

@Jackyl1976
Copy link

image
same problem here... not possible to login in icloud

@spry-salt
Copy link

II should add that I can login to iCloud.com just fine and my password hasn’t changed.

@miraixyz
Copy link

same here..please fix this

@gcobb321
Copy link
Owner

gcobb321 commented Oct 19, 2024

Are there any program errors in the HA log other than just a message saying there was an error? Settings > System > Logs?

Set log level to Debug on Configure Settings > Page 2 > Format Parameters screen. Then restart HA. Then see if there is any more info that might help figure out what is going on when I get home.

Edit: If the problem started with HA 2024.10.3, restore HA to 2024.10.2 and see if it works there. I’m running 2024.10.1 and have not had any issues.

@miraixyz
Copy link

this is the only related error I can find:

10-19 10:31:31 [start_ic3_co:0345] 🛑 The following issues were detected when starting iCloud3. Scroll through the Startup Log for more information: , 1. iCloud Account Login Error, 2. iCloud username/password invalid or not set up, 3. Some devices could not be verified. Restart iCloud3

@terminusxx
Copy link

terminusxx commented Oct 19, 2024

I assume this is the same issue: home-assistant/core#128486
Here are my logs when trying to login from the configure page

2024-10-18` 15:40:04.023 INFO (MainThread) [icloud3] [config_flow.:2242] ------ icloud_account (login_icloud_account) > UserInput-{'data_source_icloud': ['famshr'], 'username': '..........@ya.......', 'password': '********', 'url_suffix_china': False, 'data_source_mobapp': ['mobapp'], 'endpoint_suffix': 'None', 'data_source': 'famshr, mobapp'}, Errors-None

2024-10-18 15:40:04.094 INFO (MainThread) [icloud3] [config_flow.:2488] ------ Logging into iCloud Acct > UserInput-{'data_source_icloud': ['famshr'], 'username': '..........', 'password': '********', 'url_suffix_china': False, 'data_source_mobapp': ['mobapp'], 'endpoint_suffix': 'None', 'data_source': 'famshr, mobapp'}, Errors-{}, Step-icloud_account, CalledFrom-icloud_account

2024-10-18 15:40:04.166 INFO (MainThread) [icloud3] [config_flow.:2527] ------ Configure Settings > Logging into iCloud Account,
• iCloud Account Currently Used > ..........@ya.......
• New iCloud Account > ..........@ya.......

2024-10-18 15:40:04.169 INFO (SyncWorker_28) [icloud3] [pyicloud_ic3:0536] ------ ❗Initialize PyiCloud Service, establish iCloud Location Services connection

2024-10-18 15:40:04.171 INFO (SyncWorker_28) [icloud3] [pyicloud_ic3:0927] ------ ❗Read Cookies from /config/.storage/icloud/.....

2024-10-18 15:40:04.174 INFO (SyncWorker_28) [icloud3] [pyicloud_ic3:0494] ------ ❗AUTHENTICATING iCloud Account Access, (........@.......), config

2024-10-18 15:40:04.176 INFO (SyncWorker_28) [icloud3] [pyicloud_ic3:0618] ------ ❗Authenticating account (..........@ya.......) with token

2024-10-18 15:40:04.685 INFO (SyncWorker_28) [icloud3] [pyicloud_ic3:0689] ------ ❗PyiCloudAPIResponseException.authenticate_with_token > Token is not valid, error-Missing apple_id field, 2fa Needed-False

2024-10-18 15:40:05.112 INFO (SyncWorker_28) [icloud3] [pyicloud_ic3:0737] ------ ❗PyiCloudAPIResponseException.authenticate_with_password > Password is not valid, Error-Could not connect to iCloud Location Servers (Error Code 503), 2fa Needed-False

@spry-salt
Copy link

I rolled back to HA 2024.10.2 and the problem persists.

@spry-salt
Copy link

I can sign into idmsa.apple.com with the same credentials and that works fine.

@747Rocker
Copy link

I rolled back to HA 2024.10.2 and the problem persists.

So downgrading isn‘t an Option?

@spry-salt
Copy link

Looks like the digital certificate for apple.com might have just been updated. It says Not valid before Saturday 19 October 2024 at 04:00:26 Australian Eastern Daylight Time, which was early this morning here.

@tydalforce
Copy link

tydalforce commented Oct 19, 2024

Here's my log, with debug enabled. Not a whole lot - I tried my normal password and a fresh App-Specific Password and got the same messages

10-18 22:39:55 [config_flow.:2242] ------ icloud_account (login_icloud_account) > UserInput-{'data_source_icloud': ['famshr'], 'username': 'ty........@ma.....', 'password': '', 'url_suf
10-18 22:39:55 [config_flow.:2488] ------ Logging into iCloud Acct > UserInput-{'data_source_icloud': ['famshr'], 'username': '[email protected]', 'password': '
', 'url_suffix_china': F
10-18 22:39:55 [config_flow.:2527] ------ Configure Settings > Logging into iCloud Account,
... iCloud Account Currently Used > ty........@ma.....
... New iCloud Account > ty........@ma.....
10-18 22:39:55 [pyicloud_ic3:0536] ------ ...Initialize PyiCloud Service, establish iCloud Location Services connection
10-18 22:39:55 [pyicloud_ic3:0902] ------ ...session file > (config/.storage/icloud/session)
... Deleted file (...tydalforcemaccom)
10-18 22:39:55 [pyicloud_ic3:0909] ------ ...Session file does not exist
10-18 22:39:55 [pyicloud_ic3:0927] ------ ...Read Cookies from /config/.storage/icloud/tydalforcemaccom
10-18 22:39:55 [pyicloud_ic3:0494] ------ ...AUTHENTICATING iCloud Account Access, (ty........@ma.....), config
10-18 22:39:55 [pyicloud_ic3:0618] ------ ...Authenticating account (ty........@ma.....) with token
10-18 22:39:55 [pyicloud_ic3:0689] ------ ...PyiCloudAPIResponseException.authenticate_with_token > Token is not valid, error-Missing apple_id field, 2fa Needed-False
10-18 22:39:56 [pyicloud_ic3:0737] ------ ...PyiCloudAPIResponseException.authenticate_with_password > Password is not valid, Error-Could not connect to iCloud Location Servers (Error Code 503),
10-18 22:39:56 [config_flow.:4375] ------ Show Form-icloud_account, Errors-{'base': 'icloud_acct_login_error_other'}
10-18 22:39:56 [start_ic3...:0610] ------ Checking Mobile App Integration > Loaded, Devices-myPhone
10-18 22:39:56 [config_flow.:4375] ------ Show Form-icloud_account, Errors-{'base': 'icloud_acct_login_error_other'}
10-18 22:39:56 [start_ic3...:0610] ------ Checking Mobile App Integration > Loaded, Devices-myPhone

@JtwoA
Copy link

JtwoA commented Oct 19, 2024

Looks like the digital certificate for apple.com might have just been updated. It says Not valid before Saturday 19 October 2024 at 04:00:26 Australian Eastern Daylight Time, which was early this morning here.

Apple is doing some cert and cipher work in preparation for changes to ciphers in Feb 2025 (I work for a software company that integrates with Apple Pay and we had an outage associated with this work two weeks ago. The RCA on the outage just came today containing their admission to erroneously removing some ciphers prematurely.

Unsure if related but the timing is suspect.

@ounyai
Copy link

ounyai commented Oct 19, 2024

I also receive the same error, see my log below. Not much unfortunatley.

2024-10-19 19:02:22.431 ERROR (MainThread) [icloud3-cf] Error logging into iCloud service: 2024-10-19 19:02:30.523 ERROR (MainThread) [icloud3-cf] Error logging into iCloud service: 2024-10-19 19:02:40.179 ERROR (MainThread) [icloud3-cf] Error logging into iCloud service:

@marcel-eugel
Copy link

Same Here

@gcobb321
Copy link
Owner

I’ve seen some errors in my own home-assistant.log file where the remote server (Apple) just disconnects without any reason. In my log, it was trying to reauthentication the Apple Account. Obviously, iCloud3 has no control over what Apple does, why it disconnects and can not stop that from happening.

I will investigate trying to establish the connection when that happens. Debugging something like this is almost impossible because it is difficult to predict when this will occur. Since this is a new issue, Apple must have made some changes to something dealing with remote connections.

The error that shows up in the home-assistant.lof file is:


Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 802, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/urllib3/util/retry.py", line 552, in increment
    raise six.reraise(type(error), error, _stacktrace)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/urllib3/packages/six.py", line 769, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 716, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 468, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.12/site-packages/urllib3/connectionpool.py", line 463, in _make_request
    httplib_response = conn.getresponse()
                       ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/http/client.py", line 1428, in getresponse
    response.begin()
  File "/usr/local/lib/python3.12/http/client.py", line 331, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/http/client.py", line 300, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/icloud3/support/pyicloud_ic3.py", line 192, in request
    response = Session.request(self, method, url, **response_kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/requests/adapters.py", line 682, in send
    raise ConnectionError(err, request=request)

Look at your own file and verify that this is the error you are seeing.

@ounyai
Copy link

ounyai commented Oct 19, 2024

Hi Gary,

My log (home-assistant.log)wiht debug enabled is giveing the below error, but password is definately correct as I can log into iCloud through a browser and through several Apple devices. Not sure if this helps.

`2024-10-19 21:51:08.017 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:2488] ------ Logging into iCloud Acct > UserInput-{'data_source_icloud': ['famshr'], 'username': 'nadi8768', 'password': 'Nadi8768', 'url_suffix_china': False, 'data_source_mobapp': ['mobapp'], 'endpoint_suffix': 'None', 'data_source': 'famshr, mobapp'}, Errors-{}, Step-icloud_account, CalledFrom-icloud_account

2024-10-19 21:51:08.062 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:2527] ------ Configure Settings > Logging into iCloud Account,
• iCloud Account Currently Used >
• New iCloud Account > na......
2024-10-19 21:51:08.065 DEBUG (SyncWorker_52) [custom_components.icloud3] [pyicloud_ic3:0536] ------ ❗Initialize PyiCloud Service, establish iCloud Location Services connection

2024-10-19 21:51:08.069 DEBUG (SyncWorker_52) [custom_components.icloud3] [pyicloud_ic3:0927] ------ ❗Read Cookies from /config/.storage/icloud/nadi8768

2024-10-19 21:51:08.071 DEBUG (SyncWorker_52) [custom_components.icloud3] [pyicloud_ic3:0494] ------ ❗AUTHENTICATING iCloud Account Access, (na......), config

2024-10-19 21:51:08.072 DEBUG (SyncWorker_52) [custom_components.icloud3] [pyicloud_ic3:0618] ------ ❗Authenticating account (na......) with token

2024-10-19 21:51:08.684 DEBUG (SyncWorker_52) [custom_components.icloud3] [pyicloud_ic3:0737] ------ ❗PyiCloudAPIResponseException.authenticate_with_password > Password is not valid, Error-Could not connect to iCloud Location Servers (Error Code 503), 2fa Needed-False

2024-10-19 21:51:08.684 ERROR (MainThread) [icloud3-cf] Error logging into iCloud service:

2024-10-19 21:51:08.731 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:4375] ------ Show Form-icloud_account, Errors-{'base': 'icloud_acct_login_error_other'}

2024-10-19 21:51:08.793 DEBUG (MainThread) [custom_components.icloud3] [start_ic3...:0610] ------ Checking Mobile App Integration > Loaded, Devices-iPhone-ooo-App, iPhoneooo, iPhone-xxx-App, iPhone-x, xx iPad, Oxx iPad, xzx iPad, yyt iPad

2024-10-19 21:51:08.837 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:4375] ------ Show Form-icloud_account, Errors-{'base': 'icloud_acct_login_error_other'}

2024-10-19 21:51:08.901 DEBUG (MainThread) [custom_components.icloud3] [start_ic3...:0610] ------ Checking Mobile App Integration > Loaded, Devices-iPhone-ooo-App, iPhoneooo, iPhone-x-App, iPhone-x, xx’s iPad, ooo iPad, xzx iPad, yyt iPad`

@gcobb321
Copy link
Owner

I can not log into my own Apple accounts and am now getting the same _invalid password _ error. I will investigate when I return home tomorrow

@gcobb321 gcobb321 changed the title Problem since HA core-2024.10.3 Problem Signing into Apple Account Oct 19, 2024
@tydalforce
Copy link

With debug logging enabled, I don't see that same full exception in home-assistant.log. Here's what I see below.
Of concern: The first two debug lines seen here originally included my full password in plain text; you might want to update the code to obfuscate them (c:

2024-10-19 08:15:00.782 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:2242] ------ icloud_account (login_icloud_account) > UserInput-{'data_source_icloud': ['famshr'], 'username': 'XX........@ma.....', 'password': 'xxxxxxxxxx', 'url_suffix_china': False, 'data_source_mobapp': ['mobapp'], 'endpoint_suffix': 'None', 'data_source': 'famshr, mobapp'}, Errors-None
2024-10-19 08:15:00.894 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:2488] ------ Logging into iCloud Acct > UserInput-{'data_source_icloud': ['famshr'], 'username': '[email protected]', 'password': 'XXXXXXXX', 'url_suffix_china': False, 'data_source_mobapp': ['mobapp'], 'endpoint_suffix': 'None', 'data_source': 'famshr, mobapp'}, Errors-{}, Step-icloud_account, CalledFrom-icloud_account
2024-10-19 08:15:01.017 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:2527] ------ Configure Settings > Logging into iCloud Account,
• iCloud Account Currently Used >
• New iCloud Account > XX........@ma.....
2024-10-19 08:15:01.019 DEBUG (SyncWorker_2) [custom_components.icloud3] [pyicloud_ic3:0536] ------ ❗Initialize PyiCloud Service, establish iCloud Location Services connection
2024-10-19 08:15:01.022 DEBUG (SyncWorker_2) [custom_components.icloud3] [pyicloud_ic3:0927] ------ ❗Read Cookies from /config/.storage/icloud/xxxxxxxxxxx
2024-10-19 08:15:01.026 DEBUG (SyncWorker_2) [custom_components.icloud3] [pyicloud_ic3:0494] ------ ❗AUTHENTICATING iCloud Account Access, (XX........@ma.....), config
2024-10-19 08:15:01.028 DEBUG (SyncWorker_2) [custom_components.icloud3] [pyicloud_ic3:0618] ------ ❗Authenticating account (XX........@ma.....) with token
2024-10-19 08:15:01.164 DEBUG (SyncWorker_2) [custom_components.icloud3] [pyicloud_ic3:0689] ------ ❗PyiCloudAPIResponseException.authenticate_with_token > Token is not valid, error-Missing apple_id field, 2fa Needed-False
2024-10-19 08:15:01.600 DEBUG (SyncWorker_2) [custom_components.icloud3] [pyicloud_ic3:0737] ------ ❗PyiCloudAPIResponseException.authenticate_with_password > Password is not valid, Error-Could not connect to iCloud Location Servers (Error Code 503), 2fa Needed-False
2024-10-19 08:15:01.601 ERROR (MainThread) [icloud3-cf] Error logging into iCloud service:
2024-10-19 08:15:01.733 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:4375] ------ Show Form-icloud_account, Errors-{'base': 'icloud_acct_login_error_other'}
2024-10-19 08:15:01.892 DEBUG (MainThread) [custom_components.icloud3] [start_ic3...:0610] ------ Checking Mobile App Integration > Loaded, Devices-XXXXXX
2024-10-19 08:15:02.016 DEBUG (MainThread) [custom_components.icloud3] [config_flow.:4375] ------ Show Form-icloud_account, Errors-{'base': 'icloud_acct_login_error_other'}
2024-10-19 08:15:02.160 DEBUG (MainThread) [custom_components.icloud3] [start_ic3...:0610] ------ Checking Mobile App Integration > Loaded, Devices-XXXXXX

@XDOM-JR
Copy link

XDOM-JR commented Oct 19, 2024

same problem here... not possible to login in icloud

@granborja
Copy link

Same here..

@victor-homar
Copy link

Same here...
Can login to icloud.com but cannot make icloud3 v3 to login.

@mpipeling
Copy link

same; I'm still running 10.1 so suspect issue related to change on Apple/iCloud side of things

@tomballgithub
Copy link

tomballgithub commented Oct 20, 2024

This app identified a change needed but the apple-tools repository with the fix is not public.
https://status.expo.dev/incidents/t3cwh0l0x5qd?u=9bkhv9wfr16k

@gcobb321
Copy link
Owner

FYI-The problem is not limited to iCloud3. It is impacting all applications that access an Apple account using the webAuth protocols.

This is a note published. In another web site:

This app identified a change needed but the apple-tools repository with the fix is not public.
https://status.expo.dev/incidents/t3cwh0l0x5qd?u=9bkhv9wfr16k

@gcobb321
Copy link
Owner

gcobb321 commented Nov 5, 2024

TO EVERYONE, YOU SHOULD NOT DELETE THE icloud3.apple_acct FOLDER.

THAT CONTAINS THE COOKIE AND SESSION FILES FOR COMMUNICATING WITH APPLE. IN IT ARE TOKEN PASSWORDS, AUTHENTICATING INFORMATION AND SESSION ID INFORMATION WHEN YOU DELETE THEM, THEY HAVE TO BE RECREATED, CAUSING APPLE TO THIS THERE IS SUSPECIOUS ACTIVITY AND CODE ENTRY IS DELAYED.

Sorry for yelling, but I wanted to make sure everyone understands the problems you are creating for yourself by doing this.

I will be releasing v3.0.1 as soon as I fix a few more things. You should also not delete the icloud3 folder with the configuration, restore state, waze hist and several other files. You will be able to reset the Data Sources (Apple account and Mobile App selections) from the Update Devices screen) back to None (default) to clear up any error messages and start again.

It also does not help to delete the integration or reinstall the code if the code does not change.
Just restarting HA should be good enough.

Gary

@gcobb321
Copy link
Owner

gcobb321 commented Nov 5, 2024

@wormvortex
You have to select Add iCloud3 Devices to add it (an iCloud3 Device). On that screen is a dropdown list where you select the Apple Account devices to be associated with the iCloud3 device you are adding.

@LioBoul
Copy link
Author

LioBoul commented Nov 5, 2024

@LioBoul The Apple account should be refreshed when iCloud3 starts to load the devices. Yours says 0 of 0 devices tracked, indicating that refresh did not happen. I am looking into that. Try doing an Event Log > Actions >, Locate all Devices with iCloud or Restart iCloud3 and look at Stage 3 & 4 to see if a refresh was done and the devices in your account are available.

I don't find "Locate all devices with iCloud" in "ACTION COMMANDS" ?
I have cliqued on "RESUME ᐳ Resume Polling on all devices, Refresh all locations" but always 0 devices found.
Where can I find de log ? If you want, I post them here @gcobb321 ?

@gcobb321
Copy link
Owner

gcobb321 commented Nov 5, 2024

@LioBoul
image

@LioBoul
Copy link
Author

LioBoul commented Nov 5, 2024

@LioBoul image

Where is this menu ?
I have only this one :
Capture d'écran 2024-11-05 181733

@luke17287
Copy link

@LioBoul image

Where is this menu ? I have only this one : Capture d'écran 2024-11-05 181733

Youll find it one the lovelace card

image

@LioBoul
Copy link
Author

LioBoul commented Nov 5, 2024

The only card I have with integration icloud v3 is this :

Capture d'écran 2024-11-05 184643

Capture d'écran 2024-11-05 184807

@luke17287
Copy link

https://gcobb321.github.io/icloud3_v3_docs/#/./chapters/3.2-installing-and-configuring

Step5 above or use google for a tutorial to install "event log card"

@luke17287
Copy link

@gcobb321 : Just for confirmation I installed 3.1. from 3.0.5.8. Didnt delete anything. Got the login error and apple is not sending me a new verifcation code after request one. I think you are already aware of it - im waiting for 3.1.1. - If you need anything to get tested just let me know.
login error

image

@LioBoul
Copy link
Author

LioBoul commented Nov 5, 2024

https://gcobb321.github.io/icloud3_v3_docs/#/./chapters/3.2-installing-and-configuring

Step5 above or use google for a tutorial to install "event log card"

Tks ;-)

@gcobb321 Here is my log :

Capture d’écran 2024-11-05 210744

@LioBoul
Copy link
Author

LioBoul commented Nov 5, 2024

And when I request 6-digit code :

Capture d’écran 2024-11-05 211236

@wormvortex
Copy link

@wormvortex You have to select Add iCloud3 Devices to add it (an iCloud3 Device). On that screen is a dropdown list where you select the Apple Account devices to be associated with the iCloud3 device you are adding.

I don't get a drop down box it just shows this:

Screenshot 2024-11-05 at 21 11 23

@edautz
Copy link

edautz commented Nov 5, 2024

@gcobb321,

I don’t know what happened, but since today my No GPS data problem is gone and the services appears to run normally.

Thanks for all the support and effort Gary.

@gcobb321
Copy link
Owner

gcobb321 commented Nov 6, 2024

@LioBoul
The code that calculates the Secure Remote Password in Python is new. Python does the calculation and Apple does the calculation and Apple compares the results. Your password, after passing through the Python calculator, is different even though your password is correct and was validated using a different method.

You are going to have to change your password to some other value. Also, the writers of that code are collecting usernames and passwords that have failed, like yours, to try to fix the algorithm.

I would appreciate it if you would zip your iCloud3 configuration file, with the password encoded and send to me. Add a .png to the zip extension to pass gmail.com filters. I will decide it and pass it along once you have changed it.

Another user has the sane problem, changed it and was able I log in.

Gary

@gcobb321
Copy link
Owner

gcobb321 commented Nov 6, 2024

@wormvortex
The iCloud3 Uses Guide describes the steps needed to add devices and start using iCloud3. The screens are a little different in v3.1 but you will be able to follow the steps. Click the (?) icon in the top right to open it.

Adding a new device to be tracked is here.

@gcobb321
Copy link
Owner

gcobb321 commented Nov 6, 2024

@edautz
Good to know

@LioBoul
Copy link
Author

LioBoul commented Nov 6, 2024

@LioBoul The code that calculates the Secure Remote Password in Python is new. Python does the calculation and Apple does the calculation and Apple compares the results. Your password, after passing through the Python calculator, is different even though your password is correct and was validated using a different method.

You are going to have to change your password to some other value. Also, the writers of that code are collecting usernames and passwords that have failed, like yours, to try to fix the algorithm.

I would appreciate it if you would zip your iCloud3 configuration file, with the password encoded and send to me. Add a .png to the zip extension to pass gmail.com filters. I will decide it and pass it along once you have changed it.

Another user has the sane problem, changed it and was able I log in.

Gary

Gary,

Thanks again for all the work! :-)
My English is not perfect so I prefer to check if I understood correctly?

  1. I have to change my iCloud password? Not sure...

  2. I have to send you by email (address?) my iCloud configuration file. Where is it? Is it the folder \192.168.1.\config\custom_components\icloud3? Or \192.168.1.\config.storage\icloud3? Should I zip it and rename the extension to .png instead of .zip?

  3. How do I encrypt my password? Maybe it doesn't matter if I change it (point 1)?

Thank you, thank you, thank you !

@luke17287
Copy link

Confirm - Changing apple ID password fixed login issue

@LioBoul
Copy link
Author

LioBoul commented Nov 6, 2024

Confirm - Changing apple ID password fixed login issue

Change apple pass done. I receive now 6-digit code but always 0 of 0 tracked devices for the account...

@gcobb321
Copy link
Owner

gcobb321 commented Nov 6, 2024

@LioBoul
2. The configuration file is at \192.168.1.\config.storage\icloud3\configuration.
3. Yu have already changed the p/w so the configuration file wont help, it will have your new password. Send the old one to [email protected] and I'll pass it along.
4.
Thanks

The '0 of 0 ' refresh bug is fixed and will be in v3.1.1 tomorrow.

@LioBoul
Copy link
Author

LioBoul commented Nov 7, 2024

There's something new! :-)
After changing my iCloud password, deleted, recreate my account in icloud3 and restarting HA, it finally found my trackable devices. I configured them and it seems ok, to be confirmed.

However...
It first created a few sensors and deleted them a few minutes later, I had my 2 trackable devices in entities but only one sensor per entity. So I deleted all the configurable sensors in the menu iCloud3 (+ SAVE) and rechecked all the sensors (+ SAVE). It recreated new ones for me but it seems to me that all the ones I had before are no longer there (only 12 ss by ent), in particular "distance to home" and "time (hh:mm) to home" ? I join any screenshots...

Capture d'écran 2024-11-07 085342

Capture d'écran 2024-11-07 085503

Capture d'écran 2024-11-07 085601

Capture d'écran 2024-11-07 085630

Capture d'écran 2024-11-07 085725

Capture d'écran 2024-11-07 091240

@gcobb321
Copy link
Owner

gcobb321 commented Nov 7, 2024

iCloud3 v3.1.1 has been to HACS

Release page is here

Change Log - v3.1.1

  1. LOCATING DEVICES:
    • Added additional checks to insure the Apple Account location data was refreshed during startup and while configuing iCloud3 settings. Fixed a problem where the location information data from Apple was not being initialized properly.
    • Fixed the location refresh not being done that caused the '0 of 0' to be displayed in the Configure Setting screens, leading to the Apple Account selection lists to not be populated.
    • Fixed some problems where 'Locate All Devices = False' would still locate all the devices in the Apple account
    • Added error checking to make sure the Locate All Devices can not be disabled if there were Family devices that
      were assigned to that Apple account. If it was disabled, they would never be located.
  2. UPDATE DEVICE SCREEN - Added (and fixed) the TOOLS - RESET DATA SOURCE(S), DELETE DEVICE(S) option where you can reset the device's Apple Account and Mobile App to default values (None) and fixed a problem deleting devices. Reworked the Apple Account selection list to provide more information and identify setup errors.
  3. UPDATE APPLE ACCOUNT USERNAME/PASSWORD SCREEN - Added checks to insure Locating All Devices can not be disabled if there are tracked devices assigned to this account that are in the Family list.
  4. OTHER THINGS - Changed several things under the covers.

@gcobb321
Copy link
Owner

gcobb321 commented Nov 7, 2024

@LioBoul

  1. Waze sensor - go to Configure Settings Waze page and change your region to Rest of the World.
  2. HA does some things with entities (save, refresh, delete) when it is reloaded, sometimes that is. So if you do a lot of deleting, you might want to restart HA, then do the next step. iC3 does add and remove them from the HA but I'm unsure when HA actually updates the files.

@LioBoul
Copy link
Author

LioBoul commented Nov 7, 2024

It's OK! Thanks for all Gary 🤗🤗🤗
You deserve 3 coffee ☕️☕️☕️

@gcobb321
Copy link
Owner

gcobb321 commented Nov 7, 2024

@LioBoul
Good. It's actually time for a Gin & Tonic.

@LioBoul
Copy link
Author

LioBoul commented Nov 7, 2024

Cheers 🍸

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