Page 1 of 1
Strugling with ZWave-JS-UI
Posted: Saturday 24 December 2022 16:16
by JuanUil
HI all,
I also have struggeld a lot with switching to ZWave-JS-UI.
But now all is working verry well and better then in OZW.
I have made a tutorial to complete install.
For the moment it is only in Dutch and maybe not complete.
Coming time I will translate and update.
you can download it from :
https://mega.nz/file/3JxQ3Y7R#LIFf5wcVo ... KTAX1e5dFA
good luck!
Jan
Re: Strugling with ZWave-JS-UI
Posted: Sunday 25 December 2022 15:33
by JuanUil
The englisch version of the manual can now be found on:
https://mega.nz/file/jQInXCJI#j-uMcnlrX ... YzUippScHs
Enjoy!
Jan
Re: Strugling with ZWave-JS-UI
Posted: Monday 26 December 2022 11:33
by Egregius
Could you also add the settings of MQTT hardware in domoticz and those of MQTT/zwave/gateway/homeassistant in zwave-js-ui?
What's the purpose of Open Media Vault?
Re: Strugling with ZWave-JS-UI
Posted: Monday 26 December 2022 12:40
by JuanUil
Will do this week.
OMV is very handy. Docker and portainer are easy to install and you can controll all of your settings of the PI.
Re: Strugling with ZWave-JS-UI
Posted: Tuesday 27 December 2022 11:14
by sailmich
@JuanUil
I use Rpi 3b and Zstick gen5
I tried to install it according your manual without success. How did you install docker and docker compose? I got docker compose 2.0 and therefore the command to start docker compose changed from docker-compose up to docker compose up. When I start zwavejsui compose in a terminal I got a message WARN Z-WAVE: Z-Wave driver not inited, no port configured. I double checked the path in the docker-compose.yml of the Zstick and it's correct. When I use Openzwave USB within Domoticz Hardware the stick is connected and I can see my zwave devices. I tried it also with /dev/ttyACM0 without success. Seems to me that something wrong with syntax in docker-compose.yml.
Any suggestion?
Re: Strugling with ZWave-JS-UI
Posted: Tuesday 27 December 2022 12:36
by gizmocuz
I have Docker Compose version v2.14.0
the command is still
did you change the serial port field value?
Do you see any devices when you issue
Re: Strugling with ZWave-JS-UI
Posted: Tuesday 27 December 2022 12:52
by sailmich
I have docker compose version v2.14.1
ls /dev/serial/by-id deliver usb-0658_0200-if00.
Re: Strugling with ZWave-JS-UI
Posted: Tuesday 27 December 2022 14:27
by sailmich
This is what I use as my docker-compose.yml file. It's the same like in the manual, seems I have the same device. Is there a need to fill networks: zwave: volumes: zwave-config: ?
- Spoiler: show
Code: Select all
version: "3.7"
services:
zwave-js-ui:
container_name: zwave-js-ui
image: zwavejs/zwave-js-ui:latest
restart: always
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=Para_771#@
- ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
# 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=Europe/Amsterdam
networks:
- zwave
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-0658_0200-if00:/dev/zwave'
volumes:
- zwave-config:/usr/src/app/store
# Or by using local folder
# - ./store:/usr/src/app/store
ports:
- "8091:8091" # port for web interface
- "3000:3000" # port for Z-Wave JS websocket server
networks:
zwave:
volumes:
zwave-config:
name: zwave-config
Re: Strugling with ZWave-JS-UI
Posted: Tuesday 27 December 2022 17:33
by gizmocuz
All my serial devices have something like -port0 behind them
I am missing this in your serial string
Are you use it is not:
/dev/serial/by-id/usb-0658_0200-if00-port0
Re: Strugling with ZWave-JS-UI
Posted: Tuesday 27 December 2022 21:04
by sailmich
@gizmocuz
I don't have this port0 behind. I double checked with another pi with domoticz already installed, same there.
Openzwave usb Hardware is running on both rpi's. There I have /dev/serial/by-id/usb-0658_0200-if00 in path.
I added /dev/serial/by-id/usb-0658_0200-if00-port0 in docker-compose.yml But also no success.
Off topic? Because I'm desperate I tried installing all as recommended with docker on a new bullsey lite image. I used manual from
https://hub.docker.com/r/domoticz/domoticz. docker-compose up -d doesn't work! You have to use
docker compose up -d