Page 1 of 1

Another zwave-ui problem (SOLVED)

Posted: Friday 16 February 2024 12:47
by capady
I'm trying to install z-wave-ui with docking and mqtt for more then 3 weeks without an acceptable result.

When I call the zwave-ui page I can make settings but the page is showing an error "Driver: failed to open serial port Error: no such file or directory, cannot open /dev/zwave (zw0100)"
I've read a real lot of internet pages but can't found a solution to solve this.
At one place on the internet I saw this should be a permission problem but I cann't find this page again so also no solution :)
On the other hand, "/dev/zwave (zw0100" is not a known adress for me either

Re: Another zwave-ui problem

Posted: Friday 16 February 2024 12:57
by waltervl
Can you share your docker-compose.yml file or at least the devices section as mentioned here:
https://www.domoticz.com/wiki/Zwave-JS- ... ZWaveJS-UI

Devices section should look something like.

Code: Select all

devices:
      - '/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0:/dev/zwave'
Also check the USB name on your system with

Code: Select all

ls /dev/serial/by-id
You should see one or multiple serial devices, find out which one is your ZWave stick, for example it's:
usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0

Re: Another zwave-ui problem

Posted: Friday 16 February 2024 14:20
by capady
I am not very well known with this so sometimes I need some more time.
I Think you want to see this :

ls /dev/serial/by-id result:
usb-0658_0200-if00 usb-FTDI_FT232R_USB_UART_A13LYBV4-if00-port0


http://www.capady.nl/tmp/Scherm_1.png

Re: Another zwave-ui problem

Posted: Friday 16 February 2024 15:05
by waltervl
Yes, looks ok if the output of
ls /dev/serial/by-id
gives the same output for the USB device you are using.
Do you have more USB devices attached to your system? Are you sure this device is your USB Zwave-stick?
What kind of zwave controller do you have?

Re: Another zwave-ui problem

Posted: Friday 16 February 2024 15:18
by capady
Zwave stick is gen5, about 2,5 years old.
Led on it is blinking red-green-blue continiously

Another USB is used for P1-energie measuring

Re: Another zwave-ui problem

Posted: Friday 16 February 2024 15:20
by waltervl
You edited your post. I see that ls /dev/serial/by-id gives 2 results:
usb-0658_0200-if00
usb-FTDI_FT232R_USB_UART_A13LYBV4-if00-port0

Which one is the Zwave Stick?
Googling for both let me think usb-0658_0200-if00 is the Zwave stick so that should be used in the docker-compose.yml

Re: Another zwave-ui problem

Posted: Friday 16 February 2024 17:03
by capady
I hadn't even noted there where 2 USB's :(

But I have still the same problem


Image

Image

No idea what happens but images are not shown

Re: Another zwave-ui problem

Posted: Saturday 17 February 2024 11:49
by waltervl
I see your images. Did you restart the docker container after the change?

Re: Another zwave-ui problem

Posted: Saturday 17 February 2024 17:46
by capady
I noticed an zero to many in the config file. (_if000 instead of _if00)
I've removed that zero and reboot the raspberry, I suppose docker will be restarted then also

Re: Another zwave-ui problem (solved)

Posted: Saturday 17 February 2024 18:25
by capady
After editing some parameters at MQTT it is up and running without errors.

Thank you very much :mrgreen: