mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-06 11:08:59 +00:00
1.3 KiB
1.3 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release |
---|---|---|---|---|---|---|---|---|---|---|
page | iCloud | Instructions how to use iCloud to track devices in Home Assistant. | 2015-12-15 1000 | true | false | true | true | icloud.png | Presence Detection | 0.10 |
The icloud
platform allows you to detect presence using the iCloud service. iCloud allows users to track their location on iOS devices.
It does require that your device is registered with "Find My iPhone".
To integrate iCloud in Home Assistant, add the following section to your configuration.yaml
file:
# Example configuration.yaml entry
device_tracker:
platform: icloud
username: USERNAME
password: PASSWORD
Configuration variables:
- username (Required): The username for the iCloud account.
- password (Required): The password for your given username.
This may cause battery drainage as it wakes up your device to get the current location.
You may receive an email from Apple stating that someone has logged into your account.
If you have two-factor authentication enabled on your iCloud account you will not be able to use this presence detection in HA, even with an app-specific password.