Home Assistant Mobile Notifications - HerbFargus/Wikis GitHub Wiki

One really useful tool for home automation is notification integration with mobile devices. This is a quick overview of setting up mobile notifications on Home Assistant using Android.

This assumes you have already installed the home assistant app and that your phone is on the same network as your home assistant, so you either need to always be on a VPN into your network or pay for the cloud service if you want it outside of your network.

Basic Push Notifications:

under Developer Tools>Services the dropdown has an option for notify.mobile_app_pixel_3a

A test call for a message could be:

title: "Look Out"
message: "A Robber is at the door!"

If you want to set an automation for any time that your sensors change, this is an example automations.yaml:

- id: '1600764467151'
  alias: Front Door
  description: ''
  trigger:
  - platform: state
    entity_id: binary_sensor.wyzesense_7778809d
  condition: []
  action:
  - service: notify.mobile_app_pixel_3a
    data:
      title: Look Out!
      message: A Robber is at the front door!
  mode: single
- id: '1600764833338'
  alias: Garage Door
  description: ''
  trigger:
  - platform: state
    entity_id: binary_sensor.wyzesense
  condition: []
  action:
  - service: notify.mobile_app_pixel_3a
    data:
      title: Look Out!
      message: A Robber is in the garage!