Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

(SOLVED) Aeotec Zwave USB Stick Not Getting Passed to Home Assistant VM

Featured Replies

SOLVED. NOTES IN THE EDIT

 

Hi,

 

I've been having this issue on and off, but it's finally gotten to the point that I can't resolve it on my own. 

 

I have an Aeotec Z-Stick Gen5+ plugged into my Unraid machine that's being passed to my Home Assistant VM HaasOS.

 

image.thumb.png.9b23ea48e3a232aad7c91e376e73006c.png

 

Just the other day when looking at my Zwave JS UI I'm not seeing any devices and see the following error:

image.png.08a04d87ce1045d7f9eaed74de55cea5.png

 

Driver: Failed to open the serial port: Error: No such file or directory, cannot open /dev/ttyACM0 (ZW0100)

 

From what I've googled and searched the issue is caused by the VM not seeing the USB device. In the past I would reboot the VM or unplug and replug the zwave stick and the issue would be resolved but now those quick fixes aren't working.

 

Under settings -> systems -> hardware in home assistant I don't see the zwave device listed.

 

Can someone please help me troubleshoot what's going on with the passthrough?

 

image.png.aa70d83b53b183240913999b3152ccc8.png

image.png.1ea4ae0778f50aad92dcf12f2ee84836.png

 

Edit: I figured it out! I think it's a bug in Unraid unless I'm misunderstanding the way the VM config works. 

 

Even though I had the USB device checked it was showing as:

 

    <hostdev mode='subsystem' type='usb' managed='no'>

 

I changed it to 

 

    <hostdev mode='subsystem' type='usb' managed='yes'>

 

That resolved the issue and the device started showing up.

Edited by CrashnBrn
Solved

  • CrashnBrn changed the title to (SOLVED) Aeotec Zwave USB Stick Not Getting Passed to Home Assistant VM

Cool, facing the same issue actually. Will try it.

 

Seems not to work for me. Still getting the error in HA z-wave integration:

„Failed to connect: Cannot connect to host a0d7b954-zwavejs2mqtt:3000“

 

The change / update in the template is reflected but after restarting HA the USB device is not listed anymore.

Edited by matty2k

  • Author
9 hours ago, matty2k said:

Cool, facing the same issue actually. Will try it.

 

Seems not to work for me. Still getting the error in HA z-wave integration:

„Failed to connect: Cannot connect to host a0d7b954-zwavejs2mqtt:3000“

 

The change / update in the template is reflected but after restarting HA the USB device is not listed anymore.

 

Did it change it the XML view? The form view did not work for me. In the JS UI are you seeing the same "failed to open serial port" that I was seeing?

Exactly. In z-wave JS the error shows up:

„Control Panel Driver: Failed to open the serial port: Error: No such file or directory, cannot open /dev/ttyACM0 (ZW0100)“

 

  • Author
15 hours ago, matty2k said:

Exactly. In z-wave JS the error shows up:

„Control Panel Driver: Failed to open the serial port: Error: No such file or directory, cannot open /dev/ttyACM0 (ZW0100)“

 

Can you verify that you changed managed in the XML view and not the form view? Have you tried another USB port on your machine?

Exactly, did the change in the xml view / template.

also tried to change USB Port.

i will take some time to investigate.

  • Author
1 hour ago, matty2k said:

Exactly, did the change in the xml view / template.

also tried to change USB Port.

i will take some time to investigate.

Sorry not sure what else it could be.

  • 9 months later...

Hello there, if anyone else comes to this post. I have had this same issue with the Gen5 Stick seeming to not connect properly. The issue was that the Zwave JS UI Add on, has a setting to do a Soft Reset on the stick when starting up. This causes the stick to disconnect and not connecting again. I disabled this setting and now the stick stays connected.

  • 3 months later...
On 7/9/2024 at 8:44 AM, AssaTay said:

Hello there, if anyone else comes to this post. I have had this same issue with the Gen5 Stick seeming to not connect properly. The issue was that the Zwave JS UI Add on, has a setting to do a Soft Reset on the stick when starting up. This causes the stick to disconnect and not connecting again. I disabled this setting and now the stick stays connected.

I had the same issue thx god i found youre response been trying for like 2 weeks. just need to reboot the vm and everything looks good now thx a lot

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.