32 KiB
Executable File
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
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:
- Docker - Docker runs on a Ubuntu Server Core base. Docker-Compose.yaml
- Home Assistant Container - It all starts here.
- The amazing Floorplan project to help visualize my smarthome.
- SSL via SSLS - 5 Bucks A Year! - Keeps me safe!
- Dasher Container to leverage those cheap Amazon Dash Buttons
- HomeBridge Container for full HA <-> Homekit compatibility.
- Unifi controller Container to manage APs
Devices I have in no particular order:
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 | |||
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 | |||
The Alexa devices in my house are for automation overrides. They are primarily an input device into Home Assistant. Using HA
| |||
Mobile Devices and Tablets - FloorPlan Blog post | |||
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.
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 | |||
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.
| |||
Voice Notifications - Giving Voice to the Smart Home Blog Post | |||
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.
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 | |||
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.
Think of the Hubs each as bridges for HA to talk to various hardware around the house. |
Devices I have: LEGACY SECTION being migrated up.
- Amazon Dash Buttons
- Amazon Fire TV
- Mixture of Hue Colored lights, White Lights and GE Link bulbs.
- Hue Go - Great lights for the kids since they have an actual button on them for control.
- Rachio Sprinkler system - Smart Sprinkler controller
- GE ZWave Outdoor Power Module - These control my Landscape lighting and connect up to my Wink.
- SkyBell HD
- Rokus for all streaming
- Samsung Smart TV
- Door Sensors (AEON Labs)
- Garadget - Garage Door opener/sensor - "Siri, are my garage doors closed?"
- Nintendo Wii
- iTeadStudio goodies - SonOff and a Slampher!
- LED RGB Wifi Controller - flux_led compatible with LED Strip kits - ~100 Feet. These are great Power supplies - Outdoor Housing - Finished Product #71 - Blog Post
- [Phyn Smart Water Main ShutOff/Leak Detector] (http://www.phyn.com/) - Beta test to monitor Water usage and Leaks centrally.
- Aeon Labs AEDSB09104ZWUS Aeotec Z-Wave Smart Energy Monitor Meter to measure energy usage in the home.
- MX8 Zodiac Pool Robot - Not YET hooked up HA, but working on it.
- Pi Zero with Wireless Nub running Pi-Hole and smacking down internet ads left and right!
- JuiceBox Pro 40 EVSE - Used to Charge the Bolt EV.
- Chevy Bolt Electric Car - Monitor Charging status of Electric Vehicle.
- Epson ET-7700 Printer - All Printing with HA monitored Ink levels.
Lots of my gear comes from BetaBound for Beta Testing and reviews.
Automations: LEGACY SECTION being migrated up.
- 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.
- Leverage Alexa and Elekcity outlet to control Printer On/Off via Voice. Turns off automatically after 20 minutes.
- Turn on TV Time Lights (dim and color) at Sunset (if home and TV is on)
- 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.
- (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.
- Sets up the front lights in the house with preset colors depending on the
monthday!. - 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 I've moved this entire section to the issues section on github. Feel free to join the conversations there.
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