gcobb321 / icloud3_v3

iCloud3 v3, Development Version - This Repo/Version is used for development and testing of new and updated features. It is not the official release of iCloud3 v3, .
MIT License
169 stars 13 forks source link

iCloud3 v3.1 ➤ Questions & Answers #350

Open gcobb321 opened 2 weeks ago

gcobb321 commented 2 weeks ago

Post any questions you have to this issue. Create a new issue if you are having problems.

xstrex commented 2 weeks ago

I can open a new issue if needed, but when trying to re-add my phone I'm getting "The configured device was not found in any of the Apple Accounts". Though I'm not seeing a way to tell what apple devices are configured in the account.

NR3Y commented 2 weeks ago

Gary, With the release of v3.1, did the update require further operations? I just updated mine (on my MacOS HA browser), and I see the following as the 'Apple ID'. Tried to use it, but didn't get authentication code.

Screenshot 2024-11-04 at 3 09 44 PM
Darkwulf183 commented 2 weeks ago

Me the same. I tested it today morning...

asinwang commented 2 weeks ago

APPLE ACCOUNT iCLOUD DEVICE - Apple iCloud device providing location data 🍎 ~~ xxxxx, Apple Account #1 of 1 ~~ 0 of 0 Tracked ~~~~

there 0 of 0 Tracked , can't Tracked anything

wormvortex commented 2 weeks ago

Mine is showingg 0 out of 7 devices being tracked with no way of adding them.

Screenshot 2024-11-05 at 14 56 29 Screenshot 2024-11-05 at 14 56 43 Screenshot 2024-11-05 at 14 56 48
gcobb321 commented 2 weeks ago

@asinwang @Darkwulf183 @NR3Y 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.

gcobb321 commented 2 weeks ago

@wormvortex See iCloud3 docs here for adding devices

NR3Y commented 2 weeks ago

