A live bird collage card for your Home Assistant dashboard.
wrapping up URL variable changes for public installations
Patrick McGuire1a1bb006f25b
diff --git a/Birders_Guide_Installer.sh b/Birders_Guide_Installer.shindex 9003a9f2..c32069ba 100755--- a/Birders_Guide_Installer.sh+++ b/Birders_Guide_Installer.sh@@ -232,7 +232,7 @@ DO_RECORDING=y#################################################################################----------------------- Web-hosting/Caddy File-server -----------------------#-#__________The two variables below can be set to enable web access_____________#+#________The four variables below can be set to enable internet access_________##____________to your data,(e.g., extractions, raw data, live___________________##______________audio stream, BirdNET.selection.txt files)______________________#@@ -240,11 +240,11 @@ DO_RECORDING=y## BIRDNETPI_URL is the URL where the extractions, data-set, and live-stream## will be web-hosted. If you do not own a domain, or would just prefer to keep-## the BirdNET-Pi on your local network, you can set this to-## http://birdnetpi.local. Setting this will also allow you to enable the-## GoTTY web logging features below.+## the BirdNET-Pi on your local network, keep this EMPTY.-BIRDNETPI_URL=http://birdnetpi.local+BIRDNETPI_URL=+EXTRACTIONLOG_URL=+BIRDNETLOG_URL=## CADDY_PWD is the plaintext password (that will be hashed) and used to access## the "Processed" directory and live audio stream. This MUST be set if youdiff --git a/birdnet.conf-defaults b/birdnet.conf-defaultsindex 160884f3..118e0d4e 100644--- a/birdnet.conf-defaults+++ b/birdnet.conf-defaults@@ -53,7 +53,7 @@ DO_RECORDING=#################################################################################----------------------- Web-hosting/Caddy File-server -----------------------#-#__________The two variables below can be set to enable web access_____________#+#_______The two variables below can be set to enable internet access___________##____________to your data,(e.g., extractions, raw data, live___________________##______________audio stream, BirdNET.selection.txt files)______________________#@@ -61,9 +61,7 @@ DO_RECORDING=## BIRDNETPI_URL is the URL where the extractions, data-set, and live-stream## will be web-hosted. If you do not own a domain, or would just prefer to keep-## BirdNET-Pi on your local network, you can set this to http://localhost.-## Setting this (even to http://localhost) will also allow you to enable the-## GoTTY web logging features below.+## BirdNET-Pi on your local network, keep this empty.BIRDNETPI_URL=diff --git a/scripts/install_config.sh b/scripts/install_config.shindex 2dafe155..d51bc6a5 100755--- a/scripts/install_config.sh+++ b/scripts/install_config.sh@@ -43,7 +43,7 @@ get_DO_RECORDING() {done}-get_EXTRACTIONS_URL() {+get_BIRDNETPI_URL() {while true;doread -n1 -p "Would you like to access the extractions via a web browser?@@ -56,11 +56,11 @@ get_EXTRACTIONS_URL() {case $CADDY_SERVICE in[Yy] ) read -p "What URL would you like to publish the extractions to?*Note: Set this to http://localhost if you do not want to make the- extractions publically available: " EXTRACTIONS_URL+ extractions publically available: " BIRDNETPI_URLget_CADDY_PWDget_ICE_PWDbreak;;- [Nn] ) EXTRACTIONS_URL= CADDY_PWD= ICE_PWD=;break;;+ [Nn] ) BIRDNETPI_URL= CADDY_PWD= ICE_PWD=;break;;* ) echo "Please answer Yes or No";;esacdone@@ -165,7 +165,7 @@ configure() {get_DB_PWDSget_DO_EXTRACTIONSget_DO_RECORDING- get_EXTRACTIONS_URL+ get_BIRDNETPI_URLget_PUSHEDget_INSTALL_NOMACHINEget_CHANNELS@@ -226,19 +226,21 @@ DO_RECORDING=${DO_RECORDING}#################################################################################----------------------- Web-hosting/Caddy File-server -----------------------#-#__________The two variables below can be set to enable web access_____________#+#________The four variables below can be set to enable internet access_________##____________to your data,(e.g., extractions, raw data, live___________________##______________audio stream, BirdNET.selection.txt files)______________________## Leave these EMPTY if you do not want to enable web access #-## EXTRACTIONS_URL is the URL where the extractions, data-set, and live-stream+## BIRDNETPI_URL is the URL where the extractions, data-set, and live-stream## will be web-hosted. If you do not own a domain, or would just prefer to keep## BirdNET-Pi on your local network, you can set this to http://localhost.## Setting this (even to http://localhost) will also allow you to enable the## GoTTY web logging features below.-EXTRACTIONS_URL=${EXTRACTIONS_URL}+BIRDNETPI_URL=${BIRDNETPI_URL}+EXTRACTIONLOG_URL=${EXTRACTIONLOG_URL}+BIRDNETLOG_URL=${BIRDNETLOG_URL}}## CADDY_PWD is the plaintext password (that will be hashed) and used to access## the "Processed" directory and live audio stream. This MUST be set if youdiff --git a/scripts/update_services.sh b/scripts/update_services.shindex aa14e389..3b72821f 100755--- a/scripts/update_services.sh+++ b/scripts/update_services.sh@@ -191,7 +191,6 @@ install_caddy() {}install_Caddyfile() {- set -xecho "Installing the Caddyfile"[ -d /etc/caddy ] || mkdir /etc/caddyif [ -f /etc/caddy/Caddyfile ];then@@ -235,7 +234,6 @@ ${BIRDNETLOG_URL} {EOFfisystemctl reload caddy- set +x}install_avahi_aliases() {