I guess because the HA runs in a VM if the PI reboots I have to run these commands again to start the HA?
[email protected]:~ $ sudo -u homeassistant -H -s
[email protected]:/home/pi $ cd /srv/homeassistant
[email protected]:/srv/homeassistant $ source bin/activate
(homeassistant) [email protected]:/srv/homeassistant $ hass
Would I just make a linux script and do like a cron job so this is always running? I woke up this morning and the HA wasn’t running from last night, so I had to manually run it via SSH.
Is there a better way to handle this?