Nortek HUSBZB-1 Zigbee Comunication Error

  • Platform information:
    • Hardware: Intel® Core™ i7-3632QM CPU @ 2.20GHz; Physical Memory 4GB
    • OS: FreeBSD 12.2-RELEASE
    • Java Runtime Environment: openjdk11-11.0.8+10.1
    • openHAB version: 3.0.0
  • Issue of the topic: Nortek HUSBZB-1 Zigbee

I am attempting to setup the Nortek HUSBZB-1 as a Zigbee controller with OpenHAB 3.0.0 on FreeBSD 12.2-RELEASE. Initially I ran into a core dump with OpenHAB 2 and found this thread that lists a workaround using ser2net: Instructions for openHAB on FreeNAS? - #68 by ZeWaren

After following the above my log file (accessed via console) contains:

03:46:28.612 [ERROR] [inding.zigbee.serial.ZigBeeSerialPort] - Serial Error: Device cannot be opened on Port rfc2217://10.17.89.58:2000. Caused by Unable to establish remote connection to serial port rfc2217://10.17.89.58:2000
03:46:28.614 [ERROR] [.zigbee.dongle.ember.ZigBeeDongleEzsp] - EZSP Dongle: Unable to open serial port
03:46:28.615 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'zigbee:coordinator_ember:edee21e61e' changed from UNKNOWN to OFFLINE: Failed to open communications port
03:46:28.615 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'zigbee:coordinator_ember:edee21e61e' changed from OFFLINE: Failed to open communications port to OFFLINE (COMMUNICATION_ERROR)

For reference I added the controller as:

Port: rfc2217://10.17.89.58:2000
Flow Control: Software (XOn/XOff)
Baud Rate: 57600
Ember NCP Configuration: Boost
Transmit Power: Normal
Child Agning Timeout: 1 Day
Network Size: Medium (25)

The OpenHAB3 service is running in a jail that has the correct permissions to view the USB controller. From host system console:

root@bsd-me:/home/me # dmesg | grep HubZ
ugen0.2: <Silicon Labs HubZ Smart Home Controller> at usbus0
ugen0.2: <Silicon Labs HubZ Smart Home Controller> at usbus0
uslcom0: <HubZ Z-Wave Com Port> on usbus0
uslcom1: <HubZ ZigBee Com Port> on usbus0
ugen0.2: <Silicon Labs HubZ Smart Home Controller> at usbus0 (disconnected)
ugen0.2: <Silicon Labs HubZ Smart Home Controller> at usbus0
uslcom0: <HubZ Z-Wave Com Port> on usbus0
uslcom1: <HubZ ZigBee Com Port> on usbus0

Which I believe corresponds to the following:

root@bsd-me:/home/me # ll /dev/*.lock
crwxrwxrwx  1 uucp  operator  0x39e Dec 26 17:55 /dev/cuaU0.lock*
crwxrwxrwx  1 uucp  operator  0x3ad Dec 26 17:55 /dev/cuaU1.lock*
crwxrwxrwx  1 root  operator  0x39b Dec 26 17:55 /dev/ttyU0.lock*
crwxrwxrwx  1 root  operator  0x3a1 Dec 26 17:55 /dev/ttyU1.lock*

From jail console:

root@openhab:~ # ll /dev/*.lock
crwxrwxrwx  1 uucp  operator  0x39e Dec 27 01:55 /dev/cuaU0.lock*
crwxrwxrwx  1 uucp  operator  0x3ad Dec 27 01:55 /dev/cuaU1.lock*
crwxrwxrwx  1 root  operator  0x39b Dec 27 01:55 /dev/ttyU0.lock*
crwxrwxrwx  1 root  operator  0x3a1 Dec 27 01:55 /dev/ttyU1.lock*

and:

root@openhab:/usr/local/share/openhab3 # cat /usr/local/etc/ser2net.conf
2000:telnet:0:/dev/ttyU1:57600 8DATABITS NONE 1STOPBIT remctl

Can anyone please suggest to me some meaningful troubleshooting steps?

The next thing I will try is removing the service from the jail, but I have no reason to believe that will fix anything. Additionally, I have attempted this before with OpenHAB2 and had similar results. If we believe that version works then I am happy to retry with it.

Thank you for your time.

That is not an officially supported configuration & I doubt few here have experience running in a jail environment.

It needs full write access. View is not sufficient.