[SOLVED] Zwave stick works in OZW but not in zwavejs-ui Topic is solved
Moderator: leecollings
-
- Posts: 365
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
[SOLVED] Zwave stick works in OZW but not in zwavejs-ui
Hi !
In cannot get the right way to use Zwave stick Aotec Gen5 in docker.
Before I used the Aotec S2 which went without problems.
The guys of Zwavejs-UI told me that S2 is very old so I bought a newer one from dutch Marktplaats.
So far so good. Optimistic I followed the instructions same as for the S2 stick. But..... docker compose ended up with error:
Error response from daemon: error gathering device information while adding custom device "/dev/serial/by-id/usb-0658_0200-if00-port0": no such file or directory
But "/dev/serial/by-id/usb-0658_0200-if00-port0" is valid if OZW is activated in Domoticz hardware.
So how to solve this strange thing.
-Bart
In cannot get the right way to use Zwave stick Aotec Gen5 in docker.
Before I used the Aotec S2 which went without problems.
The guys of Zwavejs-UI told me that S2 is very old so I bought a newer one from dutch Marktplaats.
So far so good. Optimistic I followed the instructions same as for the S2 stick. But..... docker compose ended up with error:
Error response from daemon: error gathering device information while adding custom device "/dev/serial/by-id/usb-0658_0200-if00-port0": no such file or directory
But "/dev/serial/by-id/usb-0658_0200-if00-port0" is valid if OZW is activated in Domoticz hardware.
So how to solve this strange thing.
-Bart
Last edited by BartSr on Thursday 29 February 2024 14:17, edited 1 time in total.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- waltervl
- Posts: 5369
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
Please post your docker-compose.yml file. Seems something wrong there as it should not mention the real usb port but /dev/zwave
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 365
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
Code: Select all
version: "3.7"
services:
zwave-js-ui:
container_name: zwave-js-ui
image: zwavejs/zwave-js-ui:latest
restart: unless-stopped
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=mySecretSession
- TZ=Europe/Amsterdam
devices:
- '/dev/serial/by-id/usb-0658_0200-if00-port0:/dev/zwave'
volumes:
- ./store:/usr/src/app/store
ports:
- "8091:8091" # port for web interface
- "3000:3000" # port for Z-Wave JS websocket server
And yes, of course I disable OZW in domoticz prior to try start zwavejs-ui
-Bart
- Attachments
-
- ozw.jpg (28.74 KiB) Viewed 2499 times
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- jvdz
- Posts: 2206
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
Why do you have the extra bit "-port0" in the docker composer file? That should be exactly the same name as in domoticz.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 365
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
@jvdz
I updated with your remark but still no well-running docker
I updated with your remark but still no well-running docker
Code: Select all
version: "3.7"
services:
zwave-js-ui:
container_name: zwave-js-ui
image: zwavejs/zwave-js-ui:latest
restart: unless-stopped
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=mySecretSession
- TZ=Europe/Amsterdam
devices:
- '/dev/serial/by-id/usb-0658_0200-if00:/dev/zwave'
volumes:
- ./store:/usr/src/app/store
ports:
- "8091:8091" # port for web interface
- "3000:3000" # port for Z-Wave JS websocket server
- Attachments
-
- docker2.jpg (69.71 KiB) Viewed 2482 times
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
-
- Posts: 32
- Joined: Sunday 01 March 2020 13:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.2
- Location: Netherlands
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
I’m also having troubles to get the Aeon zwave gen5 going (or at least cannot get my ZWaveJS-UI to a stable run. It starts, I do see devices coming into the GUI, but after about a minute the full zwavejs-ui container restarts. And over and over again. I am on Buster.
See https://www.domoticz.com/forum/viewtop ... 24&t=42062. Maybe we can share our experiences.
See https://www.domoticz.com/forum/viewtop ... 24&t=42062. Maybe we can share our experiences.
Raspberry Pi 2
Raspbian Bookworm
Aeon zStick Gen5 fw 1.0
RFXCOM USB
Domoticz 2024.2
Raspbian Bookworm
Aeon zStick Gen5 fw 1.0
RFXCOM USB
Domoticz 2024.2
- waltervl
- Posts: 5369
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
Perhaps put the device line in double quotes " instead of single 'BartSr wrote: ↑Wednesday 28 February 2024 23:22 @jvdz
I updated with your remark but still no well-running docker
Code: Select all
version: "3.7" services: zwave-js-ui: container_name: zwave-js-ui image: zwavejs/zwave-js-ui:latest restart: unless-stopped tty: true stop_signal: SIGINT environment: - SESSION_SECRET=mySecretSession - TZ=Europe/Amsterdam devices: - '/dev/serial/by-id/usb-0658_0200-if00:/dev/zwave' volumes: - ./store:/usr/src/app/store ports: - "8091:8091" # port for web interface - "3000:3000" # port for Z-Wave JS websocket server
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5369
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
See https://github.com/zwave-js/zwave-js-ui/issues/3586
If you can see the Zwavejs website on port 8091 click on save in settings.
If you can see the Zwavejs website on port 8091 click on save in settings.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- waltervl
- Posts: 5369
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
After reading some more you probably have the /dev/serial/by-id adress in your Zwave-JS-UI settings. That should be changed into /dev/zwave and then press Save ....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- jvdz
- Posts: 2206
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
Ok, now have a look in the ZWJS2M website (8091) and check the config page for the Docker intername port used for the ZWAVE dongle.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 365
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
@ waltervl
@jvdz
change didnot make a differencePerhaps put the device line in double quotes " instead of single '
@jvdz
see hereunder but in a second a red message appeared telling no stick connected (or some like that)Ok, now have a look in the ZWJS2M website (8091) and check the config page for the Docker intername port used for the ZWAVE dongle.
- Attachments
-
- zwave2.jpg (41.26 KiB) Viewed 2435 times
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
-
- Posts: 365
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
I played a bit with zwave serial port. changed /dev/zwave into /dev/serial/by-id/usb-0658_0200-if00. This ended up in failure. Then I reverted to /dev/zwave and now the devices are there.
Lets wait now if it keeps stable as @hvoorend the container kept starting over and over.
Will post results later today (expect if container is stable for some hours it's OK).
-Bart
Lets wait now if it keeps stable as @hvoorend the container kept starting over and over.
Will post results later today (expect if container is stable for some hours it's OK).
-Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
- jvdz
- Posts: 2206
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
Good to see you got it working and strange you had to presumably save the "/dev/zwave" again to the config, but that was basically the last warning you got, that it was missing the port config.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
-
- Posts: 365
- Joined: Sunday 03 July 2016 16:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.7
- Location: Netherlands
- Contact:
Re: Zwave stick works in OZW but not in zwavejs-ui
Last to say: thanks to all of you for sharing your knowledge.
-Bart
-Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Who is online
Users browsing this forum: No registered users and 0 guests