-
Notifications
You must be signed in to change notification settings - Fork 55
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
configurator.apple_id_verification_code entity is unavailable #264
Comments
Are you running iCloud3 v2.4.7 using the yaml configuration or the v3 beta version? |
It's v2.4.7 with manual yaml setup. Downloaded and installed with HACS. |
I am seeing the same issue running a similar setup ( iCloud 2.4.7 with yaml). I already tried reinstalling couple of times both HACS and iCloud.
Would appreciate any help |
Pretty sure its related to this |
In the iCloud3 config file, remove all of the email statements for all of your devices. This will (might) stop trying to set up the FmF tracking method for the devices since it can not be used. Then restart HA and try again. |
I believe this may different.
|
I tried but did not help. config_ic3 devices:
Then HA rebooted and I reset the iCloud interface. Apple PIN come, error message the same. However the log say: Initializing iCloud v2.4.7 "iCloud Alert > iCloud Account Verification completed" Later in Stage 2b the Alert come again: "FmF or FamShr Tracking Method is disabled until ....." |
The next thing to consider is installing v3. It’s still in beta but is solid. I just fixed a couple of issues with the latest and will do an update tomorrow. Beta 15 was installed by over 300 users. Go here and follow the links to the Release page and docs for more info. Go to the docs link first, then review the features and migrating from v2.4 first. |
ok, I'll do the upgrade soon and update the case |
Tried that it didn't work |
I tried installing beta v16a last night and ran into the same issue #122 "500 Internal Server Error Server got itself in trouble" gcobb321/icloud3_v3#122 (comment). I was able to make it work by first installing Beta 15 configure the devices and then upgrade to Beta 16a. Everything is working fine now. Version 3 is looking really good. I also noticed the direction for installation for beta 16 states - unzip it into the /config/icloud3 whereas the Beta 15 and documentation for manual installation say unzip it into the /config/custom_components/icloud3 directory. I went with beta 15 directions. |
I tried the V3 upgrade as DeWiseOne described above and it is now working for me too: now I receive attributes from iCloud again. The new iCloud V3 seems cool! I would note that the new version is loading very slowly for me after HA restart. I mean I see this message for ca 2 minutes: "Starting Device tracker, not everything will be available until it is finished." Then I found the following two error log records: =============================== Unable to set up dependencies of ios. Setup failed for dependencies: device_trackerLogger: homeassistant.setup Setup failed for ios: (DependencyError(...), 'Could not setup dependencies: device_tracker')But the data is coming from iCloud well !!! |
I experience the same error, but not after a new install. The existing integration stopped working and even after a restart and entering the valid verification code I also get this error: “iCloud Alert > FmF or FamShr Tracking Method is disabled until Verification has been completed. iOD App Tracking Method will be used." This doesn’t make sense because all these devices do not have the iOS App installed and also set to false in the yaml configuration. So I think v2.4.7 now died and there is a need to make the v3 release final. Will try out the beta version during this week. |
That message is probably not looking to see it’s you have the iOS app installed and it’s just a general message. |
I also have this problem: "the new version is loading very slowly for me after HA restart. I mean I see this message for ca 2 minutes: "Starting Device tracker, not everything will be available until it is finished. Setup failed for dependencies: device_tracker" i also tried to remove the device_tracker config in my configuration.yaml, but then it doesn't track.. which I find weird because I thought you did not need to leave this with v3.. device_tracker:
For the moment I then chose to keep the broken v2 version because the v3 makes my HA restarts very slow and seems to break things for my other integrations... so no tracking for me at the moment.. |
For me the icloud3 blocks HA restart for 4-5 minutes but after this time the tracking is stable and working well. |
Edit the manifest.json in the iCloud3 directory. |
Works - restart time as before upgrade .... Thank you your great work, Gary! |
Hmm. I'm running 2023.05.2 and mine started without any issues. I'm running on a [plain RPi (no virtual environments or anything like that). Try adding 'history' only back and see what happens. It's almost like iCloud is starting too early. Look in home-assistant.log and see where iCloud3 is getting set up. |
I use QNAP VM for HA 2023.05.3 (the same errors were on v2023.05.2 too) First I put back both "history" and "ios". Result - start delay back and Error gone With "history" only - starting is fast but the error come again, see logs below. Now I put back both "history" and "ios" again... =============================== Logger: homeassistant.components.device_tracker Error setting up platform legacy icloud3 Logger: homeassistant.components.device_tracker Platform icloud3 does not generate unique IDs. ID icloud3_gabor_iphone is already used by device_tracker.gabor_iphone - ignoring device_tracker.gabor_iphone Logger: icloud3 Attribute hass is None for <DeviceTracker: gabor_iphone/iphone> This error originated from a custom integration. Logger: icloud3 Traceback (most recent call last): File "/config/custom_components/icloud3/icloud3_main.py", line 805, in process_updated_location_data self._update_all_tracking_sensors(Device, update_requested_by) File "/config/custom_components/icloud3/icloud3_main.py", line 901, in _update_all_tracking_sensors Device.write_ha_device_tracker_state() File "/config/custom_components/icloud3/device.py", line 1317, in write_ha_device_tracker_state self.DeviceTracker.write_ha_device_tracker_state() File "/config/custom_components/icloud3/device_tracker.py", line 510, in write_ha_device_tracker_state self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 578, in async_write_ha_state raise RuntimeError(f"Attribute hass is None for {self}") RuntimeError: Attribute hass is None for <DeviceTracker: gabor_iphone/iphone> Logger: homeassistant |
Are you running v2 with the platform:icloud3 statement. I saw the message 'Error setting up platform legacy icloud3' or v3 set up as an integration or both? If both, remove the platform:icloud3 |
I'm sorry it seems I missed something during the upgrade from 2.4. ========================= Platform icloud3 does not generate unique IDs. ID icloud3_gabor_iphone is already used by device_tracker.gabor_iphone - ignoring device_tracker.gabor_iphone Logger: icloud3 Attribute hass is None for <DeviceTracker: gabor_iphone/iphone> This error originated from a custom integration. Logger: icloud3 Traceback (most recent call last): File "/config/custom_components/icloud3/icloud3_main.py", line 805, in process_updated_location_data self._update_all_tracking_sensors(Device, update_requested_by) File "/config/custom_components/icloud3/icloud3_main.py", line 901, in _update_all_tracking_sensors Device.write_ha_device_tracker_state() File "/config/custom_components/icloud3/device.py", line 1317, in write_ha_device_tracker_state self.DeviceTracker.write_ha_device_tracker_state() File "/config/custom_components/icloud3/device_tracker.py", line 510, in write_ha_device_tracker_state self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 578, in async_write_ha_state raise RuntimeError(f"Attribute hass is None for {self}") RuntimeError: Attribute hass is None for <DeviceTracker: gabor_iphone/iphone> |
Error message - Platform icloud3 does not generate unique IDs. ID icloud3_gabor_iphone is already used by device_tracker.gabor_iphone - ignoring device_tracker.gabor_iphone remove the iicloud3 ntegration. go to configure if it will let you we are trying to clean up some stuff in ha, with the gabor_iphone d_t entity. |
okay, I'll try this tomorrow - update soon :) |
So,
But gabor_iphone entity from V2.4 is still there in "gray" - how can I delete it? :) |
See if it is in |
yes, I found it in known_devices, so I deleted from yaml HA restarted then rebooted for sure - but gabor_iphone is still there .... |
I no longer have v3 installed in my devices but I still get this message when I try to reinstall.. what should I do (I did try restarting) ? |
oops my bad it was installed I just disabled it and was not seeing it because of the filters |
Have a similar issue with the topic "no unique entity ids". Have set up icloud3 yesterday, finished the card in the dashboard with all icloud3 entities. Today, entities were renamed and no info were shown on the cards. Found out that all entities icloud3 created yesterday were renamed. Entities like device_tracker.baerakafubu_2 and device_tracker.baerakafubu_3 and so on. Error message: "...ID icloud3_baerakafubu_iphone is already used by device_tracker.baerakafubu_iphone" how can i fix this error? @gcobb321 |
The Configure > Actions > Reload iCloud3 can cause this. It appears that HA is not unloading iCloud3 before it reloads it again causing new entities with a_# suffix to be created. This function has been removed from the next release. The easy fix is to delete all the entities with the _# suffix and restart HA |
Thx for the quick response, sir :) Are there any options to use originally entity names again? Was looking for the known_devices.yaml |
If there was a known_devices.yaml, remove them from that and restart HA twice. Then go to the Devices & settings > Entities and display the check box to select all entities. Then delete all entities. It will only delete the unassigned ones. Restart HA again and see if it uses the original ones. If it doesn’t, go back to the entities screen, select them one at a time and rename them |
Dear All,
I needed to reinstall iCloud3 integration but since reinstall the iCloud3 has some issue at the end of iCloud registering process. If I request a reset for the iCloud interface the issue is the same:
Has anyone encountered this error? How can I solve it?
Thanks in advance for any suggestions!
Thanks, Gabor
The text was updated successfully, but these errors were encountered: