Skip to content

dshokouhi/homeassistant-config

 
 

Repository files navigation

homeassistant-config

These are my personal Home Assistant configuration files. Feel free to learn from my mistakes :)

Build Status (Travis-CI)

Build Status

Current Configuration

  • Raspberry Pi 3 Model B using Hass.io
Fair warning: I've been in the process of migrating from Samsung SmartThings to Home Assistant. While much of this works, it is constantly under construction :)

Automations

Lights

  • Turn on kitchen lights when motion detected and off when motion stops (motion_kitchen_lights.yaml)
  • Turn on garage lights when door is opened and off shortly after it closes (garage_lights.yaml)
  • Turn off the downstairs lights when I start playing content at night on my NVidia Shield, dim them on when paused and back off when resumed (movie_time.yaml)
  • Same as above for guest bedroom Chromecast

Convenience

  • Start casting a music stream when I walk into the bathroom in the morning (morning_routine.yaml)
  • Remind me to take out the trash if tomorrow is garbage collection day when entering the kitchen (morning_routine.yaml)
  • Set my AV receiver to the proper input if its in my Google Cast group if I'm not already watching TV (chromecast.yaml)
  • Send washer/dryer finished notifications based on energy meters and announce completion via Google Home (laundry.yaml)
  • Wake me up at the specified time using transitioned lighting (alarmclock.yaml)
  • If it's a travel day per my TripIt calendar, remind me where I'm going after I leave the bathroom in the morning
  • Hot Tub control (Balboa Wi-Fi) and temperature readings

Security

  • Arm alarm when Night mode kicks in (alarm.yaml)
  • Arm alarm when house is empty for a while (alarm.yaml)
  • Turn on/off perimeter lighting after sunset/sunrise (night_lighting.yaml)
  • Turn on/off evening lighting at night, off at midnight (night_lighting.yaml)

UI Enhancements/Customizations

  • Use meta device tracker python script to use most accurate source of presence (iOS app, OwnTracks and ping)
  • Hide media players when their state is idle/off (hide_mediaplayers.yaml)
  • Set theme based on sunrise/sunset (hass_theme.yaml)
  • Use Custom UI elements for tweaking UI objects

Housekeeping

  • Send a notification if my SSL certificate is going to expire in <10 days (hass_tasks.yaml)
  • Send a notification when an update is available for Home Assistant (hass_tasks.yaml)
  • Send a notification upon failed login attempts (hass_tasks.yaml)

Devices

Lighting

Network Gear

Sensors

Third-party Integrations

Screenshots

Default View Entertainment People Security Outdoor Events

Thanks to many example configs that helped immensely and the discord chat! Specifically arsaboo and stanvx and oakbrad

About

My HomeAssistant configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.7%
  • Shell 1.3%