🏠 Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to it. Updated FREQUENTLY!
Go to file
ccostan be9946b9a9 Badge updates #314 2018-02-27 01:26:59 -05:00
automation Update TV Time automation 2018-02-26 12:04:46 -05:00
custom_components Updated ReadME files. 2018-02-12 12:34:21 -05:00
customize Breaking changes update. 2018-02-11 11:22:04 -05:00
device_tracker Massive Migration! #292 2018-01-01 19:00:45 -05:00
group Add a Text notification toggle to surpres text messages. 2018-02-25 16:00:30 -05:00
input_boolean Add a Text notification toggle to surpres text messages. 2018-02-25 16:00:30 -05:00
json_data Massive Migration! #292 2018-01-01 19:00:45 -05:00
packages Nightly Update to the Readme.. Outdoor section. #314 2018-02-26 01:24:28 -05:00
panels Massive Migration! #292 2018-01-01 19:00:45 -05:00
scene Massive Migration! #292 2018-01-01 19:00:45 -05:00
script Add a Text notification toggle to surpres text messages. 2018-02-25 16:00:30 -05:00
sensor Updated #308 Garadget Brightness MQTT control - Moved 90% of garadget stuff into Packages. 2018-02-17 19:58:45 -05:00
shell_command Massive Migration! #292 2018-01-01 19:00:45 -05:00
shell_scripts Massive Migration! #292 2018-01-01 19:00:45 -05:00
sounds Added GF Chimes 2018-02-08 20:36:25 -07:00
switch Updated remaining switch.. 2018-01-01 21:10:53 -05:00
www/custom_ui/floorplan More updates to the Juicebox sensor #297 2018-02-16 10:16:06 -05:00
.HA_VERSION Nightly Update to the Readme.. Outdoor section. #314 2018-02-26 01:24:28 -05:00
.gitattributes Massive Migration! #292 2018-01-01 19:00:45 -05:00
.gitignore More updates 2018-01-04 22:56:13 -05:00
.travis.yml Massive Migration! #292 2018-01-01 19:00:45 -05:00
README.md Badge updates #314 2018-02-27 01:26:59 -05:00
chevy_install.sh Trying to get the Chevy Bolt online! #297 2018-01-27 17:17:52 -05:00
configuration.yaml Updated #308 Garadget Brightness MQTT control - Moved 90% of garadget stuff into Packages. 2018-02-17 19:58:45 -05:00
entity_registry.yaml We need to monitor the cameras as well! #30 2018-02-25 23:15:49 -05:00
logger.yaml Adding more to the #285 Network Monitor 2018-01-19 18:15:53 -05:00
recorder.yaml More speech and sound redirection through out the house if we are in bed or sleeping. 2018-01-28 17:56:08 -05:00
travis_secrets.yaml We got Cameras! #30 2018-02-25 23:02:01 -05:00
www_traviswebsite.fake_key Massive Migration! #292 2018-01-01 19:00:45 -05:00
www_traviswebsite_dot_com.fake_crt Massive Migration! #292 2018-01-01 19:00:45 -05:00

README.md

Build Status Home-Assistant Config by @ccostan

GitHub stars 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:

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

Battery Backups - UPS 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

NetGear 16 Port unmanaged Switch

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. Most things are Wifi connected but a good gigabit switch is needed for a good foundation.

Alexa Echo Devices - Alexa Device 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.

  • Ability to ask Alexa to repeat the last Voice notification - 'Alexa, Turn on Last message'.
  • Guest mode to disable certain interior automations. Trigger via Alexa. 'Alexa, Turn on Guest Mode.'
  • 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

Mobile Devices and Tablets - FloorPlan Blog post

iPads

iPhones

Amazon Fire Tablets Gen 7

Mobile devices are a critical part of my Home Automation. They establish presence in the house and are the basis for many automations. Home? Turn on the lights. Leave? Turn them all off kind of thing. The Tablets are for the awesome FloorPlan that you see in the images. We have 2 in the house mounted for quick consumption of all the HA data in a glance.

  • IOS Notifications for Offline Devices, BadLogins, HA Startups, new HA versions and External IP changes for DNS.
  • Turn on certain lights and switches when we get home. Turn off most interior lights when we leave the house.
  • Reminders to take my medicine sent as IOS notifications ONLY when I arrive back home for the night.

We also leverage the Fire Tablets as TTS endpoints. During certain times of the day, TTS is only played on the tablets rather than over the whole house. Other times, Notifications are sent only to the Mobile Devices rather than using speech.

Nest Products and SleepIQ - Thermostat Basics Blog post

Nest Thermostats

Nest Protects

SleepNumber Bed i8

Withings

This group of devices is basically for additional presence control. The Nest thermostats and Protects basically run themselves. The thermostat 'away' mode triggers my away scripts which turn items off. The Protects are SOLID smoke detectors. They really came in handy during Irma. The SleepIQ bed adds to my presence detection. It will notify HA if either side of the bed is occupied. More controls are coming but I use this extensively. The WiThings scale also triggers morning and goodnight routines depending on when I step on it during the day.

  • Turn off lights when Nest Thermostats detects we are away. (Upstairs and Downstairs)
  • Turn on Upstairs lights if Nest Thermostats detects people and it's nighttime.
  • (IFTTT) Trigger Good Night routine when I step on the Withings scale after 10pm.
  • Turn on bathroom accent lights when either of us steps out of bed at night. Turns them back off when we are back in bed.
  • Turn off all interior lights when the last person gets into bed.
  • Silence all Voice notifications if anyone is in bed. Redirect to Fire Tablets.

