iCloud3 v2.1 Device Tracker - iCloud3 v2.2 has been released (10/10/2020)

Trying to work through creating a non 2fa iCloud account but not sure on adding to the iPhone:

Ive created a new account on iCloud.com, and added my wife to the address book (contacts) BTW in stage 2 under the FMF tracking method, do I need to add myself in the Contacts list so as we can both be tracked?

Ive become stuck on stage 3, Add them to the Find My app… How do I add them, there’s no + button to add new friends in the app from what I can see.

I have just uploaded the iCloud3 v2.0.6 release candidate to the ‘development v2.0.6’ directory of the iCloud3 GitHub Repository. This release contains some enhancements, bug fixes and addresses issues related to HA changes since iCloud3 v2.0.5 was released on 12.8.2019.

  • Go here for the updated files and the complete change log.
  • Copy both ‘device_tracker.py’ and ‘pyicloud_ic3.py’ to the ‘custom_components/icloud3’ directory on the system running HA.
  • Review the ‘change.log’ file for a complete list of changes.

Abbreviated List of Changes

  • Fixed an issue where no Contacts were loaded from FmF so no devices would be tracked.
  • Changed how Stationary Zones are created and identified.
  • Added several new sensors. Added some missing sensor codes.
  • Updated some HA/iCloud3 internal system related items.
  • Fixed some Lovelace and iCloud3 Event Log issues.
  • Corrected some documentation mistakes.

The documentation will be completed in the next few days and released next week if there are no issues reported.

Gary

@denver

  • All devices you are tracking via the ‘track_devices’ parameter need to be in the contacts list.
  • The iCloud3 docs have some links to Apple’s Find My documentation. Yu can find them here. They should answer your adding friends to the Find My app questions.

Ive read and re-read and are still lost.

Do I need to log into the new iCloud account on my iPhone? because if so its going to remove all my data that’s not saved in my 2fa account.

If I follower step 3 ‘Add them to the Find me app’, when I click on the + to share my location my original contacts list appears which is right as the phone is still logged into my original 2fa account.

I don’t know why I’m struggling with this, Im just not getting the ‘light bulb’ moment.

OK, I’ve got a little bit closer to getting this to work I believe, but not sure why I’m getting these errors:

2020-02-21 14:47:41 INFO (SyncWorker_2) [custom_components.icloud3.pyicloud_ic3] Authentication completed successfully
2020-02-21 14:47:41 INFO (SyncWorker_2) [custom_components.icloud3.device_tracker] Authentication for User: [email protected] (group1) successful
2020-02-21 14:47:41 INFO (SyncWorker_2) [custom_components.icloud3.device_tracker] iCloud3 v2.0.5 Initalization > Stage 2, Setting up tracked devices
2020-02-21 14:47:41 INFO (SyncWorker_2) [custom_components.icloud3.device_tracker] Decoding > my_icloud_iphone > [email protected]
2020-02-21 14:47:41 INFO (SyncWorker_2) [custom_components.icloud3.device_tracker] Scanning </config/.storage/core.entity_registry> for entity registry for IOS App v2 device_tracker for <my_icloud_iphone>
2020-02-21 14:47:41 INFO (SyncWorker_2) [custom_components.icloud3.device_tracker] Decoding > wifes_icloud_iphone > [email protected]
2020-02-21 14:47:41 INFO (SyncWorker_2) [custom_components.icloud3.device_tracker] Scanning </config/.storage/core.entity_registry> for entity registry for IOS App v2 device_tracker for <wifes_icloud_iphone>
2020-02-21 14:47:41 ERROR (SyncWorker_2) [custom_components.icloud3.device_tracker] 'fmf'
Traceback (most recent call last):
  File "/config/custom_components/icloud3/device_tracker.py", line 5636, in _setup_tracked_devices_for_fmf
    fmf = self.api.friends
  File "/config/custom_components/icloud3/pyicloud_ic3.py", line 459, in friends
    service_root = self.webservices['fmf']['url']
