Merge pull request #2444 from home-assistant/ios-doc-fixes

minor iOS docs updates
This commit is contained in:
Robbie Trencheny 2017-04-16 15:29:01 -07:00 committed by GitHub
commit 49611dfd1d
6 changed files with 12 additions and 8 deletions

View File

@ -24,7 +24,7 @@ The app is available on the iOS App Store in every country that Apple supports.
## Basic requirements ## Basic requirements
* iOS device running at least iOS 9, but iOS 10 is greatly preferred. * iOS device running at least iOS 9, but iOS 10 is greatly preferred.
* Home Assistant 0.31.1 or higher for push notification support. * Home Assistant 0.42.4 or higher for push notification support.
* SSL is strongly recommended. Self-signed SSL certificates will not work due to Apple's limitations. * SSL is strongly recommended. Self-signed SSL certificates will not work due to Apple's limitations.
The `ios` component is the companion component for the Home Assistant iOS app. While not required, adding the `ios` component to your setup will greatly enhance the iOS app with new notification, location and sensor functions not possible with a standalone app. The `ios` component is the companion component for the Home Assistant iOS app. While not required, adding the `ios` component to your setup will greatly enhance the iOS app with new notification, location and sensor functions not possible with a standalone app.
@ -40,7 +40,9 @@ The `ios` component will automatically be loaded under the following circumstanc
1. The [`discovery`][discovery] component is enabled. 1. The [`discovery`][discovery] component is enabled.
2. You have just installed the app and are at the getting started screen. 2. You have just installed the app and are at the getting started screen.
Automated discovery and component loaded can only happen at first install of the app. You may need to wait a few minutes for the iOS component to load as the `discovery` component only scans the network every 5 minutes. Automated discovery and component loading only happens at first install of the app. You may need to wait a few minutes for the iOS component to load as the `discovery` component only scans the network every 5 minutes.
After the first automated setup you need to add `ios:` to your configuration so that the component loads by default even after restarting Home Assistant.
### Manual Setup ### Manual Setup

View File

@ -34,7 +34,7 @@ automation:
trigger: trigger:
... ...
action: action:
service: notify.iOSApp service: notify.ios_<your_device_id_here>
data: data:
message: "Something happened at home!" message: "Something happened at home!"
data: data:
@ -51,7 +51,7 @@ automation
trigger: trigger:
... ...
action: action:
service: notify.iOSApp service: notify.ios_<your_device_id_here>
data: data:
message: "Something happened at home!" message: "Something happened at home!"
data: data:

View File

@ -17,7 +17,7 @@ Will show a map with a red tipped pin at the coordinates given.
The map will be centered at the coordinates given. The map will be centered at the coordinates given.
```yaml ```yaml
service: notify.iOSApp service: notify.ios_<your_device_id_here>
data: data:
message: Something happened at home! message: Something happened at home!
data: data:
@ -44,7 +44,7 @@ You can use the attachment parameters `content-type` and `hide-thumbnail` with c
You can view an example [here](https://www.youtube.com/watch?v=LmYwpxPKW0g). You can view an example [here](https://www.youtube.com/watch?v=LmYwpxPKW0g).
```yaml ```yaml
service: notify.iOSApp service: notify.ios_<your_device_id_here>
data: data:
message: Motion detected in the Living Room message: Motion detected in the Living Room
data: data:

View File

@ -22,7 +22,7 @@ automation
trigger: trigger:
... ...
action: action:
service: notify.iOSApp service: notify.ios_<your_device_id_here>
data: data:
message: "request_location_update" message: "request_location_update"
``` ```

View File

@ -19,7 +19,7 @@ Here is an example notification that uses one of the pre-installed sounds.
trigger: trigger:
... ...
action: action:
service: notify.iOSApp service: notify.ios_<your_device_id_here>
data: data:
message: “Something happened at home!” message: “Something happened at home!”
data: data:

View File

@ -38,5 +38,7 @@ The app is [open source](https://github.com/home-assistant/home-assistant-iOS),
<p style="text-align: center;"><a target="_blank" href="https://itunes.apple.com/us/app/home-assistant-open-source-home-automation/id1099568401?mt=8" style="display:inline-block;overflow:hidden;background:url(//linkmaker.itunes.apple.com/assets/shared/badges/en-us/appstore-lrg.svg) no-repeat;width:135px;height:40px;background-size:contain;"></a></p> <p style="text-align: center;"><a target="_blank" href="https://itunes.apple.com/us/app/home-assistant-open-source-home-automation/id1099568401?mt=8" style="display:inline-block;overflow:hidden;background:url(//linkmaker.itunes.apple.com/assets/shared/badges/en-us/appstore-lrg.svg) no-repeat;width:135px;height:40px;background-size:contain;"></a></p>
_Please note, you must have Home Assistant 0.42.4 or later installed for the app to function properly._
Thanks for everything so far, I'm looking forward to the road that lies ahead for Home Assistant on iOS! Thanks for everything so far, I'm looking forward to the road that lies ahead for Home Assistant on iOS!