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


CrashnBrn

Recommended Posts

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
Link to comment
  • 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
Link to comment
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?

Link to comment
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?

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.