My Home Assistant configuration… IT’S ALIVE

Can’t update my previous thread so I’m starting a new one.


Updates since last post (Nov. 2017):

New Devices

New Automations

New Components


Full Configuration

Automations

Notification Audio

  • TTS “Good Morning” notification over all Sonos speakers. Includes templated date, birthday countdown, weather, to-do’s etc.
  • TTS “Welcome home User” notification over all Sonos speakers.
  • 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 test notification

Notification Text

  • Pushbullet notification when new Home Assistant version is available on PyPI.
  • Pushbullet notification when Nest thermostats go into Home/Away modes.
  • Pushbullet notification when critical network devices go offline.
  • Pushbullet notification if the garage door is left open after we left the house.
  • Pushbullet notification if the garage door is opened and no one is home.
  • Pushbullet notification if the garage door has been open for 30 minutes with no motion in garage.
  • Pushbullet notification test.
  • Pushbullet when SSL certificate expiration sensor <= 10 days.
  • Pushbullet when any battery sensor falls below 20%
  • Pushbullet for a failed login attempt.
  • Pushbullet if new network device is detected.

Notification Visual

Lights

Doorbell

  • Exterior lights to 100% if Ring Pro Doorbell detects motion or is pressed after 9:00pm.
  • Exterior lights back to 35% 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 BRUH Automation multisensor or Amcrest cameras 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

  • Run script to collect Cox Internet usage hourly.
  • Clean the TTS cache weekly.

Vacation/Climate

Scripts/Customizations

  • Life360 integration via shell mqtt broker found here
  • Home Assistant mysql database size sensor found here Using the SQL Sensor now.
  • Cox internet usage web parser script found here
  • WAN test script found here

Devices

Climate

Lighting

Sensor / Switch

Camera

Media

Network

https://github.com/ntalekt/homeassistant/raw/master/images/home-screenshot.jpg





5 Likes

Amazing!!!

Thank you for having shared your HA ALIVE :slight_smile:

1 Like

More ideas!! YES! I saw your Cox usage thing and it had me curious. Would you mind sharing how it is done along maybe some of your other scripts I saw you call on?

He has put a link to his GitHub

Must have missed it on his Git. Will look again.

Ahh…it was in the readme which is why I missed it. I downloaded the zip while I was at work expecting it to be in there. Different branch I see…

@ntalekt Thanks for sharing!

Your system in its current configuration may be vulnerable to authentication bypass

This section in your configuration.yaml

http:
  api_password: !secret ha_password
  trusted_networks:
    - 192.168.1.0/24
    - 127.0.0.1
  ip_ban_enabled: True
  login_attempts_threshold: 3
  use_x_forwarded_for: True

I warned about it here almost a year ago and yesterday an issue was opened in the HA git by a concerned user

I would remove the x-forwarded-for and trusted networks from the configuration when using reverse proxy.

2 Likes

What’s the “guest mode”?

Right now guest mode doesn’t do much but I was thinking based on if we have a guest or not I would use it to modify some of the automations for our downstairs.

1 Like

Amazing! great work - any chance you will be sharing how you did your Grafana setup - its amazing!