Giter VIP home page Giter VIP logo

ad-alexadoorbell's Introduction

Alexa (& Friends) Doorbell 🐔

hacs_badge

New in v1.0.9 : Master Doorbell Switch Override :)

For Sonos, set announce_bell:false (thanks to @5and0)

Alexa and other smart speakers will notify you like a doorbell, (thus the name, so creative isn't it!) based on a motion sensor placed on your doorway. Ever since we've set this up in our home, we always get praises and surprised looks from our guests when they come. Your home suddenly gets a voice, something like Jarvis ... Awesome!

You can also :-

  • add a door sensor (like the Ecolink Door Sensor or any other) to only ring the bell if the door is currently closed, and has been closed for at least the last 30 seconds. This is so that the bell only rings when someone arrives at your door and not when you step out.
  • add an outdoor Alexa (or other smart speaker) to greet your guest with a pleasant message based on the time of day
  • add a doorbell (like the Aeotec Doorbell or any other) to ring when a guest arrives outside your door

Please ⭐ this repo if you like my work and also check out my other repos like

Also, if you want to see a walkthrough of my Home Assistant configuration, I have my video walkthrough on youtube below

Installation

Needs the Alexa Media Player or Sonos integration

Use HACS or download the alexa_doorbell.py from inside the apps directory to your local apps directory, and add the configuration to enable the app.

Basic Config (config/appdaemon/apps/apps.yaml)

alexa_doorbell:
  module: alexa_doorbell
  class: AlexaDoorbell
  door:
    motion_sensor: binary_sensor.main_door_motion
  home:
    alexa: media_player.kitchen_alexa
    announce_bell: True # optional, set to False for SONOS
  time:
    start: "07:00:00"
    end: "22:00:00"

Advanced Config

alexa_doorbell:
  module: alexa_doorbell
  class: AlexaDoorbell
  door:
    motion_sensor: binary_sensor.main_door_motion
    sensor: binary_sensor.main_door          # optional
    alexa: media_player.entryway_alexa       # optional
    announce_bell: False                     # optional
    bell_switch: switch.doorbell_switch      # optional
  home:
    alexa: media_player.kitchen_alexa
    doorbell: switch.living_room_doorbell    # optional
    announce_bell: False                     # optional
  time:
    start: "07:00:00"
    end: "22:00:00"
  debug: false
key optional type default description
module False string alexa_doorbell The module name of the app.
class False string AlexaDoorbell The name of the Class.
door|motion_sensor False motion_sensor The motion sensor to trigger the app.
door|sensor True binary_sensor Set to trigger based on door status
door|alexa True media_player Set your Alexa (or other Smart Speaker) to greet your guest with a pleasant greeting
door|announce_bell True bool False Prefix bell sound before announcement. Set to false for SONOS
door|bell_switch True switch Set to a switch to override all checks and ring the doorbell when it's pressed
home|alexa False media_player The Alexa (or other smart speaker) to notify inside the house
home|announce_bell True bool False Prefix bell sound before announcement. Set to false for SONOS
home|doorbell True switch Set to ring this doorbell (or switch on a light)
time|start True time 07:00:00 The time to enable the service. (24h format)
time|end True time 22:00:00 The time to disable the service. (24h format)
debug True bool False if True, outputs messages to the AppDaemon Log

Thank you! 🙌

This app wouldn't be possible without the amazing work done by the developers and community at Home Assistant

A very special thanks to Keaton Taylor and Alan Tse whose work on Alexa Media Player was the basis of my inspiration and my work to code all the above listed apps!

If you like my work and feel gracious, you can buy me a beer below ;)

Buy Me A Beer

License

Apache-2.0. By providing a contribution, you agree the contribution is licensed under Apache-2.0. This is required for Home Assistant contributions.

ad-alexadoorbell's People

Contributors

ubhits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ad-alexadoorbell's Issues

Alexa doorbell

I can't get the AppDaemon to work,
the apps.yaml configuration is as follows:

alexa_doorbell:
    module: alexa_doorbell
    class: AlexaDoorbell
    door:
        motion_sensor: binary_sensor.main_door_motion
    home:
        alexa: media_player.salon_alexa

I have installed the custom-components alexa_media_player integration
I think it works correctly with announce, tts ...
I get that alexa gives the message, but with AppDeamon, doorbell
nothing is heard.

Doorbell Feature Request

First off, thank you making this app. I've had something similar to this in NodeRed running on my server, and it has always been a little slower than I would like. Appd fixes this.

The only thing I'm missing from my setup before is an actual "physical" button to act as a doorbell.
I like having the old school option for someone to push a button (like a zigbee or zwave one) and then the announcement goes off. Sometimes the motion sensor will give me a false positive and having the button eliminates that.

If you could add that in this app that would be great. (Wish I could figure out python so I could build these apps on my own)

Again thanks for your work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.