1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-24 08:52:18 +02:00

Update README.md

This commit is contained in:
tteckster 2022-09-29 17:35:05 -04:00 committed by GitHub
parent c9e6edb2c4
commit 570d9e1ca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -260,8 +260,9 @@ ________________________________________________________________________________
<h1 align="center" id="heading"> Home Assistant Core LXC </h1> <h1 align="center" id="heading"> Home Assistant Core LXC </h1>
A standalone installation of Home Assistant Core</br> A standalone installation of Home Assistant Core
🛈 If the LXC is created Privileged, the script will automatically set up USB passthrough.
🛈 *If the LXC is created Privileged, the script will automatically set up USB passthrough.*
To create a new Proxmox Home Assistant Core LXC, run the following in the Proxmox Shell. To create a new Proxmox Home Assistant Core LXC, run the following in the Proxmox Shell.
@ -271,7 +272,8 @@ bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/homeassistan
<h3 align="center" id="heading">⚡ Default Settings: 1GB RAM - 8GB Storage - 2vCPU ⚡</h3> <h3 align="center" id="heading">⚡ Default Settings: 1GB RAM - 8GB Storage - 2vCPU ⚡</h3>
⚠️ Initialize Home Assistant-Core (Only required once)</br> ⚠️ Initialize Home Assistant-Core (Only required once)
<sub>Run in the LXC console</sub> <sub>Run in the LXC console</sub>
```yaml ```yaml
cd /srv/homeassistant && python3 -m venv . && source bin/activate && hass cd /srv/homeassistant && python3 -m venv . && source bin/activate && hass
@ -279,21 +281,24 @@ cd /srv/homeassistant && python3 -m venv . && source bin/activate && hass
***Home Assistant Interface - IP:8123*** ***Home Assistant Interface - IP:8123***
⚙️ **Edit the HA configuration.yaml**</br> ⚙️ **Edit the HA configuration.yaml**
<sub>Run in the LXC console</sub> <sub>Run in the LXC console</sub>
```yaml ```yaml
nano .homeassistant/configuration.yaml nano .homeassistant/configuration.yaml
``` ```
<sub>Save and exit the editor with “Ctrl+O”, “Enter” and “Ctrl+X”</sub> <sub>Save and exit the editor with “Ctrl+O”, “Enter” and “Ctrl+X”</sub>
⚙️ **Install HACS:**</br> ⚙️ **Install HACS:**
<sub>Run in the LXC console</sub> <sub>Run in the LXC console</sub>
```yaml ```yaml
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/hacs-core.sh)" bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/hacs-core.sh)"
``` ```
<sub>After install, reboot Home Assistant and **clear browser cache** then Add HACS integration.</sub> <sub>After install, reboot Home Assistant and **clear browser cache** then Add HACS integration.</sub>
⚙️ **Update Home Assistant**</br> ⚙️ **Update Home Assistant**
<sub>Run in the LXC console</sub> <sub>Run in the LXC console</sub>
```yaml ```yaml
systemctl stop homeassistant.service && source /srv/homeassistant/bin/activate && pip3 install --upgrade homeassistant && systemctl start homeassistant.service && exit systemctl stop homeassistant.service && source /srv/homeassistant/bin/activate && pip3 install --upgrade homeassistant && systemctl start homeassistant.service && exit