/home-assistant-configuration

My personal home automation solution using Home Assistant (http://home-assistant.io)

Primary LanguagePython

Home-Assistant Configuration

This is my personal home automation configuration using Home Assistant (http://home-assistant.io) - hereby referred to as HA. My configuration is built off of many online docs, tips, and examples over many grueling hours of trial and error. I've tried to document what I've learned so hopefully it will help others (and prevent me from making the same mistakes twice).

NOTE: Sensitive files (ex. secrets.yaml) and folders (ex. www) have been excluded from this repository.

Table of Contents

Features & Benefits

Some of the features and benefits of my entire home setup (automation, entertainment, security, etc.).

Convenience Convenience

  • Garage
    • Garage Opener | Remotely open/close through a custom made garage door opener (works with any garage door)
    • Open/Close Alerts | Sends push notifications when garage opens or closes
    • Automatic Lighting | Turn outdoor and indoor lights (near the garage) on and off when the garage door opens or closes (ex. Light up the driveway when I open the garage late at night)
  • Lighting
    • Motion & Time Sensitive Lighting | Turn on lights when motion detected at the appropriate brightness for the time of day (ex. After midnight, lighting automatically turns on to a maximum 40% brightness)
    • School Mornings | Turn on front door, stairs, and mudroom entrance lights at the start of every school day
  • Voice Contol | You know, like everyone else does

Climate Climate

  • Cooling
    • Air Conditioner | Turn AC on/off
    • Fan Control | Turn fans on/off, control speed
  • Temperature
    • Alerting | Sends push notifications when temperature is too hot or too cold
  • Humidity
    • Automatic Venting | Automatically turn on bathroom fan when humidity is high (i.e. someone is showering)

Maintenance Maintenance

  • Z-Wave Healing | Automatically heal your Z-Wave network while you sleep

Monitoring Monitoring

  • Infrastructure Up/Down Alerts | Monitor your critical infrastructure (ex. NAS, router, wifi, etc) and send push notifications when they go up or down
  • Sensor Low Battery Alerts | Sends push notifications when sensor batteries are low
  • Personal Device Low Battery Alerts | Sends push notifications when personl device (ex. iPhone, iPad, laptop) batteries are low

Multimedia Multimedia

  • Audio
    • Room/Whole House Audio | Play music per room, in room groups, or across the entire house
  • Video
    • Room/Whole House Video | Control video streaming in any room, view who is streaming what, and more
    • Game Time / Movie Night | Sit back, use your TV remote to watch TV or play a game, and have the lights dim or turn off. Have them turn on when you turn off the TV.
    • Smart Motion Lighting | Lights turn on and off whenever motion is detected - but not when you are playing a game or watching a movie.

People People

  • Heading Home Alerts | Sends push notifications when you're on your way home and how long until you arrive
  • Arrival Alerts | Sends push notifications when key family and friends arrive at my home
  • Arrival Announcements | Whole house audio announces when key family and friends arrive at my home (ex. "Attention: Jesse has arrived")
  • Location Tracking | Easily see where family are (ex. bus stop, school, home, work)
  • Find Device | Make a lost device play a ring tone
  • Per Person/Room | Perform custom actions per person as they enter, use, and leave a room (ex. Set lights low, turn on TV, and change to HGTV when Jesse enters the living room; Tell Jesse the travel time to work when he enters the living room, on a work day, during the time to leave for work)

Safety Safety

  • Front Door Lighting | Automatically turn on the front door light when the sun has set
  • Smoke Detectors | Detect smoke, take safety measures (ex. turn off heat), turn on lights, sound siren, whole house audio announce, and send a push notification

Savings Savings

  • Lighting
    • Awareness | Instantly see total lights on, which ones, etc
    • Outdoor Light Saver | Automatically turns off outdoor lights when the sun has risen
    • Indoor Light Saver | Automatically turns off certain lights left on too long (ex. turn off attic lights after 15 minutes)

Security Security

  • Alarm
    • Home & Away Modes | Change monitoring and alerting by arms in home (i.e. I'm home so when doors are open but don't alert when motion is detected) or away (i.e. alert on everything) modes
    • Arm/Disarm Announcements | Whole house audio announce when the alarm has been armed/disarmed (ex. "Attention: The alarm will arm in 30 seconds.")
    • Empty House Auto Arm | Automatically arm the alarm when key family members leave
    • Sleeping House Auto Arm | Automatically arm the alarm when its bedtime
    • Trip Alarm | Manually trip the alarm
  • Detection
    • Camera Motion & Audio Alerts | Alert whenever sound or motion is detected
    • Door Open/Close Alerts | Alert whenever exterior doors are opened or closed
    • Door Left Open Alerts | Alert when a door has been left open too long
  • Deterence
    • Mockupancy | Simulate occupancy by automatically turn lights on and off in different rooms
  • Response
    • Turn On Exterior Lights | Turn on exterior lights when outdoor motion detected
    • Flash Lights | Flash lights while alarm is tripping
    • Color Lights | Turn light colors red and blue
    • Siren | Play siren or any audio while alarm is tripping
    • Trip Announcements | Whole house audio announce the alarm has been tripped (ex. "Attention: The owner and police has been notified.")

Surveillance Surveillance

  • Fee & Cloud Free | Eliminate monthly/yearly fees and cloud availability and privacy issues by running and storing recorded video locally
  • Video Monitoring | Watch live video feeds
  • Continuous Recording | Records everything, 24x7

Server

Here are the exact components (and where I bought them) for my $119.21 HA server:

Devices

Some of my devices integrated, accessed, and or controlled by the HA server:

Getting Smarter

Visit the following sites to get smarter on HA: