FWIW - The latest version of TrueNAS SCALE has an easy way to passthrough USB to a VM - It’s one of the reasons I decided to give HAOS another try.
I thought about SCALE but heard samba performance isn’t as good as CORE and I move a lot of files on and off my Truenas, plus as I understand it everything needs to be set up again. It’s a good option for some though, if they want to keep everything in the Truenas box.
Anyone running HA in TrueNas Core with a ZigBee USB dongle connected?
All topics I find are on SCALE and not Core
Not anymore but I was using it in the past. What’s the problem?
Can’t make the zigbee dongle (sonoff) to actually work (or even show up) . Tested already on rpi and works like a charm.
All instructions are on Scale and not Core.
Are you running Home Assistant in a jail or a VM?
For VM, you need to pass through the entire USB controller you have your ZigBee stick connected to.
If you are running in a jail you need to edit the devfs_ruleset. It has been a few years since I ran CORE, so I don’t remember exactly what to change, but the people over in the TrueNAS forum can help pass through a USB device to a jail if Adorobis doesn’t remember.
There’s also this from way back on FreeNAS 11. Not sure if it still works but this is how I used to pass my Zwave stick to my Home Assistant jail.
I was using exactly this devfs_ruleset from @troy
Anyway, my personal opinion is, especially for running it in jail, don’t do it. There are some limitations regarding to available packages that are required for HA to be fully functional that are not being ported to FreeBSD. I strongly recommend to just get a dedicated hardware to run HA (and possibly also some additional software e.g. Frigate, z2m etc.).
hi @adorobis and @troy I am running HA on VM , not JAIL.
About the running aside, I am doing it already with a RPi3 that does HA with z2m. Though is enough for basic, I find many limitations when required bigger data to be processed, for example running zigbee valves on the radiators working smart with room sensors or adding a ring camera (system completely froze when I tested ahah)
My objective is reduce energy impact and space, using the truenas. My truenas machine is running a recent i5 (gen11) and 16gb ram with plex server and backup of other data.
HA would be the only thing on a VM.