My Home Assistant configuration and automations
HTML JavaScript C++ Other
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
arduino/bedroomsensors Add arduino code for bedroom TV controller Dec 8, 2017
helpers Add ninja helper, powershell backup script Nov 11, 2017
images Update floorplan screenshot Dec 30, 2017
jinja_helpers Update README.md Dec 30, 2017
panels Add controllable RGB LEDs and new floorplan version with switchable tabs Dec 5, 2017
www/custom_ui Big update for new hardware May 13, 2018
.gitignore Add arduino bed lights to .gitignore Dec 20, 2017
.travis.yml Update .travis.yml Nov 27, 2017
README.md Update README.md May 13, 2018
automations.yaml Add influxdb and ha-dockermon May 13, 2018
binary_sensors.yaml Big update after an almost entire rewrite on a new pi 3bi+ May 13, 2018
cameras.yaml Add customised components Nov 25, 2017
configuration.yaml Add influxdb and ha-dockermon May 13, 2018
copy-hass-config.ps1 Big update for new hardware May 13, 2018
customize.yaml Add influxdb and ha-dockermon May 13, 2018
customize_glob.yaml Big update for new hardware May 13, 2018
entity_registry.yaml Big update after an almost entire rewrite on a new pi 3bi+ May 13, 2018
floorplan.html floorplan v1 (not finished) Nov 12, 2017
floorplan.yaml zwave entity rename Nov 28, 2017
floorplan2.yaml zwave entity rename Nov 28, 2017
groups.yaml Add influxdb and ha-dockermon May 13, 2018
known_devices.yaml Big update for new hardware May 13, 2018
scripts.yaml Big update for new hardware May 13, 2018
sensors.yaml Big update for new hardware May 13, 2018
shell_commands.yaml Big update for new hardware May 13, 2018
themes.yaml Added template sensor for lights count Nov 25, 2017
travis_fake_certificate.fake_crt Create travis_fake_certificate.fake_crt Nov 25, 2017
travis_fake_key.fake_key Rename travis_fake_key.fake_ke to travis_fake_key.fake_key Nov 25, 2017
travis_secrets.yaml Long overdue updates Apr 21, 2018
weblinks.yaml Included hyperlinks and pihole monitoring Nov 11, 2017

README.md

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 Home Assistant installation runs on a Pi 3 Pi 3B+ (updated 13/5/2018). On a Pi 3 I also run the following:

Software

Hardware

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

I'm currently migrating to Node Red for automation because I find it very powerful, and a quicker debug cycle when writing new automations.

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
  • The hallway lights come on automatically at 20% brightness between sunset and sunrise. They're also activated on motion if the room is below 60 lumens.
  • 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
  • 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