KeyError: 'fmf'
2020-02-21 14:47:41 INFO (SyncWorker_2) [custom_components.icloud3.device_tracker] Not Tracking (FmF) > my_icloud_iphone ([email protected])
2020-02-21 14:47:41 INFO (SyncWorker_2) [custom_components.icloud3.device_tracker] IOS App v1 monitoring > device_tracker.my_icloud_iphone
2020-02-21 14:47:41 INFO (SyncWorker_2) [custom_components.icloud3.device_tracker] Not Tracking (FmF) > wifes_icloud_iphone ([email protected])
2020-02-21 14:47:41 INFO (SyncWorker_2) [custom_components.icloud3.device_tracker] IOS App v1 monitoring > device_tracker.wifes_icloud_iphone
2020-02-21 14:47:41 ERROR (SyncWorker_2) [custom_components.icloud3.device_tracker] iCloud3 Error: Setup aborted for Group-group1, [email protected]. No devices to track.

My config looks like this:

device_tracker:
  - platform: iphonedetect
    consider_home: 60
    new_device_defaults:
      track_new_devices: true
    hosts:
      my_wifi_detect: 192.168.1.134
      wifes_wifi_detect: 192.168.1.135

  - platform: icloud3
    username: [email protected]
    password: Sxxxxx-6xxxxe-cxxxxxc
    track_devices:
      - my_icloud_iphone > [email protected]
      - wifes_icloud_iphone > [email protected]

Thanks in advance for any help

@denver
I noticed that you are in the UK. Several weeks ago, another user in the UK had a problem where no contact information was being sent from Apple’s iCloud Service when iCloud3 was loading, leading to an error and no devices being tracked. I updated iCloud3 to fix the problem. He has been using it for several weeks and was able to then track his phones. Although the error messages are different, the problems may be related.

Yesterday, I uploaded v2.0.6 to the iCloud3 ‘development v2.0.6’ repository that contained the fix to that issue, along with several others. The release notes and description how to get it are posted several notes before this one. Rather than repeating everything, follow the instructions in the note above to download and install the update and lets see if the latest issue about the ‘fmf’ error goes away. If it does, great. If not, let me know and I’ll work with you to see what is going on.

The First Name is not available using the alternate method of identifying the followed devices. You might want to change the track_devices statement to add the names:

- my_icloud_iphone > [email protected], MyName
- wifes_icloud_iphone > [email protected], WifeName

Thank you Gary, Ive carried out the update and things seem to be getting better.

2020-02-22 09:55:54 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] Setting up iCloud3 v2.0.6c device tracker for User: [email protected], Group: group1, using device_tracker.legacy code

2020-02-22 09:55:54 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] Waze Settings: Region=US, Realtime=False, MaxDistance=1000 mi, MinDistance=1 mi
2020-02-22 09:55:54 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] iCloud3 v2.0.6c Initalization > Stage 1, Verify iCloud Location Service
2020-02-22 09:55:54 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] iCloud3 Tracking Method: Find My Friends
2020-02-22 09:55:54 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] Requesting Authentication for [email protected] (group1)
2020-02-22 09:55:54 INFO (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3] Authenticating as [email protected]

2020-02-22 09:55:55 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] ________ Raw PyiCloudSession request data ________
2020-02-22 09:55:55 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] Callee=FrameInfo(frame=<frame at 0x55ec0d7b3940, file '/config/custom_components/icloud3/pyicloud_ic3.py', line 572, code requestAppleWidgetKey>, filename='/config/custom_components/icloud3/pyicloud_ic3.py', lineno=572, function='requestAppleWidgetKey', code_context=['                                         params=apple_widget_params)\n'], index=0)
2020-02-22 09:55:55 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] ..........................
2020-02-22 09:55:55 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] PyiCloud request, args=GET, kwargs=https://setup.icloud.com/setup/ws/1/validate

2020-02-22 09:55:55 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] Response=<Response [200]>

