Skip to content

Commit 383514c

Browse files
authored
Merge branch 'master' into qbittorrent
2 parents 997dd69 + 369797e commit 383514c

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

.templates/zigbee2mqtt/service.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@
33
image: koenkk/zigbee2mqtt
44
volumes:
55
- ./volumes/zigbee2mqtt/data:/app/data
6+
- /run/udev:/run/udev:ro
67
devices:
78
- /dev/ttyAMA0:/dev/ttyACM0
89
#- /dev/ttyACM0:/dev/ttyACM0
9-
restart: unless-stopped
10+
restart: always
1011
network_mode: host
12+
privileged: true
13+
environment:
14+
- TZ=Europe/Amsterdam
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
zigbee2mqttassistant:
2+
container_name: zigbee2mqttassistant
3+
image: carldebilly/zigbee2mqttassistant
4+
restart: unless-stopped
5+
env_file:
6+
- ./services/zigbee2mqttassistant/zigbee2mqttassistant.env
7+
ports:
8+
- 8880:80
9+
environment:
10+
- VIRTUAL_HOST=~^zigbee2mqttassistant\..*\.xip\.io
11+
- VIRTUAL_PORT=8880
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#TZ=Europe/Budapest \
2+
Z2MA_SETTINGS__MQTTSERVER=mosquitto
3+
#Z2MA_SETTINGS__MQTTUSERNAME=
4+
#Z2MA_SETTINGS__MQTTPASSWORD=

menu.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ declare -A cont_array=(
2929
[homebridge]="Homebridge"
3030
[python]="Python 3"
3131
[qbittorrent]="qbittorrent"
32-
32+
[zigbee2mqttassistant]="zigbee2mqttassistant"
3333
)
3434
declare -a armhf_keys=("portainer" "nodered" "influxdb" "grafana" "mosquitto" "telegraf" "mariadb" "postgres"
3535
"adminer" "openhab" "zigbee2mqtt" "pihole" "plex" "tasmoadmin" "rtl_433" "espruinohub"
36-
"motioneye" "webthings_gateway" "blynk_server" "nextcloud" "diyhue" "homebridge" "python"
37-
"qbittorrent")
36+
"motioneye" "webthings_gateway" "blynk_server" "nextcloud" "diyhue" "homebridge" "python" "zigbee2mqttassistant" "qbittorrent")
3837

3938
sys_arch=$(uname -m)
4039

@@ -193,7 +192,7 @@ case $mainmenu_selection in
193192
sudo apt install -y docker-compose
194193
fi
195194

196-
if (whiptail --title "Restart Required" --yesno "It is recommended that you restart you device now. Select yes to do so now" 20 78); then
195+
if (whiptail --title "Restart Required" --yesno "It is recommended that you restart your device now. Select yes to do so now" 20 78); then
197196
sudo reboot
198197
fi
199198
;;
@@ -408,7 +407,7 @@ case $mainmenu_selection in
408407
"tinker" " " \
409408
3>&1 1>&2 2>&3)
410409
if [ -n "$hassio_machine" ]; then
411-
curl -sL https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh | sudo bash -s -- -m $hassio_machine
410+
curl -sL https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh | sudo bash -s -- -m $hassio_machine
412411
else
413412
echo "no selection"
414413
exit

0 commit comments

Comments
 (0)