Running it in Docker and configuring Home Assistant to use MQTT is a straight forward process. I have a few MQTT projects upcoming/completed that I’ll write about over the next few weeks: Building a smart garage door opener using a Shelly 1 relay. Add-ons for Home Assistant, allow you to extend the functionality around your Home Assistant setup. These add-ons can consist of an application that Home Assistant can integrate with (e.g., a MQTT broker or database server) or allow access to your Home Assistant configuration (e.g., via Samba or using the Configurator).

  • Home Assistant Core: our Python core application running in a Python virtual environment or a Docker container. The benefit of running the Supervisor is that you are able to keep Home Assistant up to date from within Home Assistant, and easily install add-ons that are pre-configured to be able to integrate with Home Assistant.
  • Docker add-ons for Home Assistant docker iot automation home hacktoberfest Shell Apache-2.0 669 560 100 (3 issues need help) 15 Updated Mar 24, 2021.
30 Sep 2019

Home Assistant on Docker is easier than running it with HASSIO IMO.

Here is a high-altitude overview of how I run Home Assistant -and- then I’ll dig into the details of my setup.

Docker

Install Docker Home Assistant

  • Setup Raspbian with Docker and Docker-Compose
  • Plugin my Aeon Z-wave script; make sure it’s on /dev/ttyACM0
  • Setup scripts for Docker-Compose
  • Setup scripts so it runs on startup
  • Create a backup process

Okay, details… here is how I run Home Assistant on Docker on a Raspberry Pi 4.

Docker Home Assistant
  • Install Raspbian on the Raspberry Pi 4.
  • Install Docker and Docker-Compose.
  • Create /root/docker-compose.yml consisting of the following (NOTE: I use the Aeon z-wave stick at /dev/ttyACM0):

Docker Home Assistant Windows

  • Create the following file for automating the service on startup /etc/systemd/system/home-assistant.service
  • Run this systemctl enable home-assistant.service
  • Run this systemctl enable docker
[ dockerhome-automationhome-assistant ]

Docker Home Assistant Install

Related Posts