iCloud3 v3 iDevice Tracker - Version 3

Hello, it ie very annoying … my son at home since noon, it is now 13:35 and map still whows him at school.
So no update for 2 hours, as I see next update will be at 13:46PM

Also companion app is installed on his mobile - isn’t it supposed to update with the data from companion app neither ? Issue is that I can’t update the device settings in Icould because of “Unknown error” :

I will try to open an issue for it, but any help is welcome
:wink:

Many thanks to you

@cedricdelecole

  1. As I recall, that error was fixed in v3.0.5.9. The version you are running is displayed in the Event Log during startup in the message that iCloud3 is started and completed. It is also displayed when you hover a mouse over the _Event Log > Actions _ button and when exiting the iCloud3 > Configuration. Update to v3.0.5.9 and see if your error is fixed.
  2. From the iCloud3 docs here

iCloud3 monitors the Mobile App device_tracker entity and several sensors for zone enter/exit triggers, location changes and battery level updates. The sensors are monitored for changed data every 5-seconds. iCloud3 also sends messages to the Mobile App when an error occurs and when a location update from the Mobile App is needed.

iCloud3 does not require the Mobile App to be installed on an iPhone or iPad. However, if it is not installed, the following happens:

iCloud3 will not react to a Zone Enter or Exit events until the phone’s Next Update Event time. This will delay the device entering a zone or exiting from it.
- Significant location changes will not be available.
- The device’s battery level is not available.
- Notifications can not be sent to the device.
- In this case, a short inZone Interval will help reduce the time between location updates.

Thanks a lot @gcobb321

Well, from the event log and trying to update the integration, it tells I already have 3.0.5.9 installed :

image

image

But from the integration page, it says 3.0.5.8 :

… and still, the problem persists, even after a restart :

I will concentrate on what you say on piont 2 when point 1 will be solved, because I need to check what is configured for those devices in the config section.

After my issues (described abit above) I also updated to 3.0.5.9 and while overall situation is way better, in some cases I observe discrepancy between what mobile app reports and what iCloud integration reports regarding zones.It really seems that iCloud is not properly capturing entering the zone from mobile app. BUT upon checking I noticed that I have the same issue as @cedricdelecole reported - version discrepancy 3.0.5.9 that suposed to be installed and 3.0.5.8 that is reported… Something wrong on GitHub?

@mirekmal
HA shows the version number when going to when Configure screens. It gets that from the icloud3/maifest.json file. I forgot to update that when I released v3.0.5.9. The real version you an are running is in the Event Log header message displayed when iCloud3 starts. It also shows above Actions when you select Event Log > Actions and when you exit the Configure screen.

@cedricdelecole
If you are also getting the error trying to update a device in the Configure screen, the code causing the error in an integration can be displayed by going to _Settings > System > Logs. Look for an error message from iCloud3 and click on it to get the detailed message and post it here.

Also see if there at any messages in the Event Log.

Also go to the Configure > iCloud3 Devices > Select > Update Device screen and create the error. Then send the icloud-0.log file to [email protected] and I’ll take a look at it.

It is probably something in the configuration file caused by the downgrade to v3.0.5.9 from v3.1.3.

Hello @gcobb321, the “log” is not showing anything when I try to replicate the error :

… but I do not see where to find the logs you are talking about … :
“by going to _Settings > System > Logs”
nor
" send the icloud-0.log file"

Is it in HA config somewhere accessible through Studio code server for example here ?

P.S. I am running HA on a Synology NAS (Virtual machine)

Many thanks !

@cedricdelecole
The icloud3-0,log file is in the config directory at the same location as the home_assistant.log file. The directory you have open is the config/.storage directory. That directory contains the configuration files for HA and many integrations.

The HA Error Log items is at HA Sidebar > Settings > System > Logs.

Thanks a lot, @gcobb321 … reproducing the issue now at 08:33 … for iPhone Inès as well as iPhone Alessio … “Unknown error occurs” :

Looking at the HA logs I effectively see an error appearing, but doesn’t seem related to the issue ? :

Now sending you the icloud3-0,log file as requested via mail.

Many Thanks !!

Can’t get app to track iPhone…

I have this in the logs but unsure if the account is bad or it just can’t find my phone

11:26:17pApple Acct > somewhere@…………, Failed to log into the Apple Account (Connection Error 503), will retry every 15-minutes
11:26:17pUNVERIFIED DEVICES ALERT > Some Tracked Devices could not be verified.
• Unverified Devices > Steve (calz_iphone)
11:26:17pMOBAPP DEVICE NOT FOUND > The device tracker entity was not found during the scan of the HA Device Registry.
× ScanFor: calz_iphone > Assigned to Steve (calz_iphone)

