Home Assistant
Table of Contents
A docker-compose setup
Following along at Linux Install - Docker Compose. Since we also want to store camera recordings we will set up a location for that as described at Setting up local media sources.
Grab the image
It's somewhat heavy, around 1.9GB when I did this first.
sudo docker pull homeassistant/home-assistant
Create a dataset on our ZFS volume
Not strictly necessary, but at the moment I want to keep this data separate until my configuration is stable. This makes it easier to push elsewhere if I want.
If yamato_zstorage
is mounted at /path/to/storage
this will end up in /path/to/storage/homeassistant-media
.
sudo zfs create yamato_zstorage/homeassistant-media
Create a volume for configuration storage
sudo docker volume create homeassistant-config
Write a docker compose file
Mine is a combination of Home Assistant and Frigate containers.
Create and start the container
sudo docker-compose -f docker-jellyfin.yml up -d
Then connect to it at hostname:8123
.
Enabling bluetooth access via dbus
I did this, but turns out I have nothing to work with over bluetooth. Just leaving it for future.
I followed: The built-in bluetooth method
sudo apt install dbus-broker bluez
Then add /run/dbus
to your volumes.
volumes: - /run/dbus:/run/dbus:ro
HACS and other things as it relates to Frigate integration
This whole process has been a mess.
Things I did:
- Install HACS
- Add the Frigate Integration
- Add the Frigate Lovelace card
Many things did not make sense.
- Why does HACS need a github account?
- Why is HACS installed via a shell script rather than some sanctioned method?
- Why didn't the lovelace card show up at first? Why didn't it work after it did show up, but randomly start working later?