mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-06 02:58:57 +00:00

1) Added missing notifiers to general notifier page and rearranged notifiers to be in alphabetical order. 2) Added documentation about new name property for notifiers and how it works into the service call.
1.9 KiB
1.9 KiB
layout, title, description, date, sidebar, comments, sharing, footer
layout | title | description | date | sidebar | comments | sharing | footer |
---|---|---|---|---|---|---|---|
page | Syslog notification support | Instructions how to add syslog notifications to Home Assistant. | 2015-06-09 16:00 | false | false | true | true |

To enable syslog notifications in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
notify:
name: NOTIFIER_NAME
platform: syslog
facility: SYSLOG_FACILITY
option: SYSLOG_LOG_OPTION
priority: SYSLOG_PRIORITY
Setting the optional parameter name
allows multiple notifiers to be created.
The default value is notify
. The notifier will bind to the service
notify.NOTIFIER_NAME
.
The table contains values to use in your configuration.yaml
file.
facility | option | priority |
---|---|---|
kernel | pid | 5 |
user | cons | 4 |
ndelay | 3 | |
daemon | nowait | 2 |
auth | perror | 1 |
LPR | 0 | |
news | -1 | |
uucp | -2 | |
cron | ||
syslog | ||
local0 | ||
local1 | ||
local2 | ||
local3 | ||
local4 | ||
local5 | ||
local6 | ||
local7 |
For details about facility, option, and priority please consult the wikpedia article and RFC 3164.
To use notifications, please see the getting started with automation page.