Why am I seeing this?
There is nothing wrong with my internet connection all other integrations work.
Internet Connection Error > iCloud3 cannot connect to the Internet
After several attempts it worked but why the issue?
Why am I seeing this?
There is nothing wrong with my internet connection all other integrations work.
Internet Connection Error > iCloud3 cannot connect to the Internet
After several attempts it worked but why the issue?
@Calzor_Suzay
What version of iCloud3 are you using?
The Internet may be up but iCloud3 may be having problems connecting to Apple at icloud.com
Version 3.2.3
I managed to eventually get it to log on, then do the whole code thing which it seems happy with but I get
I also get multiple email alerts from apple about the account being logged into at the time.
I had a similar issue that kicked in last night….
I logged into iCloud.com via a web browser and had to accept a new set of T&Cs. Once this was done icloud3 no longer complained about no internet connection and successfully identified all the devices available, matching them to the correct tracking entities.
A few others on GitHub had similar issues and accepting new T&Cs worked for them too.
Worth a try for anyone else seeing some odd behaviour today.
Thanks I think that fixed it.
Logged in to icloud online and first thing was accept new T&Cs.
Restarted icloudv3 on HA after and it seems better
Thanks! Had the same issue, logged into icloud accepted the T&C and restarted HA, seemed to have addressed the issue. Will monitor.
I had a panic on, I found this post, panic over ![]()
See here for instructions on accepting Apples new Terms and Conditions.
iCloud3 will then resume tracking devices
If I add additional apple watches for children, under family setup. Can those be tracked with the iCloud v3 integration? Specifically, gps location. If so, is there anything specific during the apple portion of the setup that needs to be done so iCloud v3 can work properly?
@sayanova
Yes, you can track the children’s watches. Review the list of devices available in the Event Log, Stage 4 to verify the info for the watches is available. Then add them on the Configure > Data Sources-Apple Accts & MobApp and Configure > iCloud3 Update Devices screens like you normally do when you set u up a device you want to track.
Thanks. This fixed the same issues I was having with iCloud3
Login and verification work and everything runs fine, until I get a network error. If i restart icloud3 everything is fine again. Last night was a 14hr offline session.
Is there a way to automatically restart the plugin if there is a lengthy downtime?
@bryancowell
There is a restart option on the icloud3 action service call. See the iCloud3 docs here for info about that. Maybe you can tie that into the sensor.icloud3_alerts.
I’ll give it a go. Is there a particular alert message I should be searching for ? I’ve just set it up to notify me of the message at the moment
@bryancowell
I believe it will have the rest Internet Error detected at in the state value
Hey @gcobb321 since latest HA I see that I got some issues now.
My own phone is working correct. My partner his phone is lost in the config.
I did a full clear action. Remove everything, deleted my account. Restart HA and installed integration again.
Now when I wanna login into my apple account I see this error:
Unknown error occurred
Logger: aiohttp.server
Source: /usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py:481
First occurred: 18:22:33 (1 occurrence)
Last logged: 18:22:33
Error handling request from 192.168.100.119
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 510, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/web_app.py", line 569, in _handle
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 87, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 86, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 41, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 83, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 291, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper
return await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 121, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 346, in async_configure
result = await self._async_configure(flow_id, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 393, in _async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
flow, cur_step["step_id"], user_input
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 493, in _async_handle_step
result: _FlowResultT = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/icloud3/config_flow.py", line 2320, in async_step_update_apple_acct
valid_upw = await Gb.ValidateAppleAcctUPW.async_validate_username_password(ui_username, ui_password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/icloud3/apple_acct/apple_acct_upw.py", line 159, in async_validate_username_password
valid_upw = await Gb.hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
password)
^^^^^^^^^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/icloud3/apple_acct/apple_acct_upw.py", line 242, in validate_username_password
valid_upw = self.validate_username_password_via_url_pyisession(username, password)
File "/config/custom_components/icloud3/apple_acct/apple_acct_upw.py", line 284, in validate_username_password_via_url_pyisession
response_code = self.PyiCloudSession.post(url, data=data, headers=headers)
File "/usr/local/lib/python3.13/site-packages/requests/sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/icloud3/apple_acct/pyicloud_session.py", line 180, in request
log_data(_hdr, _data, log_rawdata_flag=log_rawdata_flag)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/icloud3/utils/messaging.py", line 928, in log_data
filter_results =_set_validpw_invalidpw_text(filter_results)
File "/config/custom_components/icloud3/utils/messaging.py", line 1010, in _set_validpw_invalidpw_text
if 'code' in rawdata_items:
^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
Hmm… After a reboot of HA I got message of Apple 2FA. Auth the integration now im logged in again.
Wanna add my partner his phone. Its not listed ![]()
When opening FindMy I can see his phone.
@poudenes
See here for problems everyone has accessing Apple accounts. I’m working on it and until that is fixed, it is hard to tell what is going on.
After your latest update I can login again. Can add my AirPods, Watch, iMac but my partner isn’t in the list.
We removed each other in FindMy and add each other again. Without success
EDIT: After reboot HA everything is ok now ![]()