Page 1 of 1

Need help with Z-Pi7 Board and zwave-js-ui

Posted: Friday 09 August 2024 18:14
by sailmich
Hello,
I'm setting up a raspberry pi 4 with SSD and Z-Pi 7 board from Aeotec. I did install docker compose as recommended. I followed the instructions on domoticz WIKI. For using Z-Pi7 I switched of the bluetooth as described on help desk from Aeotec with

Code: Select all

dtoverlay=disable-bt
enable_uart=1
I checked if Z-Pi7 is on ttyAMA0 and I found /dev/ttyAMA0.
I did installed zwave-js-ui as recommended with docker compose like described in domoticz WIKI. The same with MQTT.
After setting up zwave-js-ui within the browser I got a Driver error.
Bildschirmfoto vom 2024-08-09 17-56-53.png
Bildschirmfoto vom 2024-08-09 17-56-53.png (238.56 KiB) Viewed 1959 times
Any ideas, maybe somebody already run with Z-Pi 7. I'm not able to take the right conclusions from the log.
My docker compose.yml
Spoiler: show

Code: Select all

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=mysupersecretkey
      - 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/Berlin
    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. I have to use /dev/ttyAMA0 by design of Z-Pi 7.
      - '/dev/ttyAMA0:/dev/zwave'
    volumes:
      - zwave-config:/usr/src/app/store
     # - /home/michael/docker/zwavejs/:/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
Thanks for any hints or helping in advance

Re: Need help with Z-Pi7 Board and zwave-js-ui

Posted: Friday 09 August 2024 20:52
by waltervl
Perhaps better search the Zwave-JS-UI GitHub forum/repository for hints. And if not found ask it there.

Re: Need help with Z-Pi7 Board and zwave-js-ui

Posted: Saturday 10 August 2024 7:12
by sailmich
Thanks for your advice, I will do it.