Zwave via LAN with ser2net and Raspberry os

Hello everyone,
I am currently testing Z-wave over LAN with ser2net on Raspberry os (Raspberry pi 3) with UZB (Aeotec Z-Stick Gen5 (ZW090)).

This allows to query the Z-Wave stick via LAN/TCP tcp://192.168.178.162:30844 with the addon Z-Wave JS UI.

I configured ser2net according to these instructions:

It basically works, but there are interruptions from time to time.

Z-Wave JS UI Log:

2024-10-08T10:00:36.570Z DRIVER Serial port errored: The socket closed unexpectedly! (ZW0100)
2024-10-08 12:00:36.571 INFO Z-WAVE: Controller status: Driver: Serial port errored: The socket closed unexpectedly! (ZW0100)

Raspberry OS dmesg:

[Tue Oct  8 11:24:11 2024] usb 1-1-port2: attempt power cycle
[Tue Oct  8 11:24:12 2024] usb 1-1.2: new full-speed USB device number 21 using dwc_otg
[Tue Oct  8 11:24:12 2024] usb 1-1.2: device not accepting address 21, error -32
[Tue Oct  8 11:24:12 2024] usb 1-1.2: new full-speed USB device number 22 using dwc_otg
[Tue Oct  8 11:24:13 2024] usb 1-1.2: device not accepting address 22, error -32
[Tue Oct  8 11:24:13 2024] usb 1-1-port2: unable to enumerate USB device
[Tue Oct  8 11:24:13 2024] usb 1-1.2: new full-speed USB device number 23 using dwc_otg
[Tue Oct  8 11:24:13 2024] usb 1-1.2: New USB device found, idVendor=0658, idProduct=0200, bcdDevice= 0.00
[Tue Oct  8 11:24:13 2024] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Tue Oct  8 11:24:13 2024] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device

And:

[Tue Oct 8 12:11:36 2024] WARN::dwc_otg_hcd_urb_dequeue:638: **Timed out waiting for FSM NP transfer to complete on 4**

[Tue Oct 8 12:11:36 2024] WARN::dwc_otg_hcd_urb_dequeue:638: **Timed out waiting for FSM NP transfer to complete on 3**

[Tue Oct 8 12:11:36 2024] WARN::dwc_otg_hcd_urb_dequeue:638: **Timed out waiting for FSM NP transfer to complete on 6**

[Tue Oct 8 12:11:36 2024] WARN::dwc_otg_hcd_urb_dequeue:638: **Timed out waiting for FSM NP transfer to complete on 5**

Other USB sticks such as Conbee are recognized without any problems. But this one seems to cause problems.

Who else has experience with this issue?

THX :slight_smile:

I believe a gen5 stick needs a usb2 hub to work properly on a raspberry pi. Give that a try and see if it helps.

Hey
I have already tried various USB hubs, including a 2.0 one, but then the stick was no longer recognized at all. :thinking:

It works :slight_smile:

I have now managed it with the following ser2net.yaml configuration.

connection: &aeotecstick7
  acceptor: tcp,4000
  enable: on
  options:
    banner: *banner
    kickolduser: true
    telnet-brk-on-sync: true
  connector: serialdev,
    /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_f097123a9e84ed11a147d29f9d1cc348-if00-port0,115200n81,local

The UZB stick is only recognized unreliably, so I now use that: Aeotec Z-Stick 7 | Z-Wave Plus V2 | ZWA010

This means that everything has been working great for a few hours now.

Z-Wave JS UI → tcp://192.168.178.162:4000