Update README.md

This commit is contained in:
tteckster 2022-09-29 11:29:04 -04:00 committed by GitHub
parent ece1588e0e
commit f3ebf54ba5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,6 +229,53 @@ Run in the LXC console
____________________________________________________________________________________________ ____________________________________________________________________________________________
</details> </details>
<details>
<summary markdown="span"> Home Assistant Core LXC </summary>
<p align="center"><img src="https://avatars.githubusercontent.com/u/13844975?s=200&amp;v=4" width="100" height="100"/>
<h1 align="center" id="heading"> Home Assistant Core LXC </h1>
A standalone installation of Home Assistant Core
To create a new Proxmox Home Assistant Core LXC, run the following in the Proxmox Shell.
```yaml
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/homeassistant-core-v4.sh)"
```
<h3 align="center" id="heading">⚡ Default Settings: 1GB RAM - 8GB Storage - 2vCPU ⚡</h3>
⚠️ Initialize Home Assistant-Core (Only required once)</br>
<sub>Run in the LXC console</sub>
```yaml
cd /srv/homeassistant && python3 -m venv . && source bin/activate && hass
```
***Home Assistant Interface - IP:8123***
⚙️ **Edit the HA configuration.yaml**</br>
<sub>Run in the LXC console</sub>
```yaml
nano .homeassistant/configuration.yaml
```
<sub>Save and exit the editor with “Ctrl+O”, “Enter” and “Ctrl+X”</sub>
⚙️ **Install HACS:**</br>
<sub>Run in the LXC console</sub>
```yaml
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>
⚙️ **Update Home Assistant**</br>
<sub>Run in the LXC console</sub>
```yaml
systemctl stop homeassistant.service && source /srv/homeassistant/bin/activate && pip3 install --upgrade homeassistant && systemctl start homeassistant.service && exit
```
____________________________________________________________________________________________
</details>
<details> <details>
<summary markdown="span"> Podman Home Assistant Container LXC </summary> <summary markdown="span"> Podman Home Assistant Container LXC </summary>