Doorbell - Notify Alexa

Tags: #<Tag:0x00007f325b8b50f8> #<Tag:0x00007f325b8b5008> #<Tag:0x00007f325b8b4e00>

Blueprint to make a TTS announcement when a binary sensor goes from off to on, e.g. a doorbell sensor.

You can select a binary sensor, an echo device to make the announcement and customise the announced message.

NOTE: This only works with amazon echo devices and you require the alexa media player add-on.

You can announce to multiple echo devices by inputting a comma separated list or a group.

Blueprint screen:

Blueprint to import:

blueprint:
  name: Doorbell - Notify Alexa
  description: 'Make an announcement over Amazon Echo devices when the doorbell is pushed.'

  domain: automation
  input:
    doorbell:
      name: Doorbell
      description: This is the doorbell binary sensor
      selector:
        entity:
          domain: binary_sensor
    echo_device:
      name: Alexa
      description: The Alexa device to make the announcement on. Make a comma seperated list to announce on multiple devices.
      selector:
        entity:
          domain: media_player
    message:
      name: Message (Optional)
      description: 'Default: "There is Somebody at the Door!"'
      default: There is Somebody at the Door
  source_url: https://gist.github.com/seamus65/66ec3d2ac935686684c95fe79bbf309a
mode: single
trigger:
- platform: state
  entity_id: !input 'doorbell'
  from: "off"
  to: "on"
action:
  - service: notify.alexa_media
    data:
      target:
        - !input 'echo_device'
      message: !input message
      data:
        type: tts

2 Likes