I’ve noticed there are a few posts on how to create an Alexa Doorbell that will announce when the bell is rung and they are using the Alexa Media Player Add On. However the Alexa can support this natively if you don’t need to customise the announcement.
First check doorbell announcements are supported for your Alexa’s language: List of Alexa Interfaces and Supported Languages | Alexa Skills Kit
Look for DoorbellEventSource
Instructions…
- Create a
binary_sensor
- you need this to go ‘on’ when you want the Alexa announcement to happen. I’m using a template here that is backed by aninput_boolean
that is set when I think someone is at the front door. Don’t forget to turn this back off so that future events are received.
binary_sensor:
- platform: template
sensors:
front_doorbell:
friendly_name: "Front Doorbell"
value_template: >-
{{
is_state('input_boolean.front_doorbell', 'on')
}}
- Expose the binary sensor to Alexa in your alexa configuration. The name you give it will be announced as follows on your Alexa(s): "There is somebody at the " (you can’t change the structure of this message if you want something different you will need to use one of the ways that uses TTS / Alexa Media Player)
NOTE. I explicitly include entities for Alexa hence the filter - check the docs for the way you configure your own setup: Amazon Alexa Smart Home Skill - Home Assistant
alexa:
smart_home:
# ....
filter:
include_entities:
- binary_sensor.front_doorbell
# ...
entity_config:
binary_sensor.front_doorbell:
name: "Front Door"
display_categories: DOORBELL
-
Restart and discover devices in Alexa in the normal way (“Alexa Discover Devices”).
-
Open the Amazon Alexa app on your phone and select “Devices” → “All Devices” and find the newly added device and click it.
In the window that appears turn on “Doorbell Press Announcements” and then select “Announcement Devices” to chose which Alexa(s) will make the announcement.
- Press your doorbell and see if it worked.