Hello,
I setup my previous installation from HA, which was running on PI3, on a Mac mini.
Everything is working fine and faster ! (grafana, Inlfuxdb, KNX, …)
As I had also some zwave sensors, I tried to connect my Aeotec Z-Stick Gen 5 on the Mac mini which is seen in /dev as tty.usbmodem14201. (no folder /dev/serial exists as mentioned in the doc so I took this value in docker compose)
here is my docker compose configuration for zwave:
zwavejs2mqtt:
image: “zwavejs/zwavejs2mqtt:latest”
container_name: zwavejs2mqtt
restart: unless-stopped
tty: true
stop_signal: SIGINT
environment:
- SESSION_SECRET=#zwave:Key
- 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 List of tz database time zones - Wikipedia
- TZ=Europe/Zurich
#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/tty.usbmodem14201:/dev/zwave’
volumes:
- ./z-wave-js/:/usr/src/app/store
ports:
- “8091:8091” # port for web interface
- “3100:3100” # port for Z-Wave JS websocket server
When I connect to the web interface, I get the following message:
“Driver: Failed to open the serial port: Error: No such file or directory, cannot open /dev/zwave”
I saw an old thread saying it was not possible to use the Z-Stick on Mac.
Is it really the case ?
Do I miss something ?
Any support would be welcome.