How To Install Home Assistant Container in VyOS

Hi everyone. I wanted to share my knowledge in how to install Home Assistant in VyOS. VyOS is an operating system designed for routers in mind and it’s a fork of Vyatta which was acquired by Brocade. Brocade decided to not make Vyatta available anymore and that was about a decade ago Here’s the link:

https://vyos.org/

And what’s interesting is that Vyatta was acquired by AT&T back in 2017.

https://about.att.com/story/att_to_acquire_vyatta_software_technology_from_brocade.html

However, I’m going to get back on topic about VyOS. I’m going to show the commands on how to install Home Assistant Container in VyOS. Here are the commands:

add container image homeassistant/home-assistant
mkdir /config/homeassistant
configure
set container name homeassistant allow-host-networks
set container name homeassistant capability 'net-admin'
set container name homeassistant capability 'net-bind-service'
set container name homeassistant capability 'net-raw'
set container name homeassistant environment TZ value 'America/New_York'
set container name homeassistant image 'docker.io/homeassistant/home-assistant:latest'
set container name homeassistant volume HASSConfig destination '/config'
set container name homeassistant volume HASSConfig source '/config/homeassistant'
commit
save

Simply visit your router’s Home Assistant page (http://yourrouteripaddress:8123) and you should be good to go! VyOS uses Podman as its container backend and I have Pi-Hole installed for DNS.

Feedback always welcome. Let me know if you have any questions.

If this thread should be in “Share Your Project” instead of “Installation,” please feel free to move my thread there.