2020-02-22 09:55:55 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] --------------------------
2020-02-22 09:55:55 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] ________ Raw PyiCloudSession request data ________
2020-02-22 09:55:55 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] Callee=FrameInfo(frame=<frame at 0x55ec0dd575a0, file '/config/custom_components/icloud3/pyicloud_ic3.py', line 690, code requestAppleSessionToken>, filename='/config/custom_components/icloud3/pyicloud_ic3.py', lineno=690, function='requestAppleSessionToken', code_context=['                                          user_pw_payload)\n'], index=0)
2020-02-22 09:55:55 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] ..........................
2020-02-22 09:55:55 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] PyiCloud request, args=POST, kwargs=https://idmsa.apple.com/appleauth/auth/signin?widgetKey=d39ba9916b7251055b22cer47wq65rf6e45ds52ddecea835dfa8d9d1a815d
2020-02-22 09:55:56 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] Response=<Response [200]>
2020-02-22 09:55:56 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] --------------------------
2020-02-22 09:55:56 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] ________ Raw PyiCloudSession request data ________
2020-02-22 09:55:56 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] Callee=FrameInfo(frame=<frame at 0x55ec0da4f240, file '/config/custom_components/icloud3/pyicloud_ic3.py', line 325, code authenticate>, filename='/config/custom_components/icloud3/pyicloud_ic3.py', lineno=325, function='authenticate', code_context=['                data=json.dumps(data))\n'], index=0)
2020-02-22 09:55:56 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] ..........................
2020-02-22 09:55:56 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] PyiCloud request, args=POST, kwargs=https://setup.icloud.com/setup/ws/1/accountLogin

2020-02-22 09:55:58 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] Response=<Response [200]>
2020-02-22 09:55:58 DEBUG (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3.http] --------------------------
2020-02-22 09:55:58 INFO (SyncWorker_28) [custom_components.icloud3.pyicloud_ic3] Authentication completed successfully
2020-02-22 09:55:58 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] Authentication for [email protected] (group1) successful
2020-02-22 09:55:58 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] iCloud3 v2.0.6c Initalization > Stage 2, Setting up tracked devices
2020-02-22 09:55:58 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] Decoding > me_icloud_iphone > [email protected], me_icloud
2020-02-22 09:55:58 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] Scanning </config/.storage/core.entity_registry> for entity registry for IOS App v2 device_tracker for <me_icloud_iphone>
2020-02-22 09:55:58 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] Decoding > wifes_icloud_iphone > [email protected], wifes_icloud
2020-02-22 09:55:58 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] Scanning </config/.storage/core.entity_registry> for entity registry for IOS App v2 device_tracker for <wifes_icloud_iphone>
2020-02-22 09:55:58 ERROR (SyncWorker_28) [custom_components.icloud3.device_tracker] 'fmf'
Traceback (most recent call last):
  File "/config/custom_components/icloud3/device_tracker.py", line 5556, in _setup_tracked_devices_for_fmf
    fmf = self.api.friends
  File "/config/custom_components/icloud3/pyicloud_ic3.py", line 476, in friends
    service_root = self.webservices['fmf']['url']
KeyError: 'fmf'
2020-02-22 09:55:58 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] Not Tracking (FmF) > me_icloud_iphone ([email protected])
2020-02-22 09:55:58 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] IOS App v1 monitoring > device_tracker.me_icloud_iphone
2020-02-22 09:55:58 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] Not Tracking (FmF) > wifes_icloud_iphone ([email protected])
2020-02-22 09:55:58 INFO (SyncWorker_28) [custom_components.icloud3.device_tracker] IOS App v1 monitoring > device_tracker.wifes_icloud_iphone
2020-02-22 09:55:58 ERROR (SyncWorker_28) [custom_components.icloud3.device_tracker] iCloud3 Error: Setup aborted for Group-group1, [email protected]. No devices to track.

and device tracker amended to

      - me_icloud_iphone > [email protected], Me_icloud
      - wifes_icloud_iphone > [email protected], Wifes_icloud

I also don’t get the logs cards come up in Lovelace, just a blank page

resources:
 - url: /local/custom-cards/icloud3-event-log-card.js?v=1.000
    type: js

views:

  ..... other titles and cards working  .....

  - title: iCloud Event Log
    icon: mdi:information-outline 
    cards: 
      - type: custom:icloud3-event-log-card
        entity: sensor.icloud3_event_log

Thanks again for you time on this issue.

I have duplicated your error and have made corrections to display error message on the iCloud3 Event Log when it occurs.

The problem is no data is being sent from Apple’s Web Servers because you have not set up any contacts or devices to follow on the non-2fa account. The steps to configure everything are described in detail in the iCloud3 documentation here. From what I can tell, you have completed step #1 but have not continued with #2-#4. Review everything again and see if that gets you going.

