Skip to content

My Home Assistant configuration and automations

Notifications You must be signed in to change notification settings

misosec/ha-config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Home Assistant Config

My rule is no cloud based apps, everything must run local, no subscription fees, and the hardware must have Home Assistant integration. I don't want 20 different apps to manage 20 different devices, I don't want my house to become unusable when my internet is offline, and I don't want devices that can be bricked when a manufacturer decides to turn off their servers or not renew a certificate.

My HA installation runs on a Pi 3 with the following:

Software

Hardware

  • 1 x Foscam FI8918W for a PTZ camera in my toddler's room which I've then configured using HA scripts to allow me to point at three different locations in the room
  • 2 x Foscam FI9800P - one for the front of the house, one for the back
  • 1 x Foscam C1 Lite for the landing
  • 1 x Foscam C1 for the hallway
  • 2 x Fibaro FGMS-001 Motion Sensor (manual) for motion and temperature (it does brightness too but I'm not making use of that yet)
  • 1 x Aeotec USB Z-Stick S5 plugged into the Pi to interface with the z-wave devices
  • Ikea Tradfri lighting - dimmers and bulbs for the living room TV are and play area, downstairs toilet, hallway, dining room, and master bedroom
  • 2 x TP-Link HS110, one for the Xmas lights and one for the wife's electric blanket

UI UI UI

Floorplan

UI

  • Dark grey rooms can't be controlled as they have no controllable lights in yet
  • Light grey rooms mean they've got controllable lights, and a tap on the room will toggle them
  • Yellow rooms are rooms with lights already turned on
  • The diagonally hatched rooms are rooms with currently detected motion

Automation

// todo: document

High level overview:

  • My office lights are automated. When I walk in the room they turn on, and after 10 minutes of no motion they turn off
  • When neither my wife or I am home, my internal cameras begin recording and my motion sensors will send a Slack alert when motion is detected
  • The underlights on my bed turn on automatically at 7pm and off at 7am
  • My wife's electric blanket turns on at 6:30pm and off at 11pm
  • The Christmas lights on the front of the house turn on at sunset and off at 7am
  • When my wife or I arrive home the internal camera recording is disabled, the motion sensors stop alerting, and the dining room light turns on (it's the closest to the driveway)
  • Slack notifications when a new HA update is available

Whenever any automation fires I get a Slack update to let me know what's going on.

Slack

About

My Home Assistant configuration and automations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.5%
  • HTML 33.5%
  • Other 2.3%
  • Other 0.7%