mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-01 08:47:35 +00:00

* e.g. to e.g., and proper case for Home Assistant * Instructions how to -> Instructions on how to
1.6 KiB
1.6 KiB
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release |
---|---|---|---|---|---|---|---|---|---|---|
page | MessageBird | Instructions on how to add user notifications to Home Assistant. | 2016-03-15 17:00 | true | false | true | true | message_bird.png | Notifications | 0.16 |
The MessageBird
notification platform sends notifications as SMS messages using MessageBird to your mobile phone.
To enable MessageBird notifications in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
notify:
- name: NOTIFIER_NAME
platform: message_bird
api_key: YOUR_API_KEY
Configuration variables:
- api_key (Required): Enter the API key for MessageBird. Go to https://www.messagebird.com/ to retrieve your API key.
- 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
. - sender (Optional): Setting the optional parameter
sender
. This will be the sender of the SMS. It may be either a telephone number (e.g.,+4915112345678
) or a text with a maximum length of 11 characters. Defaults toHA
.
{% linkable_title Usage %}
MessageBird is a notify platform and thus can be controlled by calling the notify service as described here. It will send a notification to the specified mobile phone number(s).
{% linkable_title Example service payload %}
{
"message": "A message for many people",
"target": [ "+49123456789", "+43123456789" ]
}