Thanks for your time and effort, I really appreciate that.
Mabe I wait for V3 if its almost ready and try to install that.
Thanks for your time and effort, I really appreciate that.
Mabe I wait for V3 if its almost ready and try to install that.
been running it for several months now. Had a minimum of issues. This version is already verrrrry good.
hmm, so far Iāve followed the instructions and now HA is very unhappy about the device_tracker integration and canāt load it (or any of its dependencies).
Waiting on integrations to complete setup: mqtt, device_tracker
Going to try removing any reference to icloud3 from my configuration YAML and restart.
At the moment I canāt restart as restarting is blocked while HA tries to fully start.
@daneboom
So you unzipped the icloud3.zip file into the config/custom_components/icloud3
directory, restarted HA and it generated the Waiting on integrations ā¦ message?
The icloud3.zip file was from the Beta 14x Releases page at Releases Ā· gcobb321/icloud3_v3 Ā· GitHub
.
Are there any other error messages in the home-assistant.log file?
If HA is still hung starting, you will probably need to restart your HA server (RPi?). Did it still hang after that?
I resolved it by commenting out the iCloud integration part of my config.yaml
Once that was removed the new version bedded in and I was able to add it via the integrations page.
However, Iāve not had success with setting up my new trackers - it logged into iCloud just fine and found all my devices, just never pulled in any device info beyond their names and type.
So it new they were iPhone Xs, for example, but never provided a battery charge level or location information.
Iāve rolled back to a snapshot for now.
Looks promising but I maybe needed more time to fiddle?
@daneboom
When you say āIt logged into iCloud just fineā, do you mean you hit Configure, it displayed the Configuration Menu? or you displayed the Configuration Menu, selected the āiCloud Account Credentialsā, entered your username & password to log into your iCloud account? Did you then select Login? and Submit?
If you just selected Configure, then selected iCloud3 Devices, you might not see anything because you deleted the device_tracker icloud3 platform and iC3_v3 had not logged into your icloud account yet. When you commented out the device_tracker icloud3 platform, the username/password was not migrated to v3 so it could not get anything from the iCloud account. so you would not see anything.
Step #3 in the iCloud3 Docs in the Migrating From v2.4 to v3 here talks about verifying the iCloud Acct Credentials.
Sorry, I mean I successfully used the configuration menu to login to icloud by providing username and password and also got through the two factor verification stage as well.
As I say, it pulled in the devices so they were available in the drop down menus, but once configured, the new device trackers never showed any āstatesā. They were all just at āāā
The only thing which was at all confusing was the āfind-my-friendsā device list, as for MY own phone (the controlling account), my device wasnāt there. Which made sense in a way. When I was setting up my partnerās device tracker, she DID appear in the find-my-friends device list.
When the migration is done, all devices are set to inactive which means they will not be tracked. The status of each one has to be set to Tracked.
When it first went into beta, there were issues related to migrating the devices. This was eliminated by setting to Inactive, have them reviewed and if ok, change to tracked. The docs are not clear on this and that is the next thing to do on my list.
Do you remember if you changed them to Tracked? Were there Any error messages in the logs?
It is still in beta and Iām trying to understand what you ran into before you bailed and did a restore. Let me know if you want to give it another shot and Iāll work with you
Hi Gary, yes, happy to give it another go. Sorry, I would have responded sooner but I didnāt see that youād replied to me.
Pretty sure everything was set to tracked.
Taking a snapshot beforehand makes it all rather painless to rollback if it doesnāt work.
But sure - let me know how you want to proceed.
Dick, Iām now at my computer.
I installed it by unzipping the file in the appropriate directory, it showed up as an installed integration and I entered my login and auth code but I couldnāt get it to do/show anything. I guess Iāll wait till itās out of beta.
@lhf1
After you verified the iCloud username/password on the iCloud Account Credentials screen and logged into your iCloud account, Did you do the following?
If all devices are Inactive, none will be tracked and nothing will happen.
The version you used it very-very close to the release version. I have added some notifications to the Configuration Wizard warning you that there are Inactive devices that need to be checked. Other than that, what you were running is 99.6% of the release version. Iām just waiting on it to be added to HACS and to update the documentation.
I deleted it already, but my recollection is that everything was fine until I went to select devices and when I did, I got an uninformative error message.
Hmmm. I beat on the Configuration Wizard pretty hard this afternoon. I identified and fixed several error messages, added some checking to make sure the needed data was available for tracking. I also added some warning messages for missing username/password setup, no devices were available, all devices are inactive, etc.
I appreciate it if you could take one more shot to see if the problems you ran into are fixed and help me get this program as bullet proof as possible before itās releasedā¦
Iāve put up a beta15 here if you are up to it. Let me know and Iāll make sure Iām at my computer to handle anything that comes up. We can open an issues page on the v3 repository that will make things easier to follow. Thanks. Gary
Iāve copied the files of beta15 over my last install (I think it was beta12 or beta13) and now itās b0rkenā¦
2023-03-19 11:02:06.391 INFO (SyncWorker_3) [icloud3] Authentication completed successfully, method-Token
2023-03-19 11:02:06.620 INFO (SyncWorker_3) [icloud3] Authenticating account it....@tm....
2023-03-19 11:02:10.272 INFO (SyncWorker_3) [icloud3] Authentication completed successfully, method-Token
2023-03-19 11:02:49.024 ERROR (SyncWorker_5) [icloud3] 'setup'
File "/config/custom_components/icloud3/support/event_log.py", line 346, in update_event_log_display```
also important I think:
2023-03-19 11:02:02.492 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for icloud3 using this method at custom_components/icloud3/__init__.py, line 131: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
I just uploaded v3 beta15p2. The beta15p1 was missing the __init__.py
initialization file. Find it here.
That is what was causing the errors you were seeing.
One other minor thing: Iām guessing you use windows (^M) What IDE do you use?
Hi @gcobb321
really awesome project. Thank you for that!
Iāve installed the Beta today. It was straight forward with your detailed docu. But i miss one thing.
I donāt get a custom card do display the event log. Strange thing was that i donāt had a www folder in /config. My test system is running in docker.
Iāve created the path www/icloud3 manually within /config and copied the .js file into it but i canāt select the card in the dashboard. Iāve cleaned the browser cache and restarted HA
Do you have an idea how solve it?