Command line Notify


The command_line platform allows you to use external tools for notifications from Home Assistant. The message will be passed in as STDIN.

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 string(Optional, default: notify)

Setting the optional parameter name allows multiple notifiers to be created. The notifier will bind to the service notify.NOTIFIER_NAME.

command stringRequired

The action to take.

command_timeout integer(Optional, default: 15)

Defines number of seconds for command timeout.

To use notifications, please see the getting started with automation page.