Apprise


The Apprise service is an all-in-one solution to open up Home Assistant to just about every Notification platform (such as Amazon SNS, Discord, Telegram, Slack, MSTeams, Twilio, etc.)

Configuration

To use Apprise supported notifications, add the following to your configuration.yaml file:

# Example configuration.yaml entry using URLs
notify:
  - name: NOTIFIER_NAME
    platform: apprise
    url: YOUR_APPRISE_URLS

You can also pre-define your own configuration files while storing them either remotely or locally. Simply just use the config option.

# Example configuration.yaml entry using externally located Apprise
# Configuration Files/Sites:
notify:
  - name: NOTIFIER_NAME
    platform: apprise
    config: YOUR_APPRISE_CONFIG_URLS

There is no restriction on the number of URLs or Apprise Configuration locations you wish to define. You can also use both of the lines in conjunction with one another:

# Example configuration.yaml entry using all options
notify:
  - name: NOTIFIER_NAME
    platform: apprise
    config: YOUR_APPRISE_CONFIG_URLS
    url: YOUR_APPRISE_URLS

Configuration Variables

name string (Optional, default: notify)

The notifier will bind to the service notify.NAME.

url string (Optional)

One or more Apprise URLs

config string (Optional)

One or more Apprise Configuration URLs

Example service call

- service: notify.NOTIFIER_NAME
  data:
    message: "A message from Home Assistant"

If you’re using configuration files to store your Apprise URLs in, then you have the added bonus of associating tags with them. By default, Apprise in Home Assistant will only notify the elements that have no tags associated with them. You can optionally focus on only notifying a specific service based on the tag(s) you assigned them like so:

- service: notify.NOTIFIER_NAME
  data:
    message: "A message from Home Assistant"
    target: [
      "tag_name1",
    ]

The tag all is reserved to notify absolutely everything, whether you have a tag associated with a URL or not.

Notes

There are over 50 supported Notification services supported by Apprise. Each has their own tweaks and customizations you can leverage.

  • For instructions on how to construct the URLs, visit here.
  • For instructions on how you can customize your own Apprise configuration files (referenced through the config directive), check out the following: