Skip to content

Instantly share code, notes, and snippets.

@JoooostB
Created November 14, 2018 07:08
Show Gist options
  • Save JoooostB/c3d43d3ea90cca9e451218a1b644d2b4 to your computer and use it in GitHub Desktop.
Save JoooostB/c3d43d3ea90cca9e451218a1b644d2b4 to your computer and use it in GitHub Desktop.
esp8266-mqtt-doorbell - automations:
- alias: Deurbel Notificatie
trigger:
platform: mqtt
topic: stat/frontdoor/doorbell
payload: 'ringing'
action:
- service: notify.pushover
data:
message: "There's someone in front of your door"
title: "Ding Dong!"
- service: tts.google_say
entity_id: media_player.home
data_template:
message: 'DING DONG! There's someone in front of your door'
language: 'en'
- service: tts.google_say
entity_id: media_player.joost
data_template:
message: 'DING DONG! There's someone in front of your door'
language: 'en'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment