Install and Configure the Home Assistant iOS App and Enable Notifications

The last part of this series covers setting up the Home Assistant iOS app and enabling notifications. Future posts about Home Assistant will be more ad-hoc now that I have most of my smart home requirements already in-place. This is the process I followed to get the app installed and connected with my Home Assistant setup based on the documentation:
- Add the
ios:
entry to configuration.yaml - Restart Home Assistant
- Install the iOS app and enter the URL (this would be the Duck DNS URL created when setting up remote access) and password for Home Assistant into the app settings
- Enable notifications in the app settings
- Restart Home Assistant again so it can detect the iOS app is connected
- Home Assistant should now have new
sensor
entities for the battery status of the iPhone - Verify that notifications are working by triggering a test notification manually; do this by calling the notify service from the Developer Tools > Services page
- A notification should appear on the iPhone; if there is a problem, try restarting Home Assistant and then restarting the app
With notifications enabled, you can send them via automations as-needed, just follow the documentation. The first notification I created simply lets me know when the garage door opens (this example is in my automations.yaml file). It even sends a live camera feed from a D-Link camera I have in the garage that I can view when I expand the notification using the data
parameter:
- id: garage_door_opened
alias: Garage Door Opened
trigger:
platform: state
entity_id: binary_sensor.garage_door_tilt_sensor_sensor
from: 'off'
to: 'on'
action:
service: notify.ios_joshs_iphone_6
data:
title: "Garage Door"
message: "Garage door was opened."
data:
push:
category: camera
entity_id: camera.garage_camera
I’ve since set up several additional notifications for other triggers around my house and they all work great! As an alternative, you could use PushBullet ,IFTTT, or others, but so far I like the Home Assistant app and it seems to work very well to support notifications.
Series: Creating My Smart Home
- Making All of My Smart Home Devices Work Together with Home Assistant
- Initial Setup and Configuration of Home Assistant on a Raspberry Pi
- Control Z-Wave Devices with Home Assistant Using an Aeotec Z-Stick
- How to Fix GE Z-Wave Switches Not Updating in the Home Assistant UI
- Track Home/Away Status for Your Household Using Their Smart Phones and Home Assistant
- Add Alexa Voice Control to Home Assistant with the Emulated Hue Bridge
- Control TP-Link Smart Plug with Harmony Hub via Emulated Hue Bridge
- Add System Monitoring to Home Assistant
- Organize the Home Assistant Web UI with Groups
- Set Up Secure Remote Access for Home Assistant
- Install and Configure the Home Assistant iOS App and Enable Notifications