Code Monkey home page Code Monkey logo

ubhits / ad-alexadoorwindowannounce Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 2.0 85 KB

Announce your doors/windows opening and closing through your Smart Speaker. Handy for garage/side/main exits for homes and shops. Please :star: if you like this app :)

Home Page: https://www.youtube.com/c/ubhits

License: Apache License 2.0

Python 100.00%
appdaemon-apps appdaemon apps home-automation homeassistant home-assistant hass alexa alexa-voice-service media-player

ad-alexadoorwindowannounce's Introduction

Alexa (& Friends) Door/Window Announce ๐Ÿ”

hacs_badge

New in v1.0.6: Door/Window Open Delay, and Close Announcement Control

Alexa and other smart speakers (media_player) announce your doors/windows opening and closing. Comes in handy specially for garage doors or side/main exits for homes and shops where you need to stay informed of any changes. Trust me, it's a secured feeling to know the status of your garage, main/side exits.

Ever since we've set this up in our home, we don't think we can do without it now. Your home suddenly gets a voice, something like Jarvis ... Awesome!

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_door_window_announce.py from inside the apps directory to your local apps directory, and add the following configuration to enable the app.

App Configuration (config/appdaemon/apps/apps.yaml)

alexa_door_window_announce:
  module: alexa_door_window_announce
  class: AlexaDoorWindowAnnounce
  alexas:
    - media_player.kitchen_alexa
    - media_player.living_room_alexa
  doors_windows:
    - cover.garage_door_big
    - cover.garage_door_small
    - binary_sensor.main_door
    - binary_sensor.side_door
  announcements:
    delay: "00:00:00"
    close: True
    start_time: "00:00:00"
    end_time: "23:59:59"
  debug: false
key optional type default description
module False string The module name of the app.
class False string The name of the Class.
alexas False list Your smart speaker device(s) to target for the door/window announcements.
door_windows False cover, binary_sensor The doors/windows to monitor.
announcements|delay True time 00:00:00 The time duration to wait before announcing a door open (24h format). Useful to notify if a door has been open for a long time.
announcements|close True bool True Announce the closing of the door. Set to False if you just want opening announcements.
announcements|start_time True time 00:00:00 The time to enable the service. (24h format)
announcements|end_time True time 23:59:59 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-alexadoorwindowannounce's People

Contributors

ubhits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

gibby sharonjulio

ad-alexadoorwindowannounce's Issues

Lag

I usually do my Door Open announcements in Home Assistant as part of an automation, combined with Alexa media player, however this stopped working where I have two groups of Alexa devices in the home on different login accounts and will only work to one account

Tried this one and must say it works like a dream with two separate amazon login accounts, however there is a niggling issue, where my automations will fire immediately, this seems to have a lengthily delay on when any doors are triggered.

Is there a way to get the delay down, if it was almost instant like my automations were, I'd definitely use this!

In addition a nice on/off button for Lovelace would be great too for those times when the door announcements are a bit receptive!

Google Assistant support?

Is there a way to modify this to work with google assistant? I don't want to create automatons for all my windows and doors, this seems easier.

Add "door open for 5min"

Hi! is it possible to add a delay that Alexa only speak when door or window have been open for -/+ 5min?

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.