Strugling with ZWave-JS-UI

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
JuanUil
Posts: 500
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Strugling with ZWave-JS-UI

Post 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
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
JuanUil
Posts: 500
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Strugling with ZWave-JS-UI

Post by JuanUil »

The englisch version of the manual can now be found on:
https://mega.nz/file/jQInXCJI#j-uMcnlrX ... YzUippScHs

Enjoy!
Jan
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Strugling with ZWave-JS-UI

Post 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?
JuanUil
Posts: 500
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: Strugling with ZWave-JS-UI

Post 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.
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Strugling with ZWave-JS-UI

Post 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?
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Strugling with ZWave-JS-UI

Post by gizmocuz »

I have Docker Compose version v2.14.0
the command is still

Code: Select all

docker-compose up
did you change the serial port field value?

Do you see any devices when you issue

Code: Select all

ls /dev/serial/by-id
Quality outlives Quantity!
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Strugling with ZWave-JS-UI

Post by sailmich »

I have docker compose version v2.14.1
ls /dev/serial/by-id deliver usb-0658_0200-if00.
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Strugling with ZWave-JS-UI

Post 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
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Strugling with ZWave-JS-UI

Post 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
Quality outlives Quantity!
sailmich
Posts: 245
Joined: Wednesday 17 February 2016 22:55
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Germany
Contact:

Re: Strugling with ZWave-JS-UI

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest