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 changes FAMILY SHARING LIST DEVICE back to older devices #233

Closed MrIcemanLE closed 9 months ago

MrIcemanLE commented 1 year ago

I noticed that icloud3 changes the device listed under the option FAMILY SHARING LIST DEVICE back to older devices that are still in this List. (e.g. from the current iphone 13.1 back to the iphone 8) I have to change it back to the correct device almost every day.

Question 1) Can this issue be fixed?

Question 2) How to get rid of the older devices in this List? Maybe you can add an ignore list?

gcobb321 commented 1 year ago

When iCloud3 starts, all the devices in the iCloud account are listed on the Event Log in Stage 4. If there are several devices in your Family Sharing list with the same name, iCloud3 tries to pick the newest one and use it. It’s internal Apple device if it’s then stored in the iCloud3 configuration. A duplicate device alert/error message is displayed in the Event Log when this occurs.

  1. Did you see any messages in the Event Log about this?
  2. I would be interested in a Debug Log file that shows what happens when iCloud3 starts to identify the problem. Set the Log Level to Debug on Configure Settings > Page 2 > Format Parameters screen. Restart iCloud3. When you see it h has changed back to the old phone, email the _icloud_0.log_file to geekstergary@gmail.com. I’ll check it out and see
  3. After I see what is happening, we can get rid of the older device in the list.
  4. what version of v3 are you running?

Thanks

JtwoA commented 1 year ago

I noticed that icloud3 changes the device listed under the option FAMILY SHARING LIST DEVICE back to older devices that are still in this List. (e.g. from the current iphone 13.1 back to the iphone 8) I have to change it back to the correct device almost every day.

Question 1) Can this issue be fixed?

Question 2) How to get rid of the older devices in this List? Maybe you can add an ignore list?

Wouldn't removing the old device from the icloud account rectify this, @gcobb321 ? If the iPhone 8 is no longer in use then why is it still attached to the account?

gcobb321 commented 1 year ago

@JtwoA Yes it would. iCloud3 it’s suppose to look at the last location time and pick the most current one in Case of duplicates. I wanted to get a log file to check that and work through any problems before doing that.

The next release will generate an HA error that goes into the HA log if there are duplicates.

Instead of picking the one with the last location, I’m thinking about keeping the one that was configured and giving a duplicate message in the Event Log and in the device tracker entity or another sensor for the device that displays until the duplicate is removed. I always get a question from several people about a device that no longer tracks and it turns out they upgraded to a new phone and didn’t change the config.

MrIcemanLE commented 1 year ago

I'll try to capture the event when the integration changes the device. This might take a few hours/days.

The curious thing is, that the older devices are off. So they can't report a newer location to apple.

I’m thinking about keeping the one that was configured and giving a duplicate message in the Event Log

That sounds great ...

gcobb321 commented 1 year ago

The devices are off but if they are still in your iCloud account, they would still have a location time that may be days or weeks ago.

MrIcemanLE commented 1 year ago

If there are several devices in your Family Sharing list with the same name, iCloud3 tries to pick the newest one and use it

My comment was due to your comment of the latest location. And I think I already removed the device from my wife's account. But I'll double check this.

MrIcemanLE commented 12 months ago

BTW: Found the reason why devices are listed even though they are not listed in Apple Account. The list of devices in the "Find My" application is not synchronized with the account. So after removing the device, it still lives in the Find My app. Since I deleted it from my wife's app. The problem is gone. But maybe you can still take a look at the issue in case someone else has the same problem.

gcobb321 commented 9 months ago

Closing this issue with the release of v3.0