Installing Domoticz 4.x on an Asustor NAS

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
User avatar
basmeyer
Posts: 9
Joined: Monday 31 July 2017 12:53
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: SE
Contact:

Installing Domoticz 4.x on an Asustor NAS

Post by basmeyer »

I recently found an updated version of Domoticz for the Asustor made/maintained by LinuxServer.io but I now find myself struggling to connect to the Z-wave USB stick, which is in my case the Aeotec Z-Stick Gen 5.

Within the previous Domoticz version, version 3.x that I used on the Asustor, nothing much was needed to make the stick work besides to enter the address, which is /dev/ttyACM0
I can still find the stick using Terminal and ssh so it is present.
But with this version 4.x Domoticz is depending on Docker and installed in a Container. That means that the USB stick needs to be connected/passed/added to the container somehow to be able to work with it.
Nowhere is this procedure documented.

I tried some commands found elsewhere but none of these seems to work.

After this I suppose I will be able to select something at the Serial Port selector within Setup > Hardware.
As Type I selected, like before, Open Zwave USB.

Can anybody offer some help how to do this, to tell the Container to work with that USB stick?

These are the details that I find using the Terminal using dmesg | grep USB and lsusb:

Code: Select all

Mac-mini-van-Bas:~ bas$ ssh [email protected]
Password: 
bas@NAS-10TB-RAID1:/volume1/home/bas $ dmesg | grep USB
[    0.397076] ACPI: Power Resource [USBC] (on)
[    0.490082] ACPI: bus type USB registered
[    6.486558] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.498675] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.510424] uhci_hcd: USB Universal Host Controller Interface driver
[    6.523599] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    6.543315] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    6.550812] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.575511] hub 1-0:1.0: USB hub found
[    6.591385] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    6.599541] xhci_hcd 0000:00:14.0: Host supports USB 3.0  SuperSpeed
[    6.606783] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    6.614270] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.638925] hub 2-0:1.0: USB hub found
[    6.655139] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    6.689532] usbserial: USB Serial support registered for FTDI USB Serial Device
[    6.860929] usbhid: USB HID core driver
[    6.931787] usb 1-2: new full-speed USB device number 2 using xhci_hcd
[    7.065623] usb 1-2: New USB device found, idVendor=0658, idProduct=0200
[    7.074091] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.084690] cdc_acm 1-2:1.0: ttyACM0: USB ACM device
[    7.205059] usb 1-3: new high-speed USB device number 3 using xhci_hcd
[    7.340436] usb 1-3: New USB device found, idVendor=125f, idProduct=601a
[    7.347410] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.369108] usb-storage 1-3:1.0: USB Mass Storage device detected
[    7.495040] usb 1-4: new high-speed USB device number 4 using xhci_hcd
[    7.628244] usb 1-4: New USB device found, idVendor=1a40, idProduct=0101
[    7.635299] usb 1-4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.642702] usb 1-4: Product: USB 2.0 Hub [MTT]
[    7.647954] hub 1-4:1.0: USB hub found
[    7.940025] usb 1-4.1: new full-speed USB device number 5 using xhci_hcd
[    8.036540] usb 1-4.1: New USB device found, idVendor=0764, idProduct=0501
[    8.043653] usb 1-4.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    8.103674] hid-generic 0003:0764:0501.0001: hiddev0,hidraw0: USB HID v1.10 Device [CPS CP900EPFCLCD] on usb-0000:00:14.0-4.1/input0
bas@NAS-10TB-RAID1:/volume1/home/bas $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation:2.0 root hub
Bus 001 Device 003: ID 125f:601a A-DATA Technology Co., Ltd.:unknown device 601a
Bus 001 Device 005: ID 0764:0501 Cyber Power System, Inc.:CP1500 AVR UPS
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation:3.0 root hub
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc.:Hub
Bus 001 Device 002: ID 0658:0200 Sigma Designs, Inc.:Aeotec Z-Stick Gen5 (ZW090) - UZB
bas@NAS-10TB-RAID1:/volume1/home/bas $ 
According to https://www.home-assistant.io/docs/z-wa ... ion#docker where Docker is also used for Home Assistant this is said here and for sure applies to Domoticz as well:

To enable access to the Z-Wave stick, add --device=/dev/ttyACM0 to the docker command that starts your container.

But there are still just empty words for and not helping me to proceed.
There is an app called Portainer on the Asustor that I could use to "edit" the container, but how...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest