CrashnBrn Posted September 28, 2023 Share Posted September 28, 2023 (edited) 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. Just the other day when looking at my Zwave JS UI I'm not seeing any devices and see the following error: 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? 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 September 29, 2023 by CrashnBrn Solved Quote Link to comment
matty2k Posted September 29, 2023 Share Posted September 29, 2023 (edited) 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 September 29, 2023 by matty2k Quote Link to comment
CrashnBrn Posted September 29, 2023 Author Share Posted September 29, 2023 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? Quote Link to comment
matty2k Posted September 30, 2023 Share Posted September 30, 2023 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)“ Quote Link to comment
CrashnBrn Posted September 30, 2023 Author Share Posted September 30, 2023 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? Quote Link to comment
matty2k Posted October 1, 2023 Share Posted October 1, 2023 Exactly, did the change in the xml view / template. also tried to change USB Port. i will take some time to investigate. Quote Link to comment
CrashnBrn Posted October 1, 2023 Author Share Posted October 1, 2023 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. Quote Link to comment
Recommended Posts
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.