Home Assistant VM - USB passthrough for zigbee/zwave

Good morning :slight_smile:

First off, I am very much a beginner.

I have set up Trunas on a HP prodesk g4, with new 64GB of RAM. I used to use a RPI for home assistant (with HAOS) but figured that i might try importing it into Truenas, as a VM. Performance should also increase compared to RPI.

The issue I have is the USB passthrough. I can not get zigbee or zwave to work. Even when I get my zigbee USB-stick discovered in home assistant, i get an error when trying to connect. I have pictures if that helps.

I have done quite a bit of research, and it seems to me that there is not an easy way to passthough a single USB port to the VM’s on Truenas. However, its simple to passthrough all usb ports (usb controller). This is not a good option for me, but it can be done if its the only way.

My question is: Is there any way to passthough a single USB to a VM (home assistant) in TrueNAS that is easy for a beginner?
If not, is there a decent option for a PCIe card with zigbee/zwave, and would that be a lot easier to passthrough?

In advance I would like to say thanks for any replies,

Can’t fint the edit button, and this might be important: It is the newest version of TrueNAS scale.
.

Here is what mine looks like on Dragonfish if it helps. That’s the devices screen and a zwave controller I have attached.

Screenshot 2024-12-12 at 1.59.50 PM

1 Like

Thanks for your reply!

I also have this setup, and it is discovered in home assistant, but I cant get it to connect.

Ill post the error-msg in the next post.

I’ve read that it is because truenas can not passthrough single USB ports, just the entire USB controller (all usb-ports).

Mine works fine, yes, error messages might help.

Thanks for your reply and sorry for my late reply.

I worked it out by buying a new USB controller (pcie) that i then passed through in Truenas. It now works wonderfully. Thanks for you replies,

Have a lovely new year

1 Like