I think where I’m becoming confused here is step 4 seems to refer to logging into my non_2fa account on my iPhone, If I do, I will lose the information in my original 2fa account on the iPhone surly? and as my non_2fa will only have the two contacts entered in step 2 I wont have any other information in the phone. So I’ve not tried this yet.

You only have to log into the non-2fa account to set up the contacts and the devices to follow. Once you have verified that you can follow the 2fa devices, you log out of the non-2fa account and back into your normal 2fa account. I haven’t logged back into my non-2fa account for months.

Is it possible to push zone changes to the iOS app?

I’m not getting zone exit events when leaving the stationary zone as the app doesn’t receive the updated coordinates. I only get a significant location change some time after.

The only way I’ve been able to get updated zone or new zone locations in the app is to kill it completely and start it again.

@scotty1395. I’m not sure if I can push the zone changes to the iOS app. HA just added a zone.refresh service call which says it will reload the zones from the config file but the stationary zone is created on the fly. I’m am getting stationary zone exits but haven’t checked the trigger. Will do so when out driving around tomorrow.

When you are in a stationary zone, check the App Settings. Go to Location and see if the stationary zone is listed with your other zones. I have updated when the stat. Zone is created from when HA loads to when it’s needed. The update is in the ‘development v2.0.6’ directory of the GitHub repository here.

I was going to push the new version tomorrow but will wait to see if the zone info shows up on your device after you have downloaded and tried v2.0.6. Let me know if v2.0.6 works, if the zone info shows when you are in a stationary zone and if there is an exit trigger when you leave the zone.

Thanks Gary.

Using v2.0.5 the stationary zone appears in the app but with 90, 180 coordinates (App Configuration > Location). The coordinates have been successfully updated in HA as it correctly shows on the map.

I tried the zone.refresh service yesterday but it didn’t change App Configuration > Location.

I’ll try v2.0.6 now and report back

v2.0.6 testing…

  • Status set to Stationary
  • Stationary zone gets created
  • Stationary zone not visible in Sidebar > Map
  • Stationary zone is visible on map in Configuration > Zones
  • Stationary zone not in App Configuration > Location
  • Moving out of zone triggered by significant location change

If the app is forced closed while in a stationary zone and reopened the zone appears in App Configuration > Location. Moving out of the zone triggered by geographic region exited.

A pull down refresh of the app doesn’t get the updated zone, only a force close.

Hope this is helpful. It seems it may be a HA/app issue. I assume this wasn’t the behavior of the v1 app? - I’ve only started using iCloud3 since the v2 app.

Hi, i’m tracking two iphones with iclloud3 but the location is updated only if i restart home assistant.

This is my configuration

  - platform: icloud3
    username: !secret icloud_marco_user 
    password: !secret icloud_marco_pwd
    track_devices: 
      - iphone_marco > [email protected], /local/images/marco.jpg, Regione
      - iphone_silvia > [email protected], /local/images/silvia.jpg, Crass
    unit_of_measurement: km
    group: family
    waze_region: EU
    waze_realtime: True

I use Home Assistat app companion v2

and this is the log

2020-03-04 08:48:33 ERROR (SyncWorker_16) [custom_components.icloud3.device_tracker] 'friendly_name'
Traceback (most recent call last):
  File "/config/custom_components/icloud3/device_tracker.py", line 905, in restart_icloud
    self._initialize_zone_tables()
  File "/config/custom_components/icloud3/device_tracker.py", line 5358, in _initialize_zone_tables
    self.zone_friendly_name[zone_name] = zone_data[ATTR_FRIENDLY_NAME]
