Hardware Setup #
- 4x Old Dell Optiplex 755 (only one machine necessary)
- Wired ethernet switch to home wireless router and WAN
- SONOFF Zigbee USB Dongle (this one) on one of the machines (only necessary to interact with Zigbee devices)
System Setup #
Each machine has the following:
- Ubuntu Linux 20.04
- Docker (with Swarm Cluster, Docker and Swarm not necessary for HA)
- GlusterFS shared disk across the cluster, not necessary for HA
Home Assistant Docker Setup #
Start from Linux on command line as swarm service (from the machine that has the USB dongle if necessary):
|
|
/dev/ttyUSB0
mount and constraint are only necessary to use the Zigbee USB dongle specifically in the case of a swarm service. Because Docker Swarm services do not have direct device permissions like docker run
or compose would, the following allow_device_permissions.sh
script manually passes the device permissions through to the docker container running HA. This script was adapted from a udev routine from the Home Assistant community and I’ll post a link to the discussion when I can find it again.
|
|
Home Assistant Integrations #
- NWS Weather
- Belkin Wemo for power outlet switches
- Roku devices
- Zigbee Home Automation integration (sometimes referred to as ZHA) for various devices
- Airthings devices
- TP-Link Kasa for power outlet switches
- Squeezebox/Logitech Media Server integration for piCorePlayer running on Raspi4 with BossDAC
- iOS App
- Home Assistant Community Store Integration (HACS)
- Landroid Cloud for Landroid robot mower
- LG SmartThinq Sensors for select appliances
- Hubspace for Home Depot EcoSmart WiFi Smart Bulbs
- HP Printer
Manual configuration.yaml
modification examples
#
|
|
Support #
The HA community seems is very active: https://community.home-assistant.io/