Home Assistant and Docker

I currently use Home Assistant to control the numerous smart devices in my home. I run it in a Docker container to make it easier to maintain and update.

This article is a work in progress. Follow this post to get updates!

Here is how I run (and update) my container:

docker run --name=hass -d \
--restart=always \
--privileged \
--cpus 2 \
--device=/dev/ttyACM0 \
-v /mnt/nas/hass:/config \
-e PGID=0 -e PUID=0 \
-v /etc/localtime:/etc/localtime:ro \
-e TZ=America/Los_Angeles \
-p 8123:8123 \
-p 1883:1883 \
homeassistant/home-assistant

Update OpenZWave

There has also been a time or two where I have bought a new Z-Wave device and the openzwave version within Home Assistant has been a few versions behind., thus making my new device useless. If you need to update openzwave within Home Assistant use the command:

docker exec -it hass pip3 install --upgrade python-openzwave

Products I’m currently using with Home Assistant:

Follow
( 0 Followers )
X

Follow

E-mail : *

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.