Gary, so I'm a little confused. My v3.1 Event Log does indeed show issues...but when I go to the integration and look at the entities, they're showing actual data (which they weren't before v3.1).

Screenshot 2024-11-05 at 9 58 49 AM

Screenshot 2024-11-05 at 9 47 51 AM
wormvortex commented 2 weeks ago

@wormvortex

See iCloud3 docs here for adding devices

I've looked in all the options and I don't have a

"iCloud Account & Mobile App screen"

Has it changed in the new version.

Darkwulf183 commented 2 weeks ago

I have exact the same event log like @NR3Y. No operations are capabble. I have 13 Automations on mine and my Wifes Iphone and will not experiment to much.

akrigator commented 2 weeks ago

I've changed iCloud password in period when iCloud3 auth has been broken. I have installed 3.1 today and now have deadlock:

NR3Y commented 2 weeks ago

So, has anyone tried deleting the integration, rebooting/restart HA, then reinstalling it from HACS? I'm wondering whether a fresh install would 'clear' out the issues?

(For @Darkwulf183 issue, you probably would not need to delete the automation(s), they'd just be there ready for when you reinstall iCloud3 again.)

gcobb321 commented 2 weeks ago

@NR3Y A fresh install should be limited to the iCloud3 configuration file. Reinstalling the same code again probably won’t help. I hope to get v3.1.1 out with a simple way to clear Apple acct info to Default values and fix a few other things soon.

asinwang commented 2 weeks ago

@asinwang @Darkwulf183 @NR3Y 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.

This problem occurred on the second account I added. After the upgrade was completed, there was no problem with the original account. In addition, I created a new environment and tested it without success.

gcobb321 commented 2 weeks ago

@akrigator You should be able to go to the Configure Settings > Data Sources > Apple Account Username/Password screen, select your account, edit the current password, select Login... and Submit. It will validate it and update the config files with the new p/w.

Darkwulf183 commented 2 weeks ago

short info I'm out. I bought the HA Cloud solution and use the original app solution. I'm going to assign a new branch to the original app for the automations and see when Icloud 3 starts running properly again. As I control heating and hot water including setback temperatures via the geo positions, I can't wait any longer. Just to let you know that I can't and won't test anything for the time being. Thanks anyway for your effort. :-)

JtwoA commented 2 weeks ago

short info I'm out. I bought the HA Cloud solution and use the original app solution. I'm going to assign a new branch to the original app for the automations and see when Icloud 3 starts running properly again. As I control heating and hot water including setback temperatures via the geo positions, I can't wait any longer. Just to let you know that I can't and won't test anything for the time being. Thanks anyway for your effort. :-)

@Darkwulf183 4th grade called: they miss you. Please bring the ball back.

Seriously, I understand criticality, I just went thru this with local APIs from my Wx stations as I drive HVAC both with conditions provided from those as well as presence.

But dude... this is a change by Apple and Gary is not a paid dev for HA, Apple, or anyone else. He's a retired developer who has given a metric sxxx ton of his personal time to write, maintain, and support this integration. His responsiveness is better than most paid software.

Responses like yours are what lead to devs like Gary saying "I don't need this abuse" and stopping work on integrations like this. Please think before responding just how your response comes across.

Darkwulf183 commented 2 weeks ago

Hi @JtwoA , I absolutely understand what you mean. My intention was in no way to belittle gary's work. I have the utmost respect for his work. I just wanted to inform you with the thread that I won't be testing any further for the time being. I don't have the time at the moment and we have 0 degrees in my corner of Germany almost every night, so I need a functioning heating system... that's all it was. He is outstanding with his work that he has tackled the whole issue in this way. Sorry if that came across differently.

JtwoA commented 2 weeks ago

Sorry if that came across differently.

Takes a big man to apologize. Well done :-) @Darkwulf183 Stay warm!

gcobb321 commented 2 weeks ago

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 commented 2 weeks ago

@Darkwulf183 I think v3.1.1 fixes a bunch of stuff. I understand you need things to work 100% (well maybe 99%). Apple really screwed me up, as you can imagine. I had not planned on releasing v3.1 this early but it was better working with the new code than trying to implement it in v3.0. That would have been a lot worse and you would have had a poorer experience. Keep an eye on these issues and I'll see you when it settles down.

Gary

gcobb321 commented 2 weeks ago

@jspeckman See my note [here]{https://github.com/gcobb321/icloud3_v3/issues/341#issuecomment-2458440469} about the password problem. Changing it has worked for others.

Darkwulf183 commented 2 weeks ago

@Darkwulf183

I think v3.1.1 fixes a bunch of stuff. I understand you need things to work 100% (well maybe 99%). Apple really screwed me up, as you can imagine. I had not planned on releasing v3.1 this early but it was better working with the new code than trying to implement it in v3.0. That would have been a lot worse and you would have had a poorer experience. Keep an eye on these issues and I'll see you when it settles down.

Gary

Gary you are a real role model for me, I started to get into programming stories in 2007 at the technical school for mechanical engineering. If I ever get 20 percent of what you can do, then I'll take my hat off to myself. People like you are the absolute top hammer for me. As soon as there is something to test, I can now test freely. I deactivated iCloud 3 for the time being. I used the evening to clean everything to the cloud solution, i.e. to replace all the sensors. So now I can also test freely. If something breaks, it's no big deal. Thank you again for your time and the work you put into the project, such people are becoming increasingly rare. Thank you very much 😄

NR3Y commented 2 weeks ago

Should I be seeing an automatic request to upgrade from v3.1 -> v3.1.1 in HACS or the Integration dashboard? If so, I'm not. Maybe I need to be patient.

Screenshot 2024-11-08 at 10 03 22 AM

Not sure my upgrade was successful, as I'm still getting the same symptoms.

gcobb321 commented 2 weeks ago

@de5013 I monitor the HACS data file every 15-minutes for a version change. I’m not sure when HACS updates its files. The notification should come once HACS does that. Feel free to install it other ways. Over be patient.

Gary Cobb, aka geekstergary


From: DE5013 @.> Sent: Thursday, November 7, 2024 5:34:59 PM To: gcobb321/icloud3_v3 @.> Cc: Gary Cobb @.>; Author @.> Subject: Re: [gcobb321/icloud3_v3] iCloud3 v3.1 ➤ Questions & Answers (Issue #350)

Should I be seeing an automatic request to upgrade from v3.1 -> v3.1.1 in HACS or the Integration dashboard? If so, I'm not. Maybe I need to be patient.

— Reply to this email directly, view it on GitHubhttps://github.com/gcobb321/icloud3_v3/issues/350#issuecomment-2463362021, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIOOVB6C6HU26EIUFLQMTDLZ7PTJFAVCNFSM6AAAAABRETCHQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRTGM3DEMBSGE. You are receiving this because you authored the thread.Message ID: @.***>

gcor71 commented 2 weeks ago

v3.1.1 - working beautifully (thank you!). Except... when using the MAP card where I've added 4 iCloud3 entities "device_tracker.xxxx_phone". The 'Name' in the Map icons stays blank - it would show initials in the map circle. The icon is in the right location on the map. An unrelated 'KL' device_tracker from another integration displays correctly. I can't see where in my iCloud3 entities to add/update to expose the name to the Map card. Previously (before the glitch) it worked fine.

Thoughts / pointers?

image
garyak commented 1 week ago

Do you have entries in your customize.yaml file for the IC3 entities?

device_tracker.xxxx_phone:
  entity_picture: /local/xxxxx.jpg
  friendly_name: Rebecca
gcor71 commented 1 week ago

Do you have entries in your customize.yaml file for the IC3 entities?

device_tracker.xxxx_phone:
  entity_picture: /local/xxxxx.jpg
  friendly_name: Rebecca

No, I don't (knowingly) have a customize.yaml

More problematic is that after reinstalling today (in a silly attempt to fix the problem), things have gone from bad to worse. The integration will not start at all. Short of deleting everything and anything that mentions icloud3 and starting again... I don't know where to go.

Integration Failed to Set Up:

image

v3 Event Log is blank:

image

icloud3-0.log doesn't flag anything obvious (to me!): icloud3-0.log

garyak commented 1 week ago

customize.yaml is the "old school" way to configure entities. You can perform the same functions using the UI now. Select entities from the iCloud3 integration to configure naming, icon, etc.

The easiest way to clear your current IC3 installation would be to restore a backup from before you attempted the first IC3 installation. However, you may not need to start from scratch. If the integration remains available on the UI, you could walk through the configuration again looking for and correcting errors. Confirm your icloud account at Apple lists all the devices you wish to track and that each device is setup for Find My. I've setup Family Share for myself and my spouse so only one icloud account needs to be verified.

gcor71 commented 1 week ago

I’ll give it a try, thank you!

Sent from my iPhone

On 14 Nov 2024, at 15:17, Gary Kelley @.***> wrote:



customize.yaml is the "old school" way to configure entities. You can perform the same functions using the UI now. Select entities from the iCloud3 integration to configure naming, icon, etc.

The easiest way to clear your current IC3 installation would be to restore a backup from before you attempted the first IC3 installation. However, you may not need to start from scratch. If the integration remains available on the UI, you could walk through the configuration again looking for and correcting errors. Confirm your icloud account at Apple lists all the devices you wish to track and that each device is setup for Find My. I've setup Family Share for myself and my spouse so only one icloud account needs to be verified.

— Reply to this email directly, view it on GitHubhttps://github.com/gcobb321/icloud3_v3/issues/350#issuecomment-2476671165, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQWQK33HSV7FGWOTSTF2CY32AS5GXAVCNFSM6AAAAABRETCHQWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZWGY3TCMJWGU. You are receiving this because you commented.Message ID: @.***>

gcor71 commented 6 days ago

The easiest way to clear your current IC3 installation would be to restore a backup from before you attempted the first IC3 installation.

Thanks Gary. I am having seemingly endless problems with my installation. Sign-in takes an eternity - and the UI wont recognise successful login (the logs confirm it's OK), neither does the UI recognise successful validation code (again, log confirms OK). A couple of times I have nudged it along and got IC3 to take me to device configuration, but I'm not being presented with my device or any of my family sharing devices.

I have deleted and recreated the integration. I have tried several of the fixes shared during the recent issue investigation. I have reviewed the IC3 logs but they don't obviously flag an error.

To confirm, i am trying to register one iCloud account (my own). My account has FindMy sharing with 3 members of my family (working 100% on iPhone).

It feels like something is fundamentally wrong with my install and - before I undertake further investigation - I'd like to do a 100% clean re-install of IC3. Can you confirm the steps needed to do this? Which files and directories need removing? In other posts you've pointed to removing /icloud, /icloud3, .storage/icloud3.apple_acct ... any others? I do not have a backup to fall back to.

Thanks in advance for your support. I very much hope it's all user error on my part! ;-)

gcobb321 commented 6 days ago

The directories are:

Also restart HA 2 times before you readd the iCloud3 integration to make sure all of the HA caches are cleared.

t077584 commented 5 days ago

Hi Gary. I have a rather odd question and maybe it's not even an issue. But it's related to my wife and if the WAF is at stake, I run ;-) I have my garage door use case linked to your solution and for me, it works fine in most of the cases. Turns out that my wife complains, that whenever she comes home, the garage doesn't open and she had to wait for hours. Well, seconds, but you know how this is.

Today, we came home together (in the same car) and I used this opportunity, to compare the log entires. I see that her phone is checking in at home zone few seconds after mine, but I'm not good in reading and understanding the log very well hence I appreciated your support in how to solve this (if it can be solved at at all). The file is attached. Thx a lot for your support. Much appreciated. Cheers, Mike icloud3-event-log_2024.1116-18.08.log

gcor71 commented 5 days ago

The directories are:

  • /icloud3 - iCloud3 program files, Delete iCloud3 integration before you do this.
  • .storage/icloud3 - Configuration files
  • .storage/icloud3.apple_acct - Apple login cookies and session files
  • .storage/icloud - Old Apple acct cookies and session files (also used by the iCloud integration if it is installed)

Also restart HA 2 times before you readd the iCloud3 integration to make sure all of the HA caches are cleared.

@gcobb321 I'd appreciate your thoughts. I completed a clean install as outlined and have ben cautiously working through configuration, but seem to have got stuck at the first hurdle. After entering my account id and password it's been processing (blue spinner) for the best part of an hour. icloud3 log file for this period attached.

At about 11.37 on the log my iOS device prompted with a verification code. At about 11.47 I received email notification of a login to my iCloud account. At no point has the processing page changed.

What am I doing wrong? icloud3-0 (4).log