Link Search Menu Expand Document

Home Assistant

Setup on KVM Ubuntu

  1. Download the image here
  2. Decompress xz --decompress FILE
  3. Move somewhere you like /var/lib/libvirt/images/hassos.qcow2
  4. Create the VM sudo virt-install --name hassos --graphics vnc,listen=0.0.0.0 --memory=2048 --vcpus=2 --disk=/var/lib/libvirt/images/hassos.qcow2,format=qcow2 --boot uefi --import --os-variant=debian9 --network=bridge=br0
  5. Login in http://homeassistant.local:8123

HTTPS Setup

  1. Install Let’s Encrypt add-on and follow the documentation
  2. Go to Configuration > General and define External URL and Internal URL
  3. Configure configuration.yaml

     http:
         ssl_certificate: /ssl/fullchain.pem
         ssl_key: /ssl/privkey.pem
    
  4. Restart the server

Development

Setup

More verbose log

Add the following to your configuration.yaml, according to logger integration doc.

logger:
  default: info