2016-10-13 16:25:11 +00:00
# Home-Assistant Config by [@ccostan](http://www.twitter.com/ccostan)
2016-10-14 15:39:33 +00:00
[Home Assistant ](https://home-assistant.io/ ) configuration files (YAMLs)
2016-10-11 16:42:06 +00:00
2017-02-14 04:14:51 +00:00
This is my Home Assistant Configuration created with the All In One installer [expanded to 16GB. ](https://community.home-assistant.io/t/expanding-partition-on-sd-card-for-raspberry-pi-with-noobs-pre-installed/2036 ) I update it pretty regularly.
Home Assistant runs on my [Raspberry Pi 3 ](http://amzn.to/2e3DOBY ) with [Aeon Labs Z Wave Stick (GEN 5) ](http://amzn.to/2eAiAP0 ). I've also added a [433Mhz Transmitter and receiver ](http://amzn.to/2dceNY2 ). The main [SD Card ](http://amzn.to/2kNttio ) was upgraded to 16GB. (Order 2! - 1 for backup)
I use an [SD Card reader ](http://amzn.to/2l2w9as ) to swap SD cards between Pi and Windows for backups.
2017-02-11 05:50:53 +00:00
2017-02-15 18:02:22 +00:00
Software on the Pi : [Home Assistant ](https://home-assistant.io/ ) ,
[Dasher ](https://github.com/maddox/dasher ) to leverage those cheap [Amazon Dash Buttons ](http://amzn.to/2dPKZhM )
2017-02-14 04:20:54 +00:00
SSL via [SSLS ](https://SSLS.com ) - 5 Bucks A Year! - Keeps me safe!
2017-02-15 18:02:22 +00:00
[HomeBridge ](https://github.com/nfarina/homebridge ) for full HA < - > Homekit compatibility.
2016-10-11 16:42:06 +00:00
2016-10-13 16:38:38 +00:00
**Devices I have :**
2017-02-14 04:20:54 +00:00
* Lots of iOS Devices ([iPads ](http://amzn.to/2l2qyRb ), iPods, [iPhones ](http://amzn.to/2l9Yoq9 ))
2017-02-10 01:36:46 +00:00
* [Nest Thermostats ](http://amzn.to/2eAhB1k ) - Smart Thermostat
2016-10-14 15:39:33 +00:00
* [Amazon Echo ](http://amzn.to/2dSVbK4 ) and [DOT ](http://amzn.to/2e3vHFQ )
* [Amazon Dash Buttons ](http://amzn.to/2dPKZhM )
2017-01-16 17:14:29 +00:00
* [Amazon Fire TV ](http://amzn.to/2iiuaNT )
2016-11-08 19:04:57 +00:00
* [Phillips Hue Hub Gen 2 ](http://amzn.to/2eoQTJy )
2017-02-14 04:14:51 +00:00
* Mixture of [Hue Colored lights ](http://amzn.to/2l2viGK ), [White Lights ](http://amzn.to/2lEf4Xq ) and GE Link bulbs.
2017-02-14 04:24:16 +00:00
* [Hue Go ](http://amzn.to/2iB36Ii ) - Great lights for the kids since they have an actual button on them for control.
2017-02-10 01:36:46 +00:00
* [Circle by Disney ](http://amzn.to/2eAgaA6 ) - Parental Monitor for internet and screentime.
* [Rachio Sprinkler system ](http://amzn.to/2eoPKBW ) - Smart Sprinkler controller
* [Withings ](http://amzn.to/2kr78nW ) - Smart Weight scale
2016-10-14 15:39:33 +00:00
* [SkyBell HD ](http://amzn.to/2dcexIB )
* [Rokus ](http://amzn.to/2dpn89c ) for all streaming
* [Samsung Smart TV ](http://amzn.to/2efNNnq )
2017-02-14 04:14:51 +00:00
* [ChromeCast Audios ](http://amzn.to/2lE9gNu )
2017-01-16 17:31:57 +00:00
* [AMPs ](http://amzn.to/2j18dlT ) - These are cheap but effective for the Dots, Chromecasts or other speakers.
2017-02-10 01:36:46 +00:00
* [Etekcity Outlets ](http://amzn.to/2efNoBP ) - Cheap 6 Buck RF outlet control!
2016-10-14 15:39:33 +00:00
* [Door Sensors (AEON Labs) ](http://amzn.to/2e3xDxY )
2017-02-01 16:35:45 +00:00
* [Garadget ](http://amzn.to/2jQLpVQ ) - Garage Door opener/sensor - "[Siri, are my garage doors closed? ](https://pbs.twimg.com/media/C3cyJZSWAAAalPm.jpg:large )"
2017-02-14 04:14:51 +00:00
* [Nintendo Wii ](http://amzn.to/2l2qIYY )
2017-02-15 18:02:22 +00:00
* Emulated Hue pushes all Switch, Group, input_boolean, script and scene information to Alexa for First Class Control!
2017-02-14 04:20:54 +00:00
* [iTeadStudio ](https://www.itead.cc/ ) [goodies ](https://twitter.com/ccostan/status/793119824008384512 ) - [SonOff ](http://amzn.to/2l2sx8g ) and a [Slampher ](http://amzn.to/2l2gmIx )!
2017-02-06 18:21:31 +00:00
* [LED RGB Wifi Controller - flux_led compatible ](http://amzn.to/2jUBSBE ) with [LED Strip kits ](http://amzn.to/2gJYfZ5 ) - ~100 Feet. These are great [Power supplies ](http://amzn.to/2j5Vu0D )
2017-02-05 02:10:34 +00:00
* [Digital Smart Water Main ShutOff/Leak Detector] (http://www.providencecpc.org/wp-content/uploads/2016/01/work_in_progress.png) - Beta test to monitor Water usage and Leaks centrally.
* [Aeon Labs AEDSB09104ZWUS Aeotec Z-Wave Smart Energy Monitor Meter ](http://amzn.to/2l5wEDo ) to measure energy usage in the home.
2017-02-10 01:36:46 +00:00
* [SleepNumber Bed i8 ](http://amzn.to/2kxdXXI ) - Has SleepIQ to track occupancy and sleep habits. Tied into HA.
2016-10-11 18:10:44 +00:00
2017-02-14 04:14:51 +00:00
Lots of my gear comes from [BetaBound ](https://goo.gl/0vxT8A ) for Beta Testing and reviews.
2016-10-13 16:38:38 +00:00
**Automations:**
2017-02-09 04:14:00 +00:00
* Voice Notifications via the [AMPs ](http://amzn.to/2j18dlT ) connected to ChromeCast Audios. Accomplished via the [~~Google~~ Amazon Polly TTS ](https://home-assistant.io/components/tts/ ) component.
2017-02-10 19:30:51 +00:00
* Ability to ask Alexa to repeat the last Voice notification - 'Alexa, Turn on Last message'.
2016-10-27 23:59:51 +00:00
* Guest mode to disable certain interior automations. Trigger via Alexa & IFTTT.
2016-12-11 20:28:33 +00:00
* IFTTT Notifications for Offline Devices, BadLogins, HA Startups, new HA versions and [External IP changes ](https://community.home-assistant.io/t/detect-if-ip-changes/6830 ) for DSN.
2017-02-14 04:14:51 +00:00
* Monitor the reflection rates of [Garadget ](http://amzn.to/2jQLpVQ ) and notify when they being to drop too low when closed (indicating a shift in the controller)
2016-12-11 21:05:37 +00:00
* Notifications when the garage door is left open at night or when we leave the house.
2017-02-14 04:14:51 +00:00
* (IFTTT) Logging entries in Logbooks for [Rachio Sprinkler system ](http://amzn.to/2eoPKBW ), and [SkyBell HD ](http://amzn.to/2dcexIB ).
2016-10-13 16:10:32 +00:00
* Auto Heal ZWave at 2:30am
2016-11-20 20:37:42 +00:00
* Using [Etekcity Outlets ](http://amzn.to/2efNoBP ) to control accent lighting above kitchen cabinets and room cutouts.
2016-11-22 01:18:11 +00:00
* Turn on Hallway light for no more than 20 minutes when Pantry door is opened.
2016-10-13 16:10:32 +00:00
* Turn on TV Time Lights (dim and color) at Sunset (if home and TV is on)
2017-02-14 04:14:51 +00:00
* Turn on Upstairs light if [Nest Thermostats ](http://amzn.to/2eAhB1k ) detects people and it's nighttime.
* Turn off lights when [Nest Thermostats ](http://amzn.to/2eAhB1k ) detects we are away. (Upstairs and Downstairs)
* Turn on some lights and switches when we get home
2016-12-21 21:38:29 +00:00
* 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.
2016-11-10 17:05:21 +00:00
* Turn on lights during school days for a morning routine for the kids and wife. Has No School overide boolean in GUI.
2017-02-15 18:02:22 +00:00
* Rainy days trigger extra light inside the house.
2016-10-30 18:37:32 +00:00
* Detects when lights are turned on and adjusts them to correct brightness based on time of day.
2016-11-20 21:13:21 +00:00
* Leverage Alexa, IFTTT and Elekcity outlet to control Printer On/Off via Voice. Turns off automatically after 20 minutes.
2017-02-15 18:02:22 +00:00
* Turn on [AMPs ](http://amzn.to/2j18dlT ) when Chromecast reports 'Playing'. Turn them off when we are done streaming music.
2016-10-13 16:36:22 +00:00
* (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)
2017-02-15 18:02:22 +00:00
* (IFTTT) Stop watering grass via [Rachio Sprinkler system ](http://amzn.to/2eoPKBW ) if winds are greater than 20 MPH.
2017-02-14 04:14:51 +00:00
* (IFTTT) Add a 1 day rain delay to [Rachio Sprinkler system ](http://amzn.to/2eoPKBW ) if it is going to rain tomorrow.
2016-10-27 23:59:51 +00:00
* (IFTTT) Blink ALL lights if Winds get to 70MPH - Hurricance warning.
2017-02-10 01:36:46 +00:00
* (IFTTT) Trigger Good Night routine when I step on the [Withings ](http://amzn.to/2kr78nW ) scale after 10pm.
2017-02-09 04:14:00 +00:00
* Sets up the front lights in the house with preset colors depending on the ~~month~~ day!.
2017-02-14 04:14:51 +00:00
* On motion from [SkyBell HD Doorbell ](http://amzn.to/2dcexIB ) (IFTTT) Turn front lights to Bright White lights for 10 minutes and then back to original colors.
2016-12-17 01:30:28 +00:00
* When someone rings the Doorbell (IFTTT), the backyard and Bathroom lights Flash - Since we might not hear the doorbell.
2017-02-15 18:02:22 +00:00
* Watch and alert on Home Assistant's Disk usage. Get alerts before Pi runs out of space on the [SD Card ](http://amzn.to/2kNttio ).
2016-10-13 16:10:32 +00:00
2016-12-14 16:40:42 +00:00
**Time Based Automation TimeLine**
2016-12-13 23:08:42 +00:00
```
2017-02-15 18:02:22 +00:00
ALL DAY LONG:
2016-12-13 23:05:47 +00:00
Check to see if we are away.
2017-01-20 20:20:08 +00:00
SUNRISE minus 1 hour
2016-12-13 23:05:47 +00:00
Turn off ALL SWITCHES
Turn off ALL LIGHTS
2017-02-15 18:02:22 +00:00
05:00 AM ** Light Brightness helper 50 Brightness **
2016-12-27 18:48:57 +00:00
06:00 AM ( on school days) : Turn on Dining Room lights, Kitchen Accents and start Kid's bedroom [Hue Go ](http://amzn.to/2iB36Ii ) wake up lights.
2016-12-13 23:05:47 +00:00
06:51 AM Turn on Dinette lights, Turn off Dining Room Lights and Kitchen Accents
07:51 AM Turn on Kitchen Lights
2017-02-15 18:02:22 +00:00
08:00 AM ** Light Brightness helper FULL 255 Brightness **
2016-12-27 18:48:57 +00:00
08:31 AM (on school days) Turn off ALL interior lights.
2017-02-11 06:18:04 +00:00
09:00 AM Speech Notifications are enabled for the house.
2016-12-13 23:05:47 +00:00
2017-02-15 18:02:22 +00:00
SUNSET:
2016-12-17 01:30:28 +00:00
Turn on Den Outlet, Living Room Outlet, Dining Room Outlet, Outdoor Bathroom light, TV lights
2016-12-13 23:05:47 +00:00
Activate Monthly Front Lighting Scene
Check if Garage Door is open (Every 60 minutes)
** Kitchen Light/Accent Helper Activated **
08:00 PM ** Late Night Helper is active **
2017-02-15 18:02:22 +00:00
08:00 PM ** Light Brightness helper 35 Brightness **
08:00 PM TV time Scene triggered if the TV is on.
2016-12-27 18:48:57 +00:00
09:00 PM Turn on [Hue Go ](http://amzn.to/2iB36Ii ) lights for the kid's rooms and start fading down.
2017-02-11 06:18:04 +00:00
09:00 PM Speech Notifications are disabled for the house. (except under ALERT mode)
2016-12-13 23:05:47 +00:00
02:00 AM ** Late Night Help Deactivated **
02:31 AM Heal ZWave Network
```
2016-12-11 21:05:37 +00:00
2017-02-11 06:18:04 +00:00
#Todo List
2017-02-15 18:02:22 +00:00
I've moved this entire section to the [issues section ](https://github.com/CCOSTAN/Home-AssistantConfig/issues ) on github.
2017-02-11 06:18:04 +00:00
2017-02-11 06:03:01 +00:00
![Screenshot of Home View ](https://i.imgur.com/UlUiKTX.png )
![Screenshot of Garage Door View ](https://i.imgur.com/zotvUKp.png )
![Screenshot of Lights ](https://i.imgur.com/KKCPaLJ.png )
![Screenshot of More ](https://i.imgur.com/rg6lhJz.png )
![Screenshot of Even More ](https://i.imgur.com/SlglNh3.png )
![Screenshot of Last one ](https://i.imgur.com/sTsYQi4.png )
2016-10-11 16:42:06 +00:00
2016-10-14 14:57:20 +00:00
2017-02-15 18:02:22 +00:00
**All files are now being edited with [Atom ](https://atom.io/ ).**