There a multiple ways to install Home Assistant Hass.io on different platforms. The instructions for deploying Hass.io as Virtual Machine (VM) are not very clear when using VMware Workstation or VMware ESXi. In this blog post I highlight the steps needed to deploy Hass.io as VM using VMware Workstation 15 Pro.
Here are the steps:
- Download the VMDK image of Hass.io (link) and save it to a folder were the VMware Workstation Virtual Machine will be stored
- Unzip the downloaded VMDK file with 7zip
- Open VMware Workstation
- Choose a custom (advanced) configuration
- For the VM hardware comparability select: ESXi 6.5
- Select: I will install the operating system later
- As Guest Operating System select: Other 64-bit
- Give the Virtual Machine a name and browse to the location the VMDK file stored. The will be a warning that there already resides a Virtual Machine in the same location. Select: Continue
- Select the number of processors and cores. A minimum is 1 processor and 1 core.
- Assign memory to Hass.io VM. A minimum is: 1024 MB.
- Select as network type: NAT
- Select as I/O controller: LSI Logic (Recommended)
- Select as disk type: SATA
- Select a disk: Use an existing virtual disk
- Browse to the VMDK file downloaded earlier
- There will be a question to convert the existing virtual disk to a newer format, select: Convert
- The Hass.io VM is ready to be created, select Finish
Before starting the VM, edit the Virtual Machine settings and modify to following:
- The disk is only 6 GB, expand the disk to 32 GB or higher.
- Remove the Sound Card in the hardware configuration.
- Change the firmware from BIOS to UEFI. Do not select “Enable secure boot”!
- Select OK and Power On the VM.
- When the boot is completed press “enter” in the console and the login prompt appears. To log in, use “root” without a password.
- The Hassio console prompt appears, enter “login” for host access.
- To find the IP address assigned, use the “ip a” command in the console and look for the IP address on the enp2s0 nic.
- Open a browser session and use the following format: http://ip-address:8123
Now you’re ready to update Home Assistant and let’s start playing.
Hi, have you tried to export this VM to ESXi?
@Stefan Yes, Connect from VMware Workstation to the ESXi host and upload the VM.
Hi
I don’t have Vmware workstation instead I have Esxi 6.7, and I imported Vmdk with Vmkfstools. Have same config options in Esx VM as you have in Workstation, but it hangs during startup, just after Md raid. Not able to ssh / login. Is there anybody out there that has tried my path with success?
Followed everything step-by-step, and I am getting an error message stating the following: “VMware Workstation and Hyper-V are not compatible. Remove the Hyper-V role from the system before running VMware Workstation”.
Amazing tutorial! Thanks for you time and effort on writing this.
file is extension .gz why?
.gz is the zip file use 7zip to unzip it.
This guide worked really well – I follwed it step by step and was up and running. It ran for a few hours, but now I cannot connect to the web dashboard:(
Running the “ip a” command shows that enp2s0 has “NO-CARRIER”. Not sure how to fix that, any help? I’m thinking I might restart with a proper Ubunto distro?!?
I changed the VM network settings from “NAT” to direct access to the host, and now it’s working again!
Hope someone can help me.
Getting this error.
xfuncs: out and memory
xfuncs: Unable to allocate 65539 bytes
Used: 621816
free: 1328
out of memory
no stack data available
What have I done wrong?
thanks I have done these steps with ova-3.12
after ip a i see enp2s0 ip :192.168.45.128
but i cant open 192.168.45.128:8123 on browser
can you help me
thanks