Voice Notifications - Giving Voice to the Smart Home Blog Post

ChromeCast Audios

AMPs

Mixer

TP-Link Smart Plug

To me, Voice is the coolest part of the smart home. It gives it personality. It's something not just anyone has and helps your house stand apart from the pack. I use the Amazon Polly TTS component since it sounds the closest to Alexa. This gives a seemless transition from Alexa to Home Assistant responding. Most think it is just one system. The mixer allows TTS to mix right in over Music. The TP-Link Outlet is used to turn off the Mixer and AMP when we do not need it. It's a great inexpensive solution.

  • Turn off all the voice devices when we are not home or in bed.
  • All voice notifications are pushed though a speech engine. Random words and sentances are used to give the house some personality.
  • Voice announcements whenever someone comes home.
  • Voice notifications for all sorts of things related to the house. (Temps, presence, doors open, windows open, garage door statuses, sunset.)
  • Digital Cuckoo Clock that goes off each hour and on the half just like a real Cuckoo Clock.

Once you can teach your house to talk, you just keep expanding on it's vocabulary. It's addicting. :)

Various Hubs - Smart Home Parts/Sum Blog Post

Phillips Hue Hub Gen 2

Wink Hub

RM Pro by Broadlink

NodeMCU Development Boards

The Hubs help the home communicate across all the various protocols running in the house. The Hue hubs (I have 2 actually) talk to most of the lights. Some lights and switches talk over Zwave to the Wink Hub. The RM Pro talks 433Mhz to my EtekCity outlets. The ESPs while technically not a Hub do bridge the connection to all the windows and door sensors that are hardwired in my house. One set acts as my DIY alarm system while the other act as DIY Motion Sensors.

  • 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.
  • Detects when lights are turned on and adjusts them to correct brightness based on time of day.
  • Shut down HVAC system if a Window or Door is left open for more than 5 minutes.
  • Play chime on all window and door open/closes.

Think of the Hubs each as bridges for HA to talk to various hardware around the house.

Lights and Switches - Smart Home Parts/Sum Blog Post

Hue Colored lights

GE Link Lightbulbs

Hue Go

Etekcity Outlets

Almost all my lights (40+) are white GE Link lights. I bought them early on before Hue came out with inexpensive white A19s. Even Ikea has great lights now. Colored lights are in the front sconces and also used in the living room. The Go lights are specifically for the kids since they are both wireless and also have a button on them making them very tactile for kids. The EtekCity outlets are the most inexpensive ($6) yet reliable outlets out there. I have them deployed all over the house as accent lighting with some rope lights in most of the home's cut outs.

  • Turn on TV Time Lights (dim and color) at Sunset (if home and TV is on)
  • Sets up the front lights in the house with preset colors depending on the month day!.
  • Turns living room lights red when a Window or Door is opened past sunset. Resets to yellow/gold when all dors/windows are closed.

Outdoor Landscaping

Rachio Sprinkler system

GE ZWave Outdoor Power Module

Phyn Smart Water Main ShutOff/Leak Detector

Outdoor LED Lighting

The great outdoors can be automated too! Mainly lights but also the sprinkler system and water supply. The Phyn leak detector was announced in CES. It looks for abnormal flows and if senses them, alerts me and shuts water main. The GE Outlets are hooked up to my 12v transformers allowing me to turn the landscaping lights on and off. The LED strips are DIY and the recipe is in the next section.

  • (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 also logged to MQTT.
  • (IFTTT) Blink ALL lights if Winds get to 70MPH - Hurricane warning.
  • Turn on some outdoor Lights at Sunset, Turn off 4 hours before sunrise. Turn off interior and backyardlights when we go to sleep.

Outdoor LED Accents - DIY Blog Post - #71

LED RGB Wifi Controller - flux_led compatible

LED Strip kits

Aluminum light Diffusers

Outdoor Housing

Mentioned above, this is one of my favorite projects for the house. The ability to completely change the look of the house on the drop of a dime and on a dime budget is awesome. Read the blog post linked above for all the parts details but here are some automations I love.

  • Change the front colors of the LED lights based on holidays. The best part is the LED controller works with HA right out of the box. No fiddling around with it at all. HUGE Plus in my book.
  • When the garage doors open, change all lights in the front of the house to bright white.
  • On motion, turn all the lights to a bright white outside for a random amount of time before resuming the daily color choice.

Garage Gadgets

Garadget

JuiceBox Pro 40 EVSE

Chevy Bolt Electric Car

Siri, are my garage doors closed?

Garage doors, Cars, charging stations. Going green. All part of a complete home automation setup. The garage door openers are probably the most important. No one wants to forget that they left them open when they've left or gone to bed. Closing forgotten garage doors makes it all worth it.

  • Notifications when the garage door is left open at night or when we leave the house.
  • Monitor the reflection rates of Garadget and notify when they being to drop too low when closed (indicating a shift in the controller)
  • Tweet out chargin status of the car and how many KwH were charged in a session. #Stat
  • Monitor AMPs and Voltage and alert if charge ever goes over 24A to prevent breaker tripping. (Juicebox is software derated to 24A on a 30A circuit.)

Devices I have: LEGACY SECTION being migrated up.

Automations: LEGACY SECTION being migrated up.

  • Leverage Alexa and Elekcity outlet to control Printer On/Off via Voice. Turns off automatically after 20 minutes.
  • 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.
  • (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)
  • 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.

Todo List

The issues section on github is where I store all my wishful ideas and future enhancements. 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