KeyError: 'friendly_name'
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] iCloud3 v2.0.5 Initalization > Stage 2, Setting up tracked devices
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] Decoding > iphone_marco > [email protected], /local/images/marco.jpg, Regione
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] Scanning </config/.storage/core.entity_registry> for entity registry for IOS App v2 device_tracker for <iphone_marco>
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] Matched IOS App v2 entity <iphone_marco_2> with iCloud3 tracked_device <iphone_marco>
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] Matched IOS App v2  <sensor.iphone_marco_last_update_trigger> with iCloud3 tracked_device <iphone_marco>
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] Decoding > iphone_silvia > [email protected], /local/images/silvia.jpg, Crass
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] Scanning </config/.storage/core.entity_registry> for entity registry for IOS App v2 device_tracker for <iphone_silvia>
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] Tracking (IOSApp) > iphone_marco ([email protected])
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] IOS App v2 monitoring > device_tracker.iphone_marco_2, sensor.iphone_marco_last_update_trigger
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] Tracking (IOSApp) > iphone_silvia ([email protected])
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] IOS App v1 monitoring > device_tracker.iphone_silvia
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] Tracking Devices >  iphone_marco(iphone_marco_2), iphone_silvia
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] iCloud3 v2.0.5 Initalization > Stage 3, Setting up iphone_marco
2020-03-04 08:48:33 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] Stationary Zone Set > iphone_marco_stationary, GPS-(90, 180)
2020-03-04 08:48:34 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] iCloud3 v2.0.5 Initalization > Stage 3, Setting up iphone_silvia
2020-03-04 08:48:34 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] Stationary Zone Set > iphone_silvia_stationary, GPS-(90, 180)
2020-03-04 08:48:35 ERROR (SyncWorker_9) [custom_components.icloud3.device_tracker] iCloud3 Error: IOS App v2 Entity device_tracker.iphone_marco_2 does not contain location attributes (latitude, longitude). Refresh & restart IOS App on device, request a Manual Refresh, check Developer Tools>States entity for location attributes, check HA integrations for the entity. Restart HA or issue 'device_tracker.icloud3_reset' Service Call. Reverting to IOS App v1.
2020-03-04 08:48:35 INFO (SyncWorker_9) [WazeRouteCalculator.WazeRouteCalculator] From: 43.510312,13.261564 - to: 43.599576996292356,13.503999710083008
2020-03-04 08:48:35 INFO (SyncWorker_9) [WazeRouteCalculator.WazeRouteCalculator] Time 25.72 minutes, distance 29.11 km.
2020-03-04 08:48:35 INFO (SyncWorker_9) [WazeRouteCalculator.WazeRouteCalculator] From: 43.599576996292356,13.503999710083008 - to: 43.510312,13.261564
2020-03-04 08:48:36 INFO (SyncWorker_9) [WazeRouteCalculator.WazeRouteCalculator] Time 23.55 minutes, distance 27.91 km.
2020-03-04 08:48:36 INFO (SyncWorker_9) [custom_components.icloud3.device_tracker] iphone_silvia(None) Device Tracking Complete, Results-BaseZone-crass > Zone-home, GPS-(43.510312, 13.261564), Interval-2 hrs, Dist-29.1 km, TravTime-26 min (in_zone), NextUpdt-10:48:30, Located-07:48:34 (1 hrs ago)
2020-03-04 08:48:36 INFO (SyncWorker_16) [custom_components.icloud3.device_tracker] iCloud3 v2.0.5 Initalization > Stage 4, Locating devices
2020-03-04 08:48:36 INFO (SyncWorker_9) [custom_components.icloud3.device_tracker] iphone_silvia(None) Device Tracking Complete, Results-BaseZone-home > Zone-home, GPS-(43.510312, 13.261564), Interval-2 hrs, Dist-0 km, TravTime- (in_zone), NextUpdt-10:48:30, Located-07:48:34 (1 hrs ago)
2020-03-04 08:48:40 INFO (SyncWorker_13) [WazeRouteCalculator.WazeRouteCalculator] From: 43.510312,13.261564 - to: 43.609771728516,13.510528564611
2020-03-04 08:48:41 INFO (SyncWorker_13) [WazeRouteCalculator.WazeRouteCalculator] Time 30.60 minutes, distance 29.96 km.
2020-03-04 08:48:41 INFO (SyncWorker_13) [WazeRouteCalculator.WazeRouteCalculator] From: 43.609771728516,13.510528564611 - to: 43.510312,13.261564
2020-03-04 08:48:47 INFO (SyncWorker_13) [WazeRouteCalculator.WazeRouteCalculator] Time 27.78 minutes, distance 28.91 km.
2020-03-04 08:48:47 INFO (SyncWorker_13) [custom_components.icloud3.device_tracker] iphone_marco(None) Device Tracking Complete, Results-BaseZone-regione > Zone-home, GPS-(43.510312, 13.261564), Interval-2 hrs, Dist-30.0 km, TravTime-31 min (in_zone), NextUpdt-10:48:45, Located-07:48:33 (1 hrs ago)
2020-03-04 08:48:47 INFO (SyncWorker_13) [custom_components.icloud3.device_tracker] iphone_marco(None) Device Tracking Complete, Results-BaseZone-home > Zone-home, GPS-(43.510312, 13.261564), Interval-2 hrs, Dist-0 km, TravTime- (in_zone), NextUpdt-10:48:45, Located-07:48:33 (1 hrs ago)
2020-03-04 08:48:48 WARNING (MainThread) [homeassistant.helpers.condition] Value cannot be processed as a number: <state sensor.iphone_marco_waze_distance=; unit_of_measurement=, icon=mdi:map-marker-distance, friendly_name=-iPhone-Marco-Waze Dist @ 2020-03-04T08:48:48.020613+01:00> (Offending entity: )
2020-03-04 08:48:49 INFO (SyncWorker_13) [custom_components.icloud3.device_tracker] iphone_silvia(None) Device Tracking Complete, Results-BaseZone-home > Zone-home, GPS-(43.510312, 13.261564), Interval-2 hrs, Dist-0 km, TravTime- (in_zone), NextUpdt-10:48:45, Located-08:48:37 (3 sec ago)
2020-03-04 08:48:50 INFO (SyncWorker_12) [custom_components.icloud3.device_tracker] iphone_marco(None) Device Tracking Complete, Results-BaseZone-home > Zone-home, GPS-(43.510312, 13.261564), Interval-2 hrs, Dist-0 km, TravTime- (in_zone), NextUpdt-10:48:45, Located-08:48:48 (2 sec ago)

@B1G There might be several things going. It looks like Marco is running iosapp v2 while Silva is running iosapp v1. iCloud3 will work that way but I thought the v1 app had gone away.

The v2 app on Marco is giving an error that the location (latitude and longitude) attributes do not exist. This Could be some type of problem with the app set up. Check the developer tools/states sidebar in HA for device_tracker. Iphone_marco and make sure these entities exist. You may need to delete and readd the mobile app integration if they are not correct. See the docs for the mobile app for more info.

You also have something going on with an incomplete set up of the zones that is giving an error about the friendly name attribute is missing. Check the zone entity in the developer tools/states seven to see is the zones are set up correctly. I added a check in v2.0.6e to display an error if this occurs.

I will be uploading that version tomorrow, 3/5/2020 to the development directory in the iCloud3 repository. More info about v2.0.6e will be posted when I do it.

But see what is going on with the iOS app integration and how the zones are set up first.

@gcobb321 device_tracker.iphone_marco state Home

source_type: gps
latitude: xx.yyyyy
longitude: xx.yyyyy
gps_accuracy: 65
zone: home
last_zone: home
zone_timestamp: '03/07/20, 17:22:42'
interval: 2 hrs
travel_time: ''
zone_distance: 0
calc_distance: 0
waze_distance: ''
last_located: '17:23:32'
last_update: '17:23:35'
next_update: '19:23:30'
poll_count: '2:2:0'
dir_of_travel: in_zone
travel_distance: 0
info: ''
battery: 0
battery_status: null
altitude: 0
vertical_accuracy: 0
device_status: 0
low_power_mode: null
trigger: 'NextUpdateTime@17:23:30'
timestamp: '2020-03-07T17:23:35'
authenticated: '03/07/20, 17:22:30'
group: family
tracking: ' iphone_marco(iphone_marco_2)'
icloud3_version: 2.0.5
friendly_name: Marco

and device_tracker.iphone_marco_2 state unknown

source_type: gps
friendly_name: iPhone Marco

i deleted and readded mobile app integration 2 or 3 times but nothing changed.

Zones are correctly configured I think

hidden: true
latitude: ***
longitude: ***
radius: 100
passive: false
editable: true
friendly_name: Casa
icon: 'mdi:home'

Hi,
I have installed the iCloud3 from HACS but I have no idea what to do next
this add-on not adding any entity?
the event log need to add only to the ui.yaml? if I want to keep using the UI Lovlace and iCloud3 device tracker I can do that?

@Barak_Michaeli The first thing you need to do is to review the iCloud3 documentation on the iCloud3 GitHub repository here. It explains everything, has many examples and will get you going.

after reading it I have the question above, its not clear from the guide what need to do next, I need to look for some entity? how to proceed after the installation ?