Ever since I saw the new generic AArch64 image being mentioned in the Home Assistant OS 8 release note, I knew it would make running HA on Apple Silicon Mac a lot easier. And it DID!
Here’s what I did to make it happen:
1. Download & Install UTM
Download & install UTM (https://mac.getutm.app/), you can download it from the official site for free, or get it from the App Store (not free, but you can support the dev, and the App Store version also updates automatically)
Create a new VM (virtualization not emulation), import the qcow2 image as the disk drive, I use bridged mode for the network interface, you need to manually input the desired network interface otherwise you won’t have Internet access.
Now go to the “Network” page, select “Bridged (Advanced)”, in the “Bridged interface” input field, enter the interface you would like to use, in my case, “en0” is the default Ethernet port.
After you’ve completed the installation, you will find the VM’s disk size is too small. Follow the instruction mentioned on this page (Resizing a disk - BluDood's Guides) to resize the virtual disk (I expand it to 32GB), and that’s about it. [Update: UTM now comes with UI options to resize the disk image, so you no longer need to use the command line utility.]
I double-checked my installation process, and everything went smoothly. I’ve added more screenshots to the tutorial, hope it’s easier to follow through.
Anyone know why I’m getting “Your Network is probably not using the DHCP protocol”? My router definitely uses DHCP. I’m using wireless and haven’t tried wired yet. I tried assigning a static IP using the MAC address but still nothing.
great documentation by @edwinwang , thanks for spending time and effort on such thorough guide. I followed a slightly different guide by Siytek, also very good and thorough.
I managed to get HA working in supervised mode on my M1 Mac Mini. I had to apply a few modifications along the way. I also restored from the full back up tar file from my Debian box that I redepoy to run other applications.
The only thing I cannot get it to work is the Sonoff USB dongles Plus (E). I tried plug and play, did not work. I even turned on USB sharing from host. I installed the driver but somehow it was blocked by Ventura. I looked through the Mac settings (aka preference) screen and I cannot find where the driver file was blocked. As usual on Mac Ventura, once it is blocked not matter how many times to re-install the driver, it would not be unblock
Just wondering anyone using UTM on Apple Silicon Mac has this experience and more importantly the solution. For now, all my Zigbee devices are offline
Hi I am brand new to HomeAssistant and still wrapping my head around the nuances of OS vs Container vs Core vs Supervised.
I have worked a little with linux, VMs, and a lot of command line stuff within MacOS - but sometimes I know enough to get myself very lost rather than enough to solve my own problems.
I was hoping to run in a VM on my M1 Mac rather than get a separate machine, if possible.
I am confused that when I install following this method, on the screen in the virtual machine it says
OS Version: Home Assistant OS 9.4
Home Assistant Core: 2023.1.6
Which led me to believe this is a full Home Assistant OS running in VM, and I should be able to get add ons, but I do not see any way to add add-ons, only integrations.
Specifically I am trying to add this Adaptive Lighting add-on, which wants me to add HACS, but none of the directions I have found work.
The prompt I have within the VM is a “ha >” prompt not a normal linux prompt.
Are there simply some additional steps I need to perform to get these parts running, or have I started down a path with a dead end in terms of add-ons?
just an update. I unplugged the Zonoff USB dongle, then plug in again. I now able to see a pop up window on the UTM terminal and ask me to agree to connect one time or permanent.
I saw no change. After a day or so, I had to restart the UTM session after the HA core update. After that, I found all Zigbee related working again.