Hi all,
I’m new here, but previously had a Home Assistant setup running properly when the recommended method was a Python venv (so, last week—things seem to be changing at light speed here, which is awesome). My Pi setup got corrupted a couple of months ago, and I had to start over, but now, with everything recommended to run in a docker container, I’m a bit lost as to what the least insecure setup would be.
I’m perfectly comfortable on the Linux command line, and am moderately familiar with Python, but am just coming up to speed on Docker, and I feel I may have several complicating factors. The things I want to configure are as follows:
- Home Assistant
- With a connection to Alexa
- And Google Home
- With a custom component that requires access to the command line and a serial port (X10 controlled through heyu and a CM11A - the built-in X10 component doesn’t work properly, so I modified it)
- As well as a switch that runs commands on the command line that need access to another serial port (to control a Panasonic Projector via RS232)
- On my own domain (DNS hosted by Namecheap)
- On a dynamic IP address
- Preferably with a frontend exposed to the Internet (unless this is REALLY frowned upon)
- MQTT
- For Owntracks
- And potentially other stuff
- Let’s Encrypt
- Because everything should be SSL
- Unifi Controller
I previously had EVERYTHING listed working on the venv setup, aside from the Unifi Controller (the Ubiquiti gear is very new), and still have all the config files and components. What’s confusing me at this point is how all this works with Docker, how the various Docker containers would work together, and how to use things like heyu and the python scripts I wrote to control the projector, which don’t have Docker containers.
The Unifi Controller is working fine, and can update the DNS entries at Namecheap. I don’t think that needs any work. I have Home Assistant running, and can access it internally via HTTP (or externally if I were to forward the port). I have certbot running natively getting certificates. I can control the X10 devices and the projector via the command line. The place I need help is getting everything configured properly with Home Assistant.
Does anyone have any recommendations on where to start? Links to guides and the like would be greatly appreciated.
TL;DR My wife misses our smart home that stopped working months ago, and everything is moving so quickly with Home Assistant that I can’t keep up.