TheJohny
(Zsombor Fritz)
December 15, 2024, 12:01am
1
Hello,
I am running HA in docker under windows with docker compose. New installation, I am a beginner .
I have a HA Connect ZBT-1 stick connected to the PC. In Windows, it showed up as COM port “Silicon Labs CP210x USB to UART Bridge (COM3)” - i.e. on COM3.
The settings are: bits per second: 9600, flow control: None.
In docker-compose.yml I put it like this:
devices:
- “/dev/ttyS3:/dev/ttyUSB0”
This successfully starts the container, there is the
ls /dev/tty* command, a
/dev/ttyUSB device, so it looks good.
In Home Assistant, under Setting / Devices & service, the device does not appear by itself – is this a problem?
When I try to add it manually with “add intergation” or “add device”, I select “Zigbee Home Automation”
there it lists the device as “/dev/ttyUSB0 - n/a” – is “n/a” the normal thing here?
I select “EZSP” for radio type,
9600 for port speed (as the COM port is set in Windows) and blank for Data flow contol.
Unfortunately I get “Failed to connect”. Whatever I set for data flow control or port speed here and in Windows…
I am stuck.
Can you help me?
TheJohny
(Zsombor Fritz)
December 15, 2024, 9:55pm
2
unfortunately no reply maybe it’s not usual to use USB ZBT-1 in docker on Windows.
anybody?
TheJohny
(Zsombor Fritz)
December 19, 2024, 10:40pm
3
Could it be a problem with the ZBT-1 dongle itself?
leo-petrucci
(Leonardo Petrucci)
December 27, 2024, 8:54pm
4
Hi, had the same problem on Linux and managed to fix it. Not sure if it applies on Windows as well but maybe my solution will help.
I had to run
ls -l /dev/serial/by-id/
total 0
lrwxrwxrwx 1 root root 13 Dec 27 17:55 usb-Nabu_Casa_Home_Assistant_Connect_ZBT-1_e68cc24d653aef1184af261455516304-if00-port0 -> ../../ttyUSB0
I then asked Claude to advise me on how to add it to Docker and he suggested to use the configuration:
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
This ended up working fine and Home Assistant picked it up automatically during the integration setup.
I’m assuming that if it’s not working for you it might be some kind of Windows issue, because your process looks correct to me.
1 Like
TheJohny
(Zsombor Fritz)
January 1, 2025, 6:02pm
5
Thank you Leo for taking time to write me an answer.
Unfortunatelly I already tried this as well… I think I had a faulty ZBT-1 as I replaced it with another one and now it works.
1 Like