The adventure of moving HASSIO from PI to VirtualBox

 

I basically followed Dr. Zzz and The Hook Up, but I upgraded to VirtualBox 6.014 with matching extras on CentOS 7.

Finally found why my USB devices were missing in the VM settings. This had me stumped for the evening, but I knew it must be related to permissions. Then I found this.

Thanks Jack Wallen at TechRepublic  for the following :

vboxuser

There is one final step for this. In order for VirtualBox to have access to the USB subsystem, the user running VirtualBox must belong to the vboxuser group. To do this, open up a terminal and issue the following command:

sudo usermod -aG vboxusers <USERNAME>

Where USERNAME is the name of the user.

Once the command runs, logout and log back int.

Looks like my Aeotec ZWave stick is detected ok.

zha:
usb_path: /dev/ttyUSB1
database_path: /config/zigbee.db

I just needed to change my Wyze settings in my configuration.yaml from /dev/hidraw0 to /dev/hidraw1

binary_sensor:
– platform: wyzesense
device: “/dev/hidraw1”

Now to auto run the VM on reboot etc.

Followed this how to:

Remember to use the same user that created the VM. They should be in the vboxusers, but always good to verify!

https://kifarunix.com/autostart-virtualbox-vms-on-system-boot-on-linux/

On “Check My Config”, I have gone from 40-60 seconds to 2-5!

Next I might convert this to a Docker Container, but for now this will give me the boost I needed over the Raspberry Pi 3+.

Leave a Reply

Your email address will not be published. Required fields are marked *