So yeah, unix-char source=/dev/serial/by-id/usb-0658_0200-if00 path=/dev/zwave should get you the z-wave one and unix-char source=/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2122506-if00 path=/dev/zigbee should get you the zigbee one.
That is, once the PR above has been merged and the fix rolled out.
derek@dmbr incus % ./incus console --show-log zjs --project=jarvis
[WARN tini (21)] Tini is not running as PID 1 and isn't registered as a child subreaper.
Zombie processes will not be re-parented to Tini, so zombie reaping won't work.
To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1.
Starting zwave-server: zwave-server /dev/zwave --config options.js --disable-dns-sd
19:30:50.280 DRIVER ββββββββ βββ βββ ββββββ βββ βββ ββββββββ βββ ββββββββ
ββββββββ βββ βββ ββββββββ βββ βββ ββββββββ βββ ββββββββ
βββββ ββββββ βββ ββ βββ ββββββββ βββ βββ ββββββ βββ ββββββββ
βββββ ββββββ ββββββββββ ββββββββ ββββ ββββ ββββββ ββ βββ ββββββββ
ββββββββ ββββββββββ βββ βββ βββββββ ββββββββ ββββββββ ββββββββ
ββββββββ ββββββββ βββ βββ βββββ ββββββββ ββββββ ββββββββ
19:30:50.281 DRIVER version 15.16.0
19:30:50.281 DRIVER
19:30:50.281 DRIVER starting driver...
19:30:50.281 DRIVER opening serial port /dev/zwave
derek@dmbr incus % ./incus console --show-log zjs --project=jarvis
19:30:59.302 DRIVER Failed to open the serial port: Error: Permission denied, cannot open /dev/zwa
ve
19:30:59.303 DRIVER destroying driver instance...
19:30:59.304 DRIVER driver instance destroyed
19:30:59.304 SERVER [ERROR] failed starting driver.
ZWaveError: Failed to open the serial port: Error: Permission denied, cannot open /dev/zwave (ZW0100)
at Driver.openSerialport (file:///app/node_modules/zwave-js/src/lib/driver/Driver.ts:1843:9)
at Immediate.<anonymous> (file:///app/node_modules/zwave-js/src/lib/driver/Driver.ts:1606:5)
When I was running it on Ubuntu, I had to do some apparmor configuration, does this still required within IncusOS ?
Okay, I donβt know if it drops privileges and runs as non-root or what, but Iβd suggest playing with uid, gid and mode on the device to see if you can get it work that way.
Possibly because the default permissions on the host were more permissive, that may depend on the specific udev rules they had there for those kind of devices.