Code: Select all
- "/dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0"Moderator: leecollings
Code: Select all
- "/dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0"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=mysupersecretkey
- ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
# Uncomment if you want logs time and dates to match your timezone instead of UTC
# Available at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
#- TZ=America/New_York
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/insert_stick_reference_here:/dev/zwave'
volumes:
- zwave-config:/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-configCode: Select all
mkdir dockerCode: Select all
cd docker
mkdir zwjsCode: Select all
cd zwjs
mkdir storeCode: Select all
volumes:
- /home/thomas/docker/zwjs/store:/usr/src/app/storeCode: Select all
docker compose up -dor maybewaltervl wrote: Friday 17 March 2023 14:46Code: Select all
- "/dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0"
Code: Select all
'/dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0'Correct. So disable plugin first.thomasbaetge wrote: Friday 17 March 2023 15:33 First, from what I found so far, you can connect the USB device only to either domoticz OZW or ZWJS at a time.
Code: Select all
which docker composeJuanUil wrote: Saturday 24 December 2022 16:13 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
oops, just saw that.Dave47 wrote: Friday 17 March 2023 14:38 Did not work. "dev/serial/by-id/usb-0658_0200-if00:/dev/ttyACM0"
Is that with " or only ' and /dev or dev?
Code: Select all
- '/dev/serial/by-id/usb-0658_0200-if00:/dev/zwave'Code: Select all
docker compose upCode: 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=mysupersecretkey
- ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
# Uncomment if you want logs time 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.
- '/dev/serial/by-id/usb-0658_0200-if00:/dev/zwave'
volumes:
#- /home/thomas/docker/zwjs/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-configCode: Select all
pi@raspberrypi:~/docker/zwjs $ docker compose up
[+] Running 1/2
⠿ Network zwjs_zwave Created 0.2s
⠋ Container zwave-js-ui Creating 0.0s
Error response from daemon: Conflict. The container name "/zwave-js-ui" is already in use by container "2ff5a4ecc2339b259469fef1e9d8d3b8d04dbabcfd55ca553a8dc57b81a08b6b". You have to remove (or rename) that container to be able to reuse that name.Users browsing this forum: No registered users and 1 guest