/homeassistant

🏠 My Home Assistant configs. If you like what you see, please ⭐️ my repo. It would encourage me a lot.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

GitHub stars GitHub last commit GitHub commit activity HA Version HA Community GitHub

Overview

My personal Home Assistant Container configurations.

I utilize Home Assistant to bridge and automate all my home automation products. It was quickly realized as I expanded beyond some smart bulbs and a Hue hub, that nothing integrated into a single system for control, automation, and communication. Home Assistant originally was run on a Raspberry Pi but I have since moved it to run as a docker container running on a Synology NAS DiskStation DS1621+

Architecture

I'm running two internet connections here at the house. The first is Xfinity/Comcast Business Internet Gigabit Extra (1.25 Gbps / 35 Mbps) and the other is AT&T's Internet 100 (100 Mbps / 25 Mbps). Both of these routers are plugged into a Ubiquiti Security Gateway Pro (USG-PRO-4) which is rack mounted in my Garage/Home Office/Man Cave. You can configure the USG-Pro to either do WAN Failover or WAN Load Balancing. I've configured the USG-Pro-4 to utilize WAN Failover.

USG-PRO-4 USG-Pro-4 WAN Failover

What is WAN Failover?

Failover enables you to connect a second Internet connection to your UniFi Gateway which will serve as a “backup”. If your primary Internet service goes down, you will begin utilizing your secondary Internet connection.

How does UniFi determine if my Internet goes down?

The UniFi Network Application checks for connectivity and latency to an “echo server”. By default, this is set to ping.ui.com which leverages responses from various locations to ensure maximum accuracy.

In addition to the two WAN connections, UniFi Gateways also support the use of our UniFi LTE Backup which is connected to a LAN port. This is only capable of being used as a failover option.

While I have the UniFi LTE I've yet to configure it for use.

Gear/Equipment

This list of gear/equipment is not complete.

Networking

NAS

Smart Plugs

Screenshots

HA Dashboard Overview Entry Point into the Dashboards

HA Dashboard - Synology Synology Dashboards

HA Dashboard - Smart Plugs Smart Plugs Dashboards

Features

  • Turning on lights depending on the time of day (sunrise/sunset)
  • Smoke Alarms/CO2 Detection
  • Printer low ink notification
  • Doorbell notification
  • Low battery on devices
  • High humidity notification

Note: Private information is stored in secrets.yaml (not uploaded)