971 B
971 B
layout | title | description | date | sidebar | comments | sharing | footer | ha_category |
---|---|---|---|---|---|---|---|---|
page | Command line | Instructions how to add command line notifications to Home Assistant. | 2016-02-22 20:00 | true | false | true | true | Notifications |
The command_line
platform allows you to use external tools for notifications from Home Assistant.
To enable those notifications in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
notify:
name: NOTIFIER_NAME
platform: command_line
command: "espeak -vmb/mb-us1"
Configuration variables:
- name (Optional): Setting the optional parameter
name
allows multiple notifiers to be created. The default value isnotify
. The notifier will bind to the servicenotify.NOTIFIER_NAME
. - command (Required): The action to take.
To use notifications, please see the getting started with automation page.