File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # deCONZ device configuration
4
+
5
+ device_selection=$( whiptail --radiolist --title " deCONZ device configuration" --notags \
6
+ " Use the [SPACEBAR] to select your Zigbee device from the list below and make sure it is plugged in (if not, press [ESC])." 20 78 12 \
7
+ " ConBeeII" " ConBee II " " ON" \
8
+ " ConBee" " ConBee " " OFF" \
9
+ " RaspBee" " RaspBee " " OFF" \
10
+ 3>&1 1>&2 2>&3 )
11
+
12
+ case $device_selection in
13
+
14
+ " ConBeeII" )
15
+ echo " ...copied ConBee II config from template"
16
+ echo " " >> docker-compose.yml
17
+ cat .templates/deconz/service_conbee_II.yml >> docker-compose.yml
18
+ ;;
19
+ " ConBee" )
20
+ echo " ...copied ConBee config from template"
21
+ echo " " >> docker-compose.yml
22
+ cat .templates/deconz/service_conbee.yml >> docker-compose.yml
23
+ ;;
24
+ " RaspBee" )
25
+ echo " ...copied RaspBee config from template"
26
+ echo " " >> docker-compose.yml
27
+ cat .templates/deconz/service_raspbee.yml >> docker-compose.yml
28
+ ;;
29
+ esac
You can’t perform that action at this time.
0 commit comments