10:58:57pSteve (calz_iphone) > iPhone, :x: NOT TRACKED
• iCloud Tracking Parameters:
◦ Apple Account: Steve
◦ iCloud Device: :x:Calz_iPhone, Not Found in Apple Acct
:x:Mobile App Tracking Parameters:
◦ MobApp Device:
◦ Device Tracker…: ScanFor: calz_iphone
◦ Action Trigger…: UNKNOWN
◦ Battery Sensor…: UNKNOWN
◦ Notifications…: WAITING FOR NOTIFY SVC TO START`
• Other Parameters:
◦ inZone Interval: 2 hrs

In icloud findme and in the HA app it lists the device name as Calz_iphone with a capital C, does this matter?

How do I resolve?

@Calzor_Suzay
See See here for more information about this problem.

I will have an updated version of iCloud3 out later this week. In the mean time, others have reverted to v3.0.5.9

1 Like

Issue: iCloud3 Configuration Problem with Apple Account Login

I’m trying to set up iCloud3 v3.1.3 on Home Assistant to track my iPhone 14 Pro Max (device_tracker_koalamanx_iphone_14_pro_max), but I’m stuck with the following error:

Apple Acct Waiting to Complete Login > [email protected]

The iCloud3 Event Log keeps showing alerts like:

“Setup Errors: Koalamanx iPhone 14 Pro Max not verified.”

“Apple Account not logged into. A device’s Apple Account was not logged into and will not be tracked.”

What I’ve Tried:

  1. Verified Credentials:

• Apple ID and password for [email protected] are correct.

• I’ve also generated and used an App-Specific Password (required for accounts with 2FA).

  1. Apple ID Verification Code:

• Successfully entered the 6-digit verification code during setup when prompted.

  1. iCloud3 Integration Configuration:

• Added the iCloud3 integration via HACS.

• Navigated to HA Settings > Devices & Services > iCloud3 > Configure to set up the account and tracked device.

  1. Tracked Device Settings:

• Added my iPhone in the iCloud3 Devices screen.

• Selected Track - Request Location and track the device under Tracking Mode.

• Set Apple Account iCloud Device to the correct device (but it shows koalamanx > 0 of 0 Tracked).

  1. Mobile App Integration:

• Installed and configured the Home Assistant Mobile App on my iPhone to ensure it provides location and zone activity data.

  1. File Setup:

• Verified the icloud3-event-log-card.js is in /www/icloud3/ and added as a Lovelace resource (/local/icloud3/icloud3-event-log-card.js).

  1. Restarted Services:

• Restarted Home Assistant and iCloud3 multiple times after making changes.

  1. Checked Network and Logs:

• Verified my Raspberry Pi has stable internet access.

• Reviewed iCloud3 logs, which state:

“Apple Acct not logged in.”

“Some tracked devices could not be verified.”

Additional Problem:

When I get to the Update iCloud3 Device screen (screenshot attached), I’m unsure what to select under APPLE ACCOUNT iCLOUD DEVICE - Apple iCloud device providing location data. The dropdown menu includes the following options:

• None - Not using the Apple Acct iCloud Location Service

• Koalaman.x, Apple Account #1 of 1 ~~~~ 0 of 0 Tracked ~~~~

• @ All Apple account devices are assigned

• @ ~~~~ ASSIGNED TO ICLOUD3 DEVICES ~~~~

I’ve tried selecting Koalaman.x, Apple Account #1 of 1, but the Event Log keeps saying “Device not verified”, and the issue persists.

System Details:

• Home Assistant running via Docker on Raspberry Pi.

• iCloud3 installed as a custom HACS integration.

• Using the latest version of iCloud3 and Home Assistant Mobile App.

What I Need:

Any guidance on resolving the issue with iCloud login and device verification in iCloud3. Have I missed any steps, or is there a known workaround for this problem? Also, is the “0 of 0 tracked” status normal at this stage? Lastly, am I selecting the correct option for APPLE ACCOUNT iCLOUD DEVICE, or should I use a different setting?

EDIT: Was not an issue on my side, but I think rather Apples side.

Got this working by downgrading.

Will do for now.

Thanks I think I got it working again.
Maybe Apple will decide what they’re doing and we can move on :slight_smile: