u/iBeg2DFER

Add Aeotec Z-Stick Gen 5 to homeassistant container Windows Docker Desktop
▲ 1 r/zwave+1 crossposts

Add Aeotec Z-Stick Gen 5 to homeassistant container Windows Docker Desktop

So I'm currently running homeassistant as a container in docker desktop (Windows 11 Pro) using the following command:

docker run -d --name="homeassistant" -e "America/New_York" -v C:/Users/ibeg2dfer/Documents/homeassistant:/config -p 8123:8123 --restart=unless-stopped homeassistant/home-assistant:latest

I have a factory reset Aeotec Z-Stick Gen 5 that shows up in Device Manager as UZB (COM3).

https://preview.redd.it/2n6727uu90ih1.png?width=180&format=png&auto=webp&s=3895b1e5bf8c4d26c87ec13cdb4fae83b4bdf7ea

I follow the steps from usbipd-win to share and attach my USB Z-Stick to WSL. Running usbipd list I see the device is attached:

Connected:
BUSID  VID:PID    DEVICE                                                        STATE
1-8    0658:0200  UZB (COM3)                                                    Attached
1-13   8087:0029  Intel(R) Wireless Bluetooth(R)                                Not shared
1-14   26ce:01a2  USB Input Device                                              Not shared
4-1    17ef:6019  USB Input Device                                              Not shared
4-2    413c:2107  USB Input Device                                              Not shared

However when I open a wsl/docker-desktop terminal and list all devices, I am not seeing it listed as either /dev/ttyACM0 or /dev/ttyUSB0. I just get the following:

docker-desktop:~# ls /dev/tty*
/dev/tty    /dev/tty16  /dev/tty24  /dev/tty32  /dev/tty40  /dev/tty49  /dev/tty57  /dev/tty8   /dev/ttyS7
/dev/tty0   /dev/tty17  /dev/tty25  /dev/tty33  /dev/tty41  /dev/tty5   /dev/tty58  /dev/tty9
/dev/tty1   /dev/tty18  /dev/tty26  /dev/tty34  /dev/tty42  /dev/tty50  /dev/tty59  /dev/ttyS0
/dev/tty10  /dev/tty19  /dev/tty27  /dev/tty35  /dev/tty43  /dev/tty51  /dev/tty6   /dev/ttyS1
/dev/tty11  /dev/tty2   /dev/tty28  /dev/tty36  /dev/tty44  /dev/tty52  /dev/tty60  /dev/ttyS2
/dev/tty12  /dev/tty20  /dev/tty29  /dev/tty37  /dev/tty45  /dev/tty53  /dev/tty61  /dev/ttyS3
/dev/tty13  /dev/tty21  /dev/tty3   /dev/tty38  /dev/tty46  /dev/tty54  /dev/tty62  /dev/ttyS4
/dev/tty14  /dev/tty22  /dev/tty30  /dev/tty39  /dev/tty47  /dev/tty55  /dev/tty63  /dev/ttyS5
/dev/tty15  /dev/tty23  /dev/tty31  /dev/tty4   /dev/tty48  /dev/tty56  /dev/tty7   /dev/ttyS6

My understanding is that it needs to show up as /dev/ttyACM0 or /dev/ttyUSB0.in WSL in order for me to share with with Z-Wave JS UI --> homeassistant (both containers in docker desktop). Has anyone with a similar setup gotten this to work? If so, what might I be missing?

reddit.com
u/iBeg2DFER — 13 days ago