Code Monkey home page Code Monkey logo

homeassistant's Introduction

Home Assistant Config by ntalekt

Be sure to โญ my repo so you can keep up to date on the progress!

This is my Home Assistant configuration which is running on Docker. When starting with home automation I found many well documented configurations and drew inspiration from them in order to achieve my automation goals. I wanted to share my success with the community and hopefully help others on their journey.

Platform

Platform v2

Interface

UI UI UI UI UI

Devices

Lighting

Outlets / Switches

Sensors

Camera

Media

Irrigation

Climate/Air Quality

Garage/Cover

Network

Other Hardware

Software

Example Automations

Notification Audio

  • TTS notification when User arrives at specific Zones
  • TTS notification when User leaves specific zones which includes travel time home
  • TTS notification if the garage door has been open for 30 minutes with no motion in garage
  • TTS school bell notification (if remote schooling mode enabled)
  • TTS test notification
  • TTS ring ding & motion events

Notification Text

  • Slack notification when new Home Assistant version is available on PyPI
  • Slack notification when critical network devices go offline
  • Slack notification if the garage door is left open after we left the house
  • Slack notification if the garage door is opened and no one is home
  • Slack notification if the garage door has been open for 30 minutes with no motion in garage
  • Slack notification test
  • Slack when any battery sensor falls below 20%
  • Slack for a failed login attempt
  • Slack if new network device is detected

Lights

  • Exterior lights (porch, side entrance, pool, landscape) on 5 minutes before sunset.
  • Exterior lights dim to 15% at 9:00pm
  • Exterior pool lights off if no motion after 10pm
  • Interior under cabinet transition during sunset
  • Interior lights off if no motion
  • Interior lights on if motion

Doorbell

  • Exterior lights to 100% if Ring Pro Doorbell detects motion or is pressed after 9:00pm
  • Exterior lights back to 15% after 30 minutes after doorbell motion or press

Media

Sonos

  • Reset/Regroup all Sonos PLAY:1 speakers at 6:00am every morning
  • Group all Sonos' button

Occupancy

  • If motion is detected via Aquara Motion or Tapo cameras, Frigate object detection turn on input_boolean (used in binary_sensor for occupancy tracking)
  • If no motion is detected after certain period of time turn off input_boolean.

Sleep time

System

  • Clean the TTS cache weekly

Vacation/Climate

Star History

Star History Chart

homeassistant's People

Contributors

ntalekt avatar

Stargazers

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

Watchers

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

homeassistant's Issues

Fix Sonos master

[homeassistant.components.media_player.sonos] Error on play_media with The method or property "play_uri" can only be called/used on the coordinator in a group

In notification_audio.yaml
media.yaml
scripts.yaml

Set kitchen as master for all
Add sonos_join on reset Sonos every morning automation

Set Nest downstairs away if sliding door open

If sliding door sensor open for <time_limit> during <work_from_home_hours> set downstairs Nest to away.

  • Would we want to set upstairs Nest away too?
  • Notifications?
  • All the time or just during WFH hours?
  • WFH mode boolean?

SSL expiration checker

Need a sensor that will check the expiration date of SSL cert and send a notification if below threshold.

OctoPrint - Template Sensors

Create template sensors for octoprint temperature sensors to convert to celsius since that's what I'm used to.

Setup some aliases for common tasks


# https://github.com/dale3h/hassctl

# making life easy

alias hahome='cd /home/homeassistant/.homeassistant/'
alias haback='/home/homeassistant/.homeassistant/cmds/haback.sh'
alias hacheck='hassctl config'
alias harestart='hassctl restart'
alias haupdate='hassctl update-hass'


without hassctl

alias hacheck='sudo /srv/homeassistant/bin/hass -c /home/homeassistant/.homeassistant/ --script check_config'
alias harestart='sudo systemctl restart [email protected]'

GUI interface

Are the included yaml files used to create the actual web interface? Or just all the entities and objects used? Everything I read shows a ui-lovelace.yaml or configure UI to create the actual interface, is this true?
If you did use the ui-lovelace.yaml, I can understand why you did not want to include that, I just wanted to make sure I understand that I need to build one to create all the cards similar to what you've created.

Add birthdays countdown to morning announcement

Maybe do a countdown timer to family birthdays and announce when < 7 days to birthday.

  {% macro birthday_countdown( name, days2go ) %}
    {%- if days2go == 0 -%}
      Today is {{name}}'s Birthday!. Happy Birthday to you, my dear {{name}}!!!.
    {%- elif days2go == 1 -%}
      Tomorrow is {{name}}'s Birthday! HURRAY!!!
    {%- elif days2go > 1 and days2go <= 10 -%}
      {{name}}s Birthday is in {{days2go}} days! HURRAY!!!
    {%- endif -%}
  {% endmacro %}

New zone

Update school to new zone
Update scripts for voice notifications

Sonos: Timing issue

When announcement being played on multiple Sonos speakers there is a noticeable timing issue where the audio isn't synced between speakers.

input_select for sonos won't work

I select a playlist/station and it loads and then pauses. Then input_select is switched back to none.

Suspect the automation to reset input_select is the culprit.

Harmony Loop

If physical remote is used sometimes the input_select script is ran as well and keeps power cycling.

Climate when away

AC keeps coming on while everyone is away.

  • Nest home assist
  • Automation if household is away

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.