Skip to content

Commit 9d79cff

Browse files
committed
Add home-assistant app
1 parent 9ca55a2 commit 9d79cff

6 files changed

Lines changed: 44 additions & 0 deletions

File tree

apps/home-assistant/data/.gitkeep

Whitespace-only changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: "3.7"
2+
3+
services:
4+
server:
5+
image: homeassistant/home-assistant:2021.7.4@sha256:ba02887fcde92e57a08e3376479e24cddb62a4198a8f3ff0a6f77f426ecc33da
6+
ports:
7+
- "${APP_HOME_ASSISTANT_PORT}:8123"
8+
volumes:
9+
- ${APP_DATA_DIR}/data:/config
10+
networks:
11+
default:
12+
ipv4_address: $APP_HOME_ASSISTANT_IP

apps/registry.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,28 @@
4343
"defaultPassword": "",
4444
"torOnly": false
4545
},
46+
{
47+
"id": "home-assistant",
48+
"category": "Automation",
49+
"name": "Home Assistant",
50+
"version": "2021.06.3",
51+
"tagline": "Home automation that puts local control & privacy first",
52+
"description": "Open source home automation that puts local control and privacy first, powered by a worldwide community of tinkerers and DIY enthusiasts. Home Assistant integrates with over a thousand different devices and services. Once you have integrated all your devices at home, you can unleash Home Assistant’s advanced automation engine to make your home work for you. Examples: \n\n- Turn on the light when the sun sets or when coming home \n- Alert you when you leave your garage door open \n\nAll your smart home data stays local. Home Assistant communicates with your devices locally, and will fallback to pulling in data from the cloud if there is no other option. No data is stored in the cloud, and everything is processed locally.",
53+
"developer": "Home Assistant",
54+
"website": "https://home-assistant.io",
55+
"dependencies": [],
56+
"repo": "https://github.com/home-assistant/core",
57+
"support": "https://community.home-assistant.io",
58+
"port": 8083,
59+
"gallery": [
60+
"1.jpg",
61+
"2.jpg",
62+
"3.jpg"
63+
],
64+
"path": "",
65+
"defaultPassword": "",
66+
"torOnly": false
67+
},
4668
{
4769
"id": "mempool",
4870
"category": "Explorers",

scripts/configure

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ APP_NEXTCLOUD_REDIS_IP="10.21.21.34"
165165
APP_NEXTCLOUD_CRON_IP="10.21.21.35"
166166
APP_PIHOLE_PORT="8082"
167167
APP_PIHOLE_IP="10.21.21.36"
168+
APP_HOME_ASSISTANT_PORT="8083"
169+
APP_HOME_ASSISTANT_IP="10.21.21.37"
168170

169171
# Generate RPC credentials
170172
if [[ -z ${BITCOIN_RPC_USER+x} ]] || [[ -z ${BITCOIN_RPC_PASS+x} ]] || [[ -z ${BITCOIN_RPC_AUTH+x} ]]; then
@@ -335,6 +337,8 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" "
335337
sed -i "s/<app-nextcloud-cron-ip>/${APP_NEXTCLOUD_CRON_IP}/g" "${template}"
336338
sed -i "s/<app-pihole-port>/${APP_PIHOLE_PORT}/g" "${template}"
337339
sed -i "s/<app-pihole-ip>/${APP_PIHOLE_IP}/g" "${template}"
340+
sed -i "s/<app-home-assistant-port>/${APP_HOME_ASSISTANT_PORT}/g" "${template}"
341+
sed -i "s/<app-home-assistant-ip>/${APP_HOME_ASSISTANT_IP}/g" "${template}"
338342
done
339343

340344
##########################################################

templates/.env-sample

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,5 @@ APP_NEXTCLOUD_REDIS_IP=<app-nextcloud-redis-ip>
6868
APP_NEXTCLOUD_CRON_IP=<app-nextcloud-cron-ip>
6969
APP_PIHOLE_PORT=<app-pihole-port>
7070
APP_PIHOLE_IP=<app-pihole-ip>
71+
APP_HOME_ASSISTANT_PORT=<app-home-assistant-port>
72+
APP_HOME_ASSISTANT_IP=<app-home-assistant-ip>

templates/torrc-sample

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,8 @@ HiddenServicePort 80 <app-nextcloud-ip>:80
9292
HiddenServiceDir /var/lib/tor/app-pihole
9393
HiddenServicePort 80 <app-pihole-ip>:80
9494

95+
# home-assistant Hidden Service
96+
HiddenServiceDir /var/lib/tor/app-home-assistant
97+
HiddenServicePort 80 <app-home-assistant-ip>:8123
98+
9599
HashedControlPassword <password>

0 commit comments

Comments
 (0)