|
|
@ -105,21 +105,14 @@ nano /var/lib/containers/storage/volumes/hass_config/_data/configuration.yaml |
|
|
|
``` |
|
|
|
``` |
|
|
|
Save and exit the editor with “Ctrl+O”, “Enter” and “Ctrl+X” |
|
|
|
Save and exit the editor with “Ctrl+O”, “Enter” and “Ctrl+X” |
|
|
|
|
|
|
|
|
|
|
|
⚙️ **To autostart Home Assistant at every boot:** |
|
|
|
⚙️ **To allow device passthrough:** |
|
|
|
|
|
|
|
|
|
|
|
Run from the LXC console |
|
|
|
In the Proxmox web shell run (**replace `106` with your LXC ID**) |
|
|
|
``` |
|
|
|
``` |
|
|
|
podman generate systemd \ |
|
|
|
bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/autodev.sh)" -s 106 |
|
|
|
--new --name homeassistant \ |
|
|
|
|
|
|
|
> /etc/systemd/system/homeassistant.service |
|
|
|
|
|
|
|
systemctl enable homeassistant |
|
|
|
|
|
|
|
``` |
|
|
|
``` |
|
|
|
⚙️ **Start the homeassistant service:** |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Run from the LXC console |
|
|
|
Reboot the LXC to apply the changes |
|
|
|
``` |
|
|
|
|
|
|
|
systemctl start homeassistant |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
⚙️ **To install HACS:** |
|
|
|
⚙️ **To install HACS:** |
|
|
|
|
|
|
|
|
|
|
|