Skip to content

HalEEfacts/SmartHome-Hassio

Repository files navigation

TravisCI LastCommit GitHub stars GitHub issues License: Unlicense contributions welcome Uptime Robot status Buy Me A Beer

This is my Smart Home. It uses Home Assistant to bridge and automate all my home automation products. It runs on a Raspberry Pi Model B+ running Hass.io. Related repositories: Arduino for DIY sensors/lights/switches etc, "NextCloudPi" for the NAS.

Table of contents

  1. Devices
  2. Security
  3. Automations
  4. Screenshots
  5. Information
  6. Configuration

Devices

Around the house I have:

Cloud Devices

Device Quantity Connection Home Assistant Notes
Amazon Echo Dot 1 Wifi https://www.home-assistant.io/components/alexa/ Used for voice commands to turn devices on/off using the Emulated Hue Component
Google Mini 1 Wi-Fi Assistant also for voice control, vie build in cloud service or DIY.

Cloud Devices

Outlets

Device Quantity Connection Home Assistant Notes
Wemo Outlet 1 Wifi
Sonoff S31 2 Wifi mqtt not set up yet
Jinvoo Outlets 2 Wifi Tuya component not set up yet

Lights

Device Quantity Connection Home Assistant Notes
Hue Colored lights 2 wifi/zigbee Hue
Ikea TRÅDFRI LED Bulbs 1 Wifi/zigbee Hue
Ikea TRÅDFRI Remote 1 Wifi/zigbee - add thru Hue via 1

Multimedia

Device Quantity Connection Home Assistant Notes
IP/Android Cameras 1 Wifi IP Webcam
Amazon Fire 8HD 1 Wifi FloorPlan Blog post dont have yet, may go with Pi Screen
[LG WebOS TV] 1 LAN WebOS
[Sonos] 2 Wifi Sonos

Etc

Device Quantity Connection Home Assistant Notes
PI Zero 1 Wifi
NodeMCU Development Boards 8 Wifi/mqtt Act as DIY Motion Sensors. Scenes are activated via IFTTT/HA integration.
Pi 2 B 2 Wifi Runs as home computer (Raspbian, etc) with WebCam (installed via 1, CUPS for Printer connection via MQTT, and NAS

*Technically Zigbee based, but added through Hue they dont require a zigbee hub.

Hardwired Devices

| Device | Quantity | Connection | Home Assistant | Notes | | ------------- | :---: | ------------- | ------------- | ------------- | | [Philips Hue Hub Gen 2](http://amzn.to/2eoQTJy) | 1 | LAN | Hue | | [Pi B+](http://amzn.to/B01CD5VC92)__ Hub, See above (Hass.io) | [Ikea TRÅDFRI Gateway](http://www.ikea.com/us/en/catalog/products/00337813/) | 0 | LAN | |

Outdoor Landscaping

| Device | Quantity | Connection | Home Assistant | Notes | | ------------- | :---: | ------------- | ------------- | ------------- | | [Rachio Sprinkler system](http://amzn.to/2eoPKBW) | 0 | Wifi | | | | [GE ZWave Outdoor Power Module](http://amzn.to/2q17R4S) | 0 | | | |[Phyn Smart Water Main ShutOff/Leak Detector](http://www.phyn.com/) | 0 | | | | [Outdoor LED Lighting](http://www.vmwareinfo.com/2017/08/diy-outdoor-smart-home-led-strips.html) | 0 | | |

Outdoor LED Accents

| Device | Quantity | Connection | Home Assistant | Notes | | ------------- | :---: | ------------- | ------------- | ------------- | | [LED RGB Wifi Controller - flux_led compatible](http://amzn.to/2jUBSBE) | 0 | | | | [LED Strip kits](http://amzn.to/2gJYfZ5) | 0 | | | | [Aluminum light Diffusers](http://amzn.to/2CIId82) | 0 | | | | [Outdoor Housing](http://amzn.to/2m2dG0X) | 0 | | |

Sensors

| Device | Quantity | Connection | Home Assistant | Notes | | ------------- | :---: | ------------- | ------------- | ------------- | | [Pi Zero](http://amzn.to/2ougZQ3) | 0 | | | | [Zigbee2mqtt "hub"](https://github.com/Koenkk/zigbee2mqtt) | 0 | | | | [MX350 Printer]( http://a.co/d/1GxbxER) | 1 | | | | [Xiaomi motion sensors](1) | 0 | | | | [Xiaomic Button](2) | 0 | | |

Security

These are the steps I have taken to add some level of security to my Home Assistant instance.

  • Simple protections like enabling a password and limiting the number of incorrect login attempts.
  • Anything that doesn't need an internet connection is blocked from any inbound or outbound traffic at the router level.
  • Running PiVPN on a spare Raspberry Pi, any external traffic runs through this one port only, needs a cert to access.
  • Failed login attempts to the Home Assistant Front end generate a notification to me with the source IP.
  • Frontend log-ins are tracked using a Custom Component
  • My Home Assistant Traffic is encrypted with Let's Encrypt. I used this guide to get it setup.

Automations

A detailed description of each of my automations and a link to the yaml file is located HERE

Typical Automations in use (or planned to be) include

  • Turn on / off outside lights at sunset
  • Turn on / off indoor light when door opens / closes
  • Turn off lights after no activity / motion
  • Grouping of lights for use with Alexa/Google for commands
  • Perform actions based on people leaving home / arriving home
  • Update location for user based on geolocation zones (Work, School, Church, Home)
  • Enable holiday color lights on outside lights via scenes
  • Turn on lights based on motion / ring front door and return to previous theme after
  • Send Text notification and flash lights if water detected in basement
  • Send Text notification and flash lights if water detected by washing machine
  • Cut power to washing machine if water detected by washing machine
  • Send Text notification and flash lights if CO / Smoke detectors go off
  • Send alert if power is lost at the house
  • Enhance security system through extra sensors and motion reading

Screenshots

Home

Home

Links

Confguration

This is the main directory of the Repo. You will find more helpful ReadMe files in the directories as you browse them. I use a configuration type called split configuration, so my main configuration.yaml file is broken out into many different files located in the directories. I also use packages to combine related items (media players, their automations etc).

Installation Process:

I'm currently running Home Assistant version 0.81. My preferred installation method is the HASS.io Method. Simply download, and install on SD card via Etcher. Install addons: see below.

Official Add-ons

I am running the following Hass.io add-ons:

  • DuckDNS - Updates your Duck DNS IP address and generate SSL using Let's Encrypt.
  • HASS Configurator - Browser-based configuration file editor.
  • Mosquitto - Fast and reliable MQTT broker.
  • Samba - Access your configuration files using Windows network shares.
  • NGINX SSL proxy - Reverse proxy with SSL termination.

Third Party Add-ons

Configuration/Components

Split up into sections, including packages for weather/media players,

Custom Cards

https://github.com/custom-cards https://github.com/kalkih/mini-graph-card https://github.com/kalkih/mini-media-player https://github.com/nervetattoo/banner-card

About

Main Home Assistant (Hass.io) repository.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published