FIXED: ODROID Z-Wave issues: No such file or directory, cannot open /dev/ttyACM0

I am trying to set up Z-Wave on an AEON Labs - ZW090 (Z‐Stick Gen5 USB Controller) which used to work on a 2019.x HA install using Open Z-Wave. Unfortunately ever since switching to the HA OS running on the official Odroid hardware, Home Assistant can’t maintain a connection to the USB controller.

I have tried both the official Z-Wave JS component, and the community MQTT one, and they both exhibit the same behavior. Even OpenZWave logs show that the USB controller disappears and loses its serial connection to the OS:

2021-08-02 22:10:07.151 INFO ZWAVE: Connecting to /dev/ttyACM0
2021-08-02 22:10:07.158 INFO ZWAVE: Zwavejs usage statistics ENABLED
2021-08-02 22:10:07.160 INFO APP: POST /api/settings 200 44.211 ms - 3635
2021-08-02 22:10:07.197 INFO APP: GET /api/auth-enabled 304 2.983 ms - -
2021-08-03T02:10:09.254Z CONFIG Priority device configuration directory /data/store/config not found
2021-08-02 22:10:09.530 INFO ZWAVE: Zwave driver is ready
2021-08-02 22:10:09.531 INFO ZWAVE: Controller status: Driver ready
2021-08-02 22:10:09.536 INFO ZWAVE: Scanning network with homeid: 0xee0cff43
2021-08-02 22:10:09.543 INFO ZWAVE: Node 1 is alive
2021-08-02 22:10:09.545 INFO ZWAVE: Node 1 ready: AEON Labs - ZW090 (Z‐Stick Gen5 USB Controller)
2021-08-02 22:10:09.546 INFO ZWAVE: Controller status: Scan completed
2021-08-02 22:10:09.546 INFO ZWAVE: Network scan complete. Found: 1 nodes
2021-08-02 22:10:09.552 INFO ZWAVE-SERVER: ZwaveJS server listening on port 3000
2021-08-02 22:10:10.109 INFO ZWAVE: Next update scheduled for: Tue Aug 03 2021 00:00:00 GMT-0400 (Eastern Daylight Time)
2021-08-02 22:10:17.876 INFO ZWAVE: Calling api refreshNeighbors with args: [ [length]: 0 ]
2021-08-03T02:10:18.142Z DRIVER Serial port errored: The serial port closed unexpectedly!
2021-08-02 22:10:18.147 INFO ZWAVE: Controller status: Driver: The serial port closed unexpectedly!
2021-08-02 22:10:18.150 INFO ZWAVE-SERVER: Server closed
2021-08-02 22:10:18.156 INFO ZWAVE: Client closed
2021-08-02 22:10:18.160 INFO ZWAVE: Connecting to /dev/ttyACM0
2021-08-03T02:10:18.166Z DRIVER Serial port errored: Error: No such file or directory, cannot open /dev/ttyACM
0

I’m not sure what is causing this. A reboot, or unplugging the USB controller will allow HA to see the USB controller, but the minute the network gets initialized, the serial connection gets lost.

I have a model ZW090-A that I purchased in 2017 which worked well with my Raspberry PI and also my Synology docker instance.

My software is:
core-2021.7.4, supervisor-2021.06.8, and Home Assistant OS 6.2.

Looks like you have 2 addons running zwavejs fighting over the port.

I first installed the official Z-Wave JS add-on on a fresh install of Home Assistant OS, so I don’t know how it would be fighting over the port. I also have been deleting each add-on before trying the next one.

If you’ve checked the box when setting up the integration it will auto install/start the official addon.

That wasn’t the issue, I installed all three add-ons (in isolation, never together) and skipped the integration because the serial port kept disconnecting and the device was getting lost during configuration (this is before trying to add nodes).

It turns out the ODROID experiences similar issues with older Z-Sticks as the Raspberry Pi, and the workaround is to either attach it to a USB hub to correct the voltage issue, or get a new USB stick. I used a hub and everything worked.

1 Like

That was going to be my next question glad you got it solved.

1 Like