#USB passthrough to docker/Smartthings migration

1 messages · Page 1 of 1 (latest)

gloomy mango
#

Afternoon, folks! Just got my ZWA2 and I'm ready to move all of my z-wave devices over from ST and have a few questions.

  1. I'll need to pass the device through on my docker host. lsusb identifies it as Bus 001 Device 005: ID 303a:4001 Nabu Casa ZWA-2. Does adding ``` devices:

    • /dev/ttyUSB5:/dev/ttyUSB5``` to my compose look right for this?
  2. Is there any mechanism to migrate devices from SmartThings or do I need to manually exclude/reset and start over? I believe I've got about 30 devices

#

lrwxrwxrwx 1 root root 13 Aug 20 19:46 usb-Nabu_Casa_ZWA-2_80B54EE766FC-if00 -> ../../ttyACM1
is probably the droid i'm after

broken axle
#

Prefer /dev/serial/by-id/... paths over /dev/tty* paths if available.

The path behind the : is the path inside the container. You can name it like you want, e.g. /dev/zwave

gloomy mango
#

and thus devices: - /dev/ttyACM1:/dev/ttyACM1

broken axle
#
    devices: 
      - /dev/serial/by-id/usb-Nabu_Casa_.....:/dev/zwave
#

For the 2nd question, there is currently no way to migrate from proprietary hubs. You'll have to move devices over one by one

gloomy mango
#

ok, thanks

#

so that's done and exec'ing into the container suggests it's there, but not discovered in the UI. adding a zwave integration prompts me for an external zwave server address ```Bus 001 Device 004: ID 8087:0aaa
Bus 001 Device 001: ID 1d6b:0002 Linux 5.15.0-144-generic xhci-hcd xHCI Host Controller
Bus 001 Device 003: ID 1a86:55d4 ITEAD SONOFF Zigbee 3.0 USB Dongle Plus V2
Bus 002 Device 001: ID 1d6b:0003 Linux 5.15.0-144-generic xhci-hcd xHCI Host Controller
Bus 001 Device 002: ID 10c4:ea60 Nabu Casa SkyConnect v1.0
Bus 001 Device 005: ID 303a:4001 Nabu Casa ZWA-2

languid terrace
worldly zenith
gloomy mango
#

ah, i was missing the zwave server completely. imagined it'd run like the zigbee integration

gloomy mango
#

ez. now just have to move everything over

#

seems like this could also replace my existing mqtt container as well

worldly zenith
#

ZUI? It's an MQTT client not a broker.

gloomy mango
#

whoops. typed that right after i saw Full featured Z-Wave Control Panel and MQTT Gateway and jumped the gun

worldly zenith
#

Yeah, by "gateway" I think the mean bridging z-wave to MQTT

gloomy mango
#

mosquitto lives to see another day