You can pass through an individual usb device without passing through the whole controller. Just select it from the list in the vm config.
I pass through a conbee that way right now.
OK i’ll check it out. Seems like people are having limited luck.
One thing to watch out for when passing through usb devices is the device name might not be the same as if it were a bare metal machine.
I have passed through dozens of different devices on my two unraid machines over the years and have not had any issues that couldn’t be solved easily with a few tweaks. One machine is a super micro server and the other is a dell SFF desktop.
This doesn’t mean everything will work for everybody but my experience has been pretty good.
If you have issues I suggest you create a post on the unraid forums. They are helpful and active there and can try help solve your issue.
OK, well i am just trying to pass through the Wyze sensor not much else on that machine. I just prefer Hass.io as it makes it easier to add components and such,
I up the size of the VM in unraid but don’t know how to get the VM to reallocate the space to use the additional space given?? My VM is full, won’t do a snapshot.
Has anyone figured out how to passthrough an Unraid Share to Hassio using the Unraid VM Mount tag? I’ve tried:
mount -t 9p -o trans=virtio unraid /config/Unraid
Where ‘unraid’ is my Mount tag in the VM settings but I get “mount: mounting unraid on /config/Unraid failed: No such device”
Also tried modifying fstab with no such luck and tried to mount using Samba and NFS with no such luck either.
There’s gotta be a way to mount a share so you can access files not in the Hassio VM and save files outside the VM. The main workflow I want to do is save recordings from cameras to an Unraid share since my HA VM is on a smaller cache drive.
So i followed this thread along with the video a couple of months ago … Everytrhing is working good on my end execpt i cant make a snapshot … its starts and then nothing happens even after a few hours the snapshot never finishes… the problem is that the disk image keeps growing …
Any help would be appreciated
Is your database large? If you’re using the default then it’s the home-assistant_v2.db file in your configuration directory
Arround 500MB … i may need to delete it?
That’s actually not too bad. Do you store camera images or something? Where is the space going?
Yeah i have no idea whats going on … I dont have anything out of the ordinary on the VM just the Hassio stuff… is there a way to check which files are taking up the space ???
To further investigate on the issue i am able to create a partial snapshot of just the configuration but when i make a full snapshot it just hangs.
Here is what happens:
19-11-26 21:07:15 INFO (MainThread) [hassio.snapshots] Partial-Snapshot 44247158 start
19-11-26 21:07:15 INFO (MainThread) [hassio.snapshots] Snapshot 44247158 store folders
19-11-26 21:07:15 INFO (SyncWorker_8) [hassio.snapshots.snapshot] Snapshot folder share
19-11-26 21:07:15 INFO (SyncWorker_0) [hassio.snapshots.snapshot] Snapshot folder homeassistant
19-11-26 21:07:15 INFO (SyncWorker_4) [hassio.snapshots.snapshot] Snapshot folder addons/local
19-11-26 21:07:15 INFO (SyncWorker_6) [hassio.snapshots.snapshot] Snapshot folder ssl
19-11-26 21:07:15 INFO (SyncWorker_8) [hassio.snapshots.snapshot] Snapshot folder share done
19-11-26 21:07:15 INFO (SyncWorker_4) [hassio.snapshots.snapshot] Snapshot folder addons/local done
19-11-26 21:07:15 INFO (SyncWorker_6) [hassio.snapshots.snapshot] Snapshot folder ssl done
19-11-26 21:07:16 INFO (SyncWorker_0) [hassio.snapshots.snapshot] Snapshot folder homeassistant done
19-11-26 21:07:16 INFO (MainThread) [hassio.snapshots] Partial-Snapshot 44247158 done
19-11-26 21:08:22 INFO (MainThread) [hassio.snapshots] Full-Snapshot 917e20ca start
19-11-26 21:08:22 INFO (MainThread) [hassio.snapshots] Snapshot 917e20ca store Add-ons
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_airsonos
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_adb
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_logviewer
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_vscode
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_lutron-cert
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on core_samba
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on core_ssh
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_ide
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_glances
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_influxdb
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on core_rpc_shutdown
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_grafana
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on core_check_config
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on a0d7b954_nodered
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Build snapshot for add-on core_configurator
19-11-26 21:08:22 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_airsonos
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_logviewer
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_adb
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon core_samba
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_glances
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_lutron-cert
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon core_rpc_shutdown
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_ide
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon core_check_config
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon core_ssh
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon core_configurator
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_nodered
19-11-26 21:08:23 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_grafana
19-11-26 21:08:56 INFO (MainThread) [hassio.addons.addon] Finish snapshot for addon a0d7b954_vscode
And then it just stalls there.
Hi -
I was trying to install LIFX in Home Assistant with the standard integration (it works fine on the regular unraid docker) but I’m unable to discover any bulbs on the VM. I attribute this to the VM network, the VM is assigned IP 172.16.16.18 but Hassio when running show IP address shows 172.30.32.1/23. I’m thinking it’s only running discovery on the Hassio subnet. Do I need a route in networking for this or something else on hassio?
Here are my current network settings in the VM:
That’s an internal docker network address. Nothing to do there.
After the add-ons there are the directories and the db. Do you have a large home-assistant_v2.db ?
In the end it passed through without issue.
I finally figured it out … i had a very big mess with the database in influxdb the size was almost 13 GB so i uninstalled and going to do a different approach with the database thanks for the help tho. Snapshots are working properly now.
Did you figure this out?
I have the same problem, do not know how to reallocate space.
I ended up making a new VM and restoring from snapshot. From the Youtube video in this feed the guy responded to me and said I could resize it using the command below. Adjust filename and size to your situation. I didn’t try this because I already made the new VM before I got a reply.
sudo qemu-img resize /mnt/user/domains/hassos_ova-1.6.qcow2 +30G
UPDATE: Please see my post below: the stick was not flashed with firmware by vendor as promised. After flashing stick all worked as expected. Leaving this here as a warning to others who trusted the vendor too much!
I am aware there are quite a few comments in this thread on passing through a USB device to hassio as a VM on unraid, I have read them all but I am still struggling and I would love some help if possible.
I have a Zigbee2MQTT stick (CC2531 USB sniffer) connected to a USB port on my unraid server (3rd device listed below):
root@Tower:~# lsusb
Bus 002 Device 003: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 006: ID 0451:16ae Texas Instruments, Inc.
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@Tower:~#
I have passed this device through to my hassio VM with settings as follows:
After I start the VM and login to the host machine I can see the same device id with lsusb:
I presumed that this means the device is correctly passed through but it still does not appear in Hassio:
Any advice on getting this device to appear in my VM correctly?
Anything obvious that I am doing wrong to stop it working?