Setup yaml for iCloud. Now what?

I’ve installed Hassio on my pi 4 yesterday and the first thing I want to do is setup device tracking via iCloud. I adde the following with correct values to the configuration.yaml file:

device_tracker:

  • platform: icloud
    username: USERNAME
    password: PASSWORD
    account_name: accountname

(Please excuse and formatting issues as I’m on my phone!)

After restarting HA, what should happen? I don’t see anything added to the homepage.

TIA

There’s a code button there too. Or use backticks ``

Want to know if it actually added any devices?

Go to the developer page > states and look for device_tracker.yourphonesname

If you have taken control of the GUI, then you have to manually add the device to the frontend. If the device doesn’t show up, you should consult your logs for details.

The iCloud tracker will drain your phone’s battery as it has to poll the device regularly. It uses the ‘find my phone’ service.

You might be better off with the Home Assistant Companion App. It has push location updates only when things change significantly.

Thanks to both of you. I have my phone showing up on the map and logs my movement from zone to zone. But it only seems to work when the iOS HA app is running.

What I’m after is device tracking without an app being open (I want to know when the daughter leaves school and gets home safely).

Any advice on how to go about this? I installed OutTracks (?) on my iPhone but couldn’t find the integration in the HA add on store.

Cheers,

Grahame

because it’s an integration and is located in the INTEGRATIONS section of your configuration page. Add-ons are NOT integrations.

Thanks friend - I’ve found it now! D’oh.

Does OwnTracks have to be running to be tracked?

Edit: new question