Need To Expose Z-Wave USB Stick Through Already-Installed Docker Container

Continuing the discussion from Z-wave USB via docker:

I’ve ran a command: docker run -d --name=“home-assistant” -v ~/.homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host --device=/dev/ttyACM0:/zwaveusbstick:rwm homeassistant/home-assistant

However, Docker tells me I’ll need to give a container a different name or remove an existing container.

  1. What should I do if I wish to expose Z-Wave USB stick through the docker container?

    Two more questions:

  2. How do I make it so that the container gets started similar to --restart=always command if Home Assistant crashes or when I reboot my server?

  3. Is the OZW Control Panel included in Docker? If so, if I stop the Home Assistant container, how would I run a control panel UI?


Stop Home Assistant container, delete the container, and re-implement the container with needed changes. Docker does not need to redownload the image again, so that covers question 1 and 2. I still have Q3 unanswered, so this deals with getting Open-ZWave Control Panel up and running…

Update 2:

Actually, I found the ozwcp container:

I’ve answered all my questions so I thought I’d leave it here in case others need help.

1 Like

You could also stop the container:
docker stop home-assistant

and create a second one with a new name, for example:
allowing you to test the new container while keeping the first one.
In case of problem you can simply restart the first container.

Yeah, that’s what I did. I was new to Docker and I actually figured out myself after I start my thread.

Thanks, but my container is working fine. :slight_smile: