Home-AssistantConfig/README.md

19 KiB
Executable File

Build Status Home-Assistant Config by @ccostan

Be sure to my repo so you can keep up to date on the daily progress!
You can also vist my Blog for all of my Home Automation Posts.
You can follow my home's breaking news and tweet statistics via twitter @BearStoneHA or Facebook/BearStoneHA

Screenshot of Home Assistant Header

As of 2018, I have migrated everything to a Docker based platform. You can read all about it here: Migration Blog Post


Notable Software on my Laptop Host:

Screenshot of SmartHome

Devices I have in no particular order:

Battery Backups - Blog write-up

3 Prong UPS

2 Prong UPS

Tesla Powerwall 2

There aren't really automations for the Batteries yet. Electricity is the life blood for the house and only really the Tesla Battery has smarts so maybe in the future, you'll see a Powerwall automation in this space.

Networking

Ubiquiti Networks Unifi 802.11ac Pro

Ubiquiti Networks Unifi 802.11ac Lite

Circle by Disney

Using the APs (3 of them), The house monitors all Connected devices for Online/Offline status and uses NMAP for presence detection. Any critical device down for more than 5 minutes and an alert is sent out. Circle is a Parental Control device. When a new device is discovered on the network, HA notifies us and also plays a TTS reminder over the speakers to classify in Circle.

Alexa Echo Devices - Blog Post

Amazon Echo

Amazon Echo DOT

Amazon Echo Tap

Amazon Dash Wand

The Alexa devices in my house are for automation overrides. They are primarily an input device into Home Assistant. Using HA Cloud component, I am able to turn on /off most HA devices even if they don't have native Alexa support. The DOTs are littered around the house, the Tap is for Shower and Garage since it is super portable and the main echo fills the upstairs with Music. Voice input and playing Whole House Music are where Echoes excel! The Wand is pool side for quick commands and controlling the music if need be. Handy automations include:

  • Ability to ask Alexa to repeat the last Voice notification - 'Alexa, Turn on Last message'.
  • Track garbage days and chore days for the kids. Voice reminders and Alexa intergration/request for info.
  • Context aware lighting control. - Read about it here: Blog Post

Devices I have:

Lots of my gear comes from BetaBound for Beta Testing and reviews.

Automations:

  • Voice Notifications via the AMPs connected to ChromeCast Audios and Mixer. Accomplished via the Google Amazon Polly TTS component.

  • Guest mode to disable certain interior automations. Trigger via Alexa & IFTTT.

  • IFTTT and IOS Notifications for Offline Devices, BadLogins, HA Startups, new HA versions and External IP changes for DSN.

  • Monitor the reflection rates of Garadget and notify when they being to drop too low when closed (indicating a shift in the controller)

  • Notifications when the garage door is left open at night or when we leave the house.

  • (IFTTT) Logging entries in Logbooks for Rachio Sprinkler system, and SkyBell HD.

  • Auto Heal ZWave at 2:30am

  • Using Etekcity Outlets to control accent lighting above kitchen cabinets and room cutouts.

  • Turn on Hallway light for no more than 20 minutes when Pantry door is opened.

  • Turn on TV Time Lights (dim and color) at Sunset (if home and TV is on)

  • Turn on Upstairs light if Nest Thermostats detects people and it's nighttime.

  • Turn off lights when Nest Thermostats detects we are away. (Upstairs and Downstairs)

  • Turn on some lights and switches when we get home

  • Turn on some outdoor Lights at Sunset or if it gets darkish in the house, Turn off 4 hours before sunrise. Turn off interior lights when we go to sleep.

  • Turn on lights during school days for a morning routine for the kids and wife. Has No School overide boolean in GUI.

  • Rainy days trigger extra light inside the house.

  • Check the UV Rays for the day and let us know if we need sun tan lotion over the TTS system.

  • Detects when lights are turned on and adjusts them to correct brightness based on time of day.

  • Leverage Alexa, IFTTT and Elekcity outlet to control Printer On/Off via Voice. Turns off automatically after 20 minutes.

  • Turn on AMPs when Chromecast reports 'Playing'. Turn them off when we are done streaming music.

  • (IFTTT) Blink ALL lights at 9:30 to remind me to take medicine. (also Alexa Alert)

  • (IFTTT) Blink Office lights 15 minutes before ANY meeting on my calendar (using IFTTT)

  • (IFTTT) Stop watering grass via Rachio Sprinkler system if winds are greater than 20 MPH.

  • (IFTTT) Add a 1 day rain delay to Rachio Sprinkler system if it is going to rain tomorrow.

  • (IFTTT) Blink ALL lights if Winds get to 70MPH - Hurricane warning.

  • (IFTTT) Trigger Good Night routine when I step on the Withings scale after 10pm.

  • Sets up the front lights in the house with preset colors depending on the month day!.

  • On motion from SkyBell HD Doorbell (IFTTT) Turn front lights to Bright White lights for 10 minutes and then back to original colors. Fake Dog barking when there is motion by the house.

  • When someone rings the Doorbell (IFTTT), the backyard and Bathroom lights Flash - Since we might not hear the doorbell. Fake Dog barks as well (which can be snoozed for 30 minutes via Alexa).

  • Watch and alert on Home Assistant's Disk usage. Get alerts before Pi runs out of space on the SD Card.

  • Digital Cuckoo Clock that goes off each hour and on the half just like a real Cuckoo Clock. Plays across the whole house on my ChromeCast Audios

#Todo List I've moved this entire section to the issues section on github. Feel free to join the conversations there. Screenshot of Alarm Clock View Screenshot of Alarm View

All files are now being edited with Atom.

All of my configuration files are tested against the most stable version of home-assistant using Travis.

#Still have questions on my Config? Message me on twitter : @CCostan