Z-Wave-Js UI Server; Can't Connect

Hello,
I’m trying to get connected to my new AEOTEC Z-Stick 10 Pro. I have Home Assistant running in a Docker Container, and have tried getting Z Wave JS UI running as a seperate compose file, and within the Home Assistant compose. I’m fairly new to docker.

I’ve been through the forums and I can’t find out what I need to do to establish the connection. I am able to run Home Assistant. I can access the web UI for Z-Wave (on port 8091). I’ve toggled the WS Server and have put in the IP address for Z-Wave JS and leaving it blank. Also, portainer gives a seperate PI address (172 etc), and I still can’t connect in Home Assistant.

I read that there was an issue with a newer version of Z-Wave, so I’m using 11.3.1.

Here is my docker compose:

> networks:
>   home-assistant-zwave-js-ui:
>     name: home-assistant-zwave-js-ui
> 
> services:
>   home-assistant:
>     container_name: home-assistant
>     image: ghcr.io/home-assistant/home-assistant:stable
>     network_mode: host
>     restart: unless-stopped
> 
>     depends_on:
>       - home-assistant-zwave-js-ui
>     environment:
>       TZ: America/Denver
>     volumes:
>       - ./config:/config
>       - /etc/localtime:/etc/localtime:ro
>       - /run/dbus:/run/dbus:ro
> 
>   home-assistant-zwave-js-ui:
>     container_name: home-assistant-zwave-js-ui
>     image: zwavejs/zwave-js-ui:11.3.1
>     restart: unless-stopped
>     tty: true
>     stop_signal: SIGINT
>     environment:
>       - XXXXXXXXXX=mysupersecretkey
>       # Uncomment if you want log times and dates to match your timezone instead of UTC
>       # Available at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
>       - TZ=America/Denver
>     networks:
>       - home-assistant-zwave-js-ui
>     devices:
>       # Do not use /dev/ttyUSBX serial devices, as those mappings can change over time.
>       # Instead, use the /dev/serial/by-id/X serial device for your Z-Wave stick.
>       - /dev/serial/by-id/usb-Silicon_Labs_CP2105_Dual_USB_to_UART_Bridge_Controller_017031B8-if00-port0:/dev/zwave
>     volumes:
>       #- zwave-config:/usr/src/app/store
>       # Or by using local folder
>       - ./store:/usr/src/app/store

Since your new to docker it’s best to put both container in a single compose file.

Currently I’m sure there is no common network between HA and zwave. If you put them in same compose it will work

Also give the docker containers host name and use the hostname, not IP address, to connect the containers. They need a shared docker network for this.

The compose file has no ports exposedh so you won’t be able to access the UI of zwavejsui.

If you want to keep HA and zwavejsui seperate you should create a docker network and connect both HA and zwavejsui to that so they can talk