File tree Expand file tree Collapse file tree 4 files changed +24
-6
lines changed Expand file tree Collapse file tree 4 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 3
3
image : koenkk/zigbee2mqtt
4
4
volumes :
5
5
- ./volumes/zigbee2mqtt/data:/app/data
6
+ - /run/udev:/run/udev:ro
6
7
devices :
7
8
- /dev/ttyAMA0:/dev/ttyACM0
8
9
# - /dev/ttyACM0:/dev/ttyACM0
9
- restart : unless-stopped
10
+ restart : always
10
11
network_mode : host
12
+ privileged : true
13
+ environment :
14
+ - TZ=Europe/Amsterdam
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
1
+ # TZ=Europe/Budapest \
2
+ Z2MA_SETTINGS__MQTTSERVER = mosquitto
3
+ # Z2MA_SETTINGS__MQTTUSERNAME=
4
+ # Z2MA_SETTINGS__MQTTPASSWORD=
Original file line number Diff line number Diff line change @@ -29,12 +29,11 @@ declare -A cont_array=(
29
29
[homebridge]=" Homebridge"
30
30
[python]=" Python 3"
31
31
[qbittorrent]=" qbittorrent"
32
-
32
+ [zigbee2mqttassistant]= " zigbee2mqttassistant "
33
33
)
34
34
declare -a armhf_keys=(" portainer" " nodered" " influxdb" " grafana" " mosquitto" " telegraf" " mariadb" " postgres"
35
35
" 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" )
38
37
39
38
sys_arch=$( uname -m)
40
39
@@ -193,7 +192,7 @@ case $mainmenu_selection in
193
192
sudo apt install -y docker-compose
194
193
fi
195
194
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
197
196
sudo reboot
198
197
fi
199
198
;;
@@ -408,7 +407,7 @@ case $mainmenu_selection in
408
407
" tinker" " " \
409
408
3>&1 1>&2 2>&3 )
410
409
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
412
411
else
413
412
echo " no selection"
414
413
exit
You can’t perform that action at this time.
0 commit comments