Category

proxmox

How to Deploy Home Assistant on Proxmox: A Step-by-Step Guide

By | proxmox | No Comments

Proxmox is a powerful virtualization solution that can be used to deploy a wide range of applications, including Home Assistant, an open-source home automation platform. In this guide, we’ll show you how to deploy Home Assistant on Proxmox in just a few simple steps.

Step 1: Download the Home Assistant qcow2 file

The first step is to download the Home Assistant qcow2 file from the official Home Assistant website. The qcow2 file is a disk image file that contains the Home Assistant operating system and all of the necessary software packages. You can download the file using the following command:

wget https://download.homeassistant.io/qemuhomeassistant.qcow2

Step 2: Transfer the file to Proxmox

Once you have downloaded the qcow2 file, the next step is to transfer it to your Proxmox server. You can use the Rsync utility to transfer the file over the network. The following command will transfer the file to your Proxmox server:

rsync qemuhomeassistant.qcow2 root@<IP_ADDRESS>:/var/lib/vz/images/

Step 3: Create a new virtual machine

After transferring the qcow2 file to your Proxmox server, the next step is to create a new virtual machine. You can create a new virtual machine using the Proxmox web interface or the Proxmox command line interface. The following command will create a new virtual machine with ID 100 and 2 GB of memory:

qm create 100 --name homeassistant --memory 2048 --net0 virtio,bridge=vmbr0

Step 4: Attach the Home Assistant disk to the virtual machine

The next step is to attach the Home Assistant disk to the virtual machine. You can do this using the following command:

qm importdisk 100 qemuhomeassistant.qcow2 local-lvm
qm set 100 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-100-disk-0

Step 5: Start the virtual machine

After attaching the Home Assistant disk to the virtual machine, the next step is to start the virtual machine. You can start the virtual machine using the following command:

qm start 100

Step 6: Access Home Assistant

After starting the virtual machine, you can access Home Assistant using your web browser. The URL is http://<IP_ADDRESS>:8123. You can find the IP address of the virtual machine using the following command:

qm list

Conclusion

By following these simple steps, you can quickly deploy Home Assistant on Proxmox and start automating your home. Proxmox provides a powerful and flexible virtualization platform that makes it easy to create and manage virtual machines. Home Assistant, on the other hand, provides a powerful and flexible platform for home automation. Together, they make a great combination for anyone looking to automate their home.

By | proxmox | No Comments

Easily configure the trendnet TEG-10GECTX on Proxmox.

git clone https://github.com/acooks/tn40xx-driver/tree/linux-5.4
cd tn40xx-driver ; git checkout linux-5.4 
make clean ; make ; make install ; update-grub ; modprobe tn40xx

The current guest configuration does not support taking new snapshots

By | proxmox | No Comments

The current guest configuration does not support taking new snapshots is a common problem with Proxmox. Most people don’t know this is easily solved by making sure that the type of storage you use for VM’s is either lvm-thin or ZFS. If you don’t want to take a memory hit, make sure to use lvm-thin. You can also convert existing images to a new disk on the new zfs or lvm-thin storage you setup.