home-assistant.io/source/_components/notify.google_voice.markdown
Fabian Affolter ce9c693e0b Fix for #314
2016-03-20 13:18:14 +01:00

1.5 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category
layout title description date sidebar comments sharing footer logo ha_category
page Google Voice SMS Instructions how to add user notifications to Home Assistant. 2016-01-29 true false true true google_voice.png Notifications

Google Voice is a free service, that allows sending of SMS messages to mobile phones.

Configuration

# Example configuration.yaml entry
notify:
  platform: googlevoice
  username: YOUR_GOOGLE_EMAIL
  password: YOUR_GOOGLE_PASSWORD
  # Optional
  name: NOTIFIER_NAME

Configuration variables:

  • username (Required): Enter your the Google email address you have signed up for Google Voice with. Go to https://www.google.com/voice to setup your Google Voice account.
  • password (Required): Enter the password associated with the above email.
  • name (Optional): 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.

Usage

Google Voice is a notify platform and thus can be controlled by calling the notify service as described here. It will send a notification to all devices listed in the notification target.

# Example automation notification entry
automation:
  - alias: The sun has set
    trigger:
      platform: sun
      event: sunset
    action:
      service: notify.googlevoice
      data:
        message: 'The sun has set'
        target:
          - 5555555555
          - 5555555556