File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ hotspotpw=openhabian
9494# grottSetupEnabled=false
9595
9696# deCONZ settings (installs deCONZ; Phoscon Web UI + WebSocket API are provided by deCONZ)
97- # deconz_install=enable
97+ deconz_install=disable
9898# deconz_port=8081 # Phoscon Web UI (HTTP), default: 8081
9999# deconz_wsport=8088 # deCONZ WebSocket API, default: 8088
100100
Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ hotspotpw="openhabian"
556556
557557#### ` deconz_install `
558558
559- Enable unattended deCONZ software / Phoscon companion app installation.
559+ Enable or disable deCONZ software / Phoscon companion app installation.
560560
561561::: details Example
562562```
Original file line number Diff line number Diff line change @@ -685,6 +685,11 @@ deconz_setup() {
685685 local successText=" "
686686 local repo=" /etc/apt/sources.list.d/deconz.list"
687687
688+ if [[ -n " $UNATTENDED " ]] && [[ " ${deconz_install:- enable} " == " disable" ]]; then
689+ echo -n " $( timestamp) [openHABian] Skipping deCONZ install as requested."
690+ return 1
691+ fi
692+
688693 if [[ -n $INTERACTIVE ]]; then
689694 if ! (whiptail --title " deCONZ installation" --yes-button " Continue" --no-button " Cancel" --yesno " $introText " 11 80); then return 0; fi
690695 fi
Original file line number Diff line number Diff line change @@ -125,10 +125,7 @@ if [[ -n "$UNATTENDED" ]]; then
125125 exim_setup
126126 nut_setup
127127 install_grott " install"
128- # Install deCONZ (provides Phoscon Web UI + WebSocket API) when enabled
129- if [[ " ${deconz_install} " == " enable" ]]; then
130- deconz_setup " ${deconz_port} " " ${deconz_wsport} "
131- fi
128+ deconz_setup " ${deconz_port} " " ${deconz_wsport} "
132129 permissions_corrections
133130 setup_mirror_SD " install"
134131 install_cleanup
You can’t perform that action at this time.
0 commit comments