The Apple [iCloud](https://www.apple.com/icloud/) is used to retrieve data such as the battery level or current location of one or multiple Apple devices connected to an iCloud account.
Updates are quick and accurate without significant battery time impact.
The Binding also offers access to the "Find My iPhone" function.
An Apple account is required.
Two factor authentication is supported.
Please note: Application specific passwords are not supported.
You will need to provide the account password to the Binding.
## Discovery
An iCloud account can be added as a Thing and needs to be configured with your ID and password.
The devices registered to this account will then be automatically discovered.
## Binding Configuration
The Binding has no configuration options, all configuration is done at Thing level.
## Thing Configuration
The Binding provides two Thing types.
### Account Thing
The account Thing, more precisely the account Bridge, represents one Apple iCloud account.
The account can be connected to multiple Apple devices which are represented as Things below the Bridge, see the example below.
You may create multiple account Things for multiple accounts.
### Device Thing
A device is identified by the device ID provided by Apple.
If a device is removed or disconnects from the account the respective openHAB device Thing status will change to `OFFLINE`.
All Things are updated according to the configured refresh time of their shared account Bridge.
You may force an update by sending the `REFRESH` command to any channel of the Bridge Things.
However this `REFRESH` command will not request data directly from the phone, but it will only make a query to the server.
## Channels
### Account Thing
The account Thing does not provide any channels.
### Device Thing
The following channels are available (if supported by the device):
| batteryStatus | String | Current battery status (Charging, NotCharging, Charged, Unknown) |
| batteryLevel | Number | Battery charge in percent |
| findMyPhone | Switch | Triggers the ["Find My Phone"](https://support.apple.com/explore/find-my-iphone-ipad-mac-watch) functionality of the device (if available). |
| location | Location | GPS coordinates of the devices current/last known location |