Skip to content
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

Device is not on account list #396

Open
enigma746 opened this issue Nov 15, 2024 · 16 comments
Open

Device is not on account list #396

enigma746 opened this issue Nov 15, 2024 · 16 comments

Comments

@enigma746
Copy link

ok i still got problems... its so frustrating.

i updated on the newst HA version and updated icloud3 after that. now i got the same problem as yesterday.

i am not good in this stuff... can you tell me where i find the event log?

when i go to "update icloud3 device" i got the error "A device providing location data must be selected" twice. its posted at "apple account icloud device" and "mobile app device tracker entity". at apple account i can only chose my account. if i do that the error is posted again. if i choose a mobile app device tracker entity there is no error, but the device trackers are wrong.

i am sure if i activate the backup again its working again.

i hope you can help me because im really frustrated at the moment. i dont know what i did wrong by updating :(

best regards

timo

@enigma746
Copy link
Author

STAGE 5 > DEVICE CONFIGURATION SUMMARY
⡇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
11-14 20:23:04 STAGE5 iCloud3 Device Configuration Error > Lenas iPhone (lphone), iCloudDevice-Lenas iPhone(3), Not in Apple Acct-timowitt86@…………
11-14 20:23:04 STAGE5 Lenas iPhone (lphone) > iPhone, Tracked
• iCloud Tracking Parameters:
◦ Apple Account: Lenas iPhone
◦ iCloud Device: ❌Lenas iPhone(3), Not Found in Apple Acct
• Mobile App Tracking Parameters:
◦ MobApp Device: Lenas Iphone
◦ Device Tracker..: device_tracker.lenas_iphone
◦ Action Trigger...: lenas_iphone_last_update_trigger
◦ Battery Sensor..: lenas_iphone_battery_level
◦ Notifications.....: WAITING FOR NOTIFY SVC TO START"
• Other Parameters:
◦ inZone Interval: 10 mins
◦ Log Zone Activity: Mausehause → (Zone.csv)
11-14 20:23:04 STAGE5 iCloud3 Device Configuration Error > Timos iPhone (tphone), iCloudDevice-tPhone, Not in Apple Acct-timowitt86@…………
11-14 20:23:04 STAGE5 Timos iPhone (tphone) > iPhone, Tracked
• iCloud Tracking Parameters:
◦ Apple Account: Timos iPhone
◦ iCloud Device: ❌tPhone, Not Found in Apple Acct
• Mobile App Tracking Parameters:
◦ MobApp Device: Wphone
◦ Device Tracker..: device_tracker.wphone
◦ Action Trigger...: wphone_last_update_trigger
◦ Battery Sensor..: wphone_battery_level
◦ Notifications.....: mobile_app_tphone
• Other Parameters:
◦ inZone Interval: 10 mins
◦ Log Zone Activity: Mausehause → (Zone.csv)
11-14 20:23:04 STAGE6 ⡇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⡇ ICLOUD3 INITIALIZATION COMPLETE
⡇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

@gcobb321
Copy link
Owner

See iCloud3 docs here for info on the Event Log.

The Configure > iCloud3 Devices screen > Select Device, Submit displays the Update Device screen. It is used to select the Apple Account device and Mobile App device. Info on it is here. Some screens have changed in v3.1. The docs have not been updated.

Check your Apple account devices on the FindMy app. The (3) after Lena’s debt ice name indicates you may face multiple devises with the same or similar names. This can happen when you get a new phone without removing the old one from your account.

@chaosclarity84
Copy link

chaosclarity84 commented Nov 17, 2024

Can confirm here as well. Updated to latest version in HA. I did get a new 16 Pro, old phone is NOT listed in Find My (I actually sold it and removed Find My before selling it). I also deleted all devices and my account from the intergation to start over completely. After signing in fresh to my icloud account, zero devices are found in my account. I would like to believe it's something that's wrong in the integration.

@enigma746
Copy link
Author

enigma746 commented Nov 18, 2024

I logged in on icloud.com and you are right, the old phones from Lena are still in that list. We own that phones still but we are not using them. Lenas iPhone (3) is the newst phone of my wife and she bought it one year ago. icloud3 did work with both of our phones untill I updated it. I dont know why icloud3 cannot find those phones on my apple account.

Additionaly i added the event log card like you linked it (thx!) and I updated the devices multiple times, but it didnt make it work.

Still need help :(

@gcobb321
Copy link
Owner

Go to Event Log > Actions > Export Event Log and email the file to geekstergary@gmail.com. I’ll see if I notice anything unusual.

@gcobb321
Copy link
Owner

A lot of info is displayed in the Event Log when iCloud3 starts. The devices in the Apple account are set up in Stage 4. That area shows the device info for all of the devices Apple sent to iCloud3 and how those devices were associated with the iCloud3 devices. Review that and Stages 3 and 5 to make sure your devices are listed And correct.

@gcobb321
Copy link
Owner

gcobb321 commented Nov 21, 2024

The configuration info you sent has a bunch of error messages at the start of the Event Log that tell you to:

  • Refresh your browser to load the latest version of the Event Log
  • That there are no Apple accounts set up on _Configure > Data Sources-Apple Accts & MobApp _ screen Go there and do that
  • The Apple acct data source is not selected.

It also looks like there are some missing fields from the configuration file that store that data. iCloud3 v3.1 added these missing fields when it started for the first time and it looks like it did not complete.

Review and add the apple account on _Configure > Data Sources-Apple Accts & MobApp _ screen
Review the devices and Apple act on Configure > iCloud3 Devices screen > Select Device screen
If you run into any errors or can not set them up, delete the configuration file directory .storage.icloud3 and restart HA. Keep the .storage.icloud3.apple_acct directory. Then restart HA and go to the Configure to set everything up again.

EDIT: I looked at the routines that added those fields to the configuration file and found an error where the apple account config field was not being initialized correctly when it was added to the file. Sorry you ran into it.

@enigma746
Copy link
Author

I added an Apple account before I posted the log. It is still there but 0 deviced are tracked.
My devices are still not on the Account list. I also deinstalled and installed icloud3 but its still the same.

Where is the configuration file? I'm searching it but I'm not used to this. Maybe it helps when i delete it and icloud3 is creating a new one.

The FindMy app is still working great. It's just that icloud3 is not getting the informations from my Apple account.

@ivorunev
Copy link

Same here :) I think, i've tried everything - deleted config, reinstalled the app, changed the password of the Apple account, sill the same, Apple account is in the app. logged successfully, but no devices to track !!!

@zoe4196
Copy link

zoe4196 commented Nov 25, 2024

Same issue just happened to me. Saying 6 of 0 devices are being tracked. All devices are now unverified.

@dl5dla
Copy link

dl5dla commented Nov 25, 2024

Same thing here. A few days ago it worked fine, but now it doesn't without me changing anything. I wonder if Apple made some changes on their side that may have caused the problem (?). Here are some lines from the log:

...........................................................................................................
11-25 07:14:30 1stLOC  Requesting Initial Locate                                                                                 
<skipped>
.... PETER.******, POST, REQUEST,  _AUTHENTICATE_WITH_PASSWORD_SRP/993                                                            
...   items={'url': 'idmsa.apple.com/appleauth/auth/signin/init', 'retry': 0, 'json': None}                                     
...   data.items={'accountName': 'peter.***@............', 'a': '*********'}                                          
11-25 07:15:00 ------
.... PETER.*****, POST, RESPONSE, _AUTHENTICATE_WITH_PASSWORD_SRP/993                                                           
...   items={'code': 503, 'ok': False}                                                                                           
11-25 07:15:00 ------  peter.******, Authentication Failed, Connection Error, Secure Password Validation Data was not returned from Apple. ErrorCode-5
11-25 07:15:00 iCloud3 v3.1.3                                                                                                    
<skipped>                                                    
custom_components.icloud3.support.pyicloud_ic3.PyiCloudFailedLoginException: peter.****, Authentication Failed, Connection Error, Secure Password Va 
11-25 07:15:00 ------  Apple Acct > peter...., Login Successful                                                                  
11-25 07:15:00 STAGE4 ...............................................................................................................................
                                          ...    STAGE 4 > DATA SOURCE DEVICE ASSIGNMENT (RETRY)                                  ...........................................................................................................
11-25 07:15:00 STAGE4  Verify Apple Acct > peter...., Verified                                                                   
11-25 07:15:00 STAGE4  Apple Acct > peter...., Data for a Device not returned from Apple                                         
                            ... Peters iPhone 14 Pro (peters_iphone_14_pro) > Device-Peters iPhone 14 Pro                        
                            ... Peters Apple Watch (peters_apple_watch) > Device-Peters Apple Watch                              
                            ... Peters Airpods Pro (peters_airpods_pro) > Device-Peters AirPods Pro                              
11-25 07:15:00 STAGE4  Apple Acct > peter...., 0 of 0 tracked            

@gcobb321
Copy link
Owner

gcobb321 commented Nov 25, 2024

About the 503 error. Yes Apple changed things. It has nothing to do with iCloud3 other than Apple reverted to the old password authentication method before they broke it at the end of October. See the 503 isseus again here for more info

@dl5dla
Copy link

dl5dla commented Nov 25, 2024

Thanks. Yes, downgrading do 3.0.5.9 solves the problem for me as well.

@ivorunev
Copy link

Yeah, downgrading worked for me too 👍

@enigma746
Copy link
Author

Same here. Well that feels good after so many hours of trying >.<

@gcobb321 Sorry if its a stupid question, but are you working on a solution for that? Is it even possible to solve this? Im just a little noob :(

@gcobb321
Copy link
Owner

@enigma746
See here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants