mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-07 03:28:58 +00:00

* Fix a bunch of typos/spelling mistakes * Removed extra spaces from emulated_hue * Correct device type. of binary_sensor.enocean.markdown
1.4 KiB
1.4 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release |
---|---|---|---|---|---|---|---|---|---|---|
page | REST | Instructions how to add RESTful notifications to Home Assistant. | 2016-02-12 07:00 | true | false | true | true | restful.png | Notifications | 0.13 |
The rest
notification platform allows you to deliver RESTful notifications from Home Assistant to another party.
To enable the REST notification in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
notify:
- name: NOTIFIER_NAME
platform: rest
resource: http://IP_ADDRESS/ENDPOINT
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
. - resource (Required): The resource or endpoint that will receive the value.
- method (Optional): The method of the request. Default is GET.
- message_param_name (Optional): Parameter name for the message. Defaults to
message
. - title_param_name (Optional): Parameter name for the title. Defaults to none.
- target_param_name (Optional): Parameter name for the target. Defaults to none.
To use notifications, please see the getting started with automation page.