homeassistant-config icon indicating copy to clipboard operation
homeassistant-config copied to clipboard

My HomeAssistant configuration

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

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, lock the doors and close the shades (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 from the UI 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