A live bird collage card for your Home Assistant dashboard.
fixing installer
Patrick McGuire09bc1b94a54c
diff --git a/Birders_Guide_Installer_Configuration.txt b/Birders_Guide_Installer_Configuration.txtindex ad5e9608..3521e136 100644--- a/Birders_Guide_Installer_Configuration.txt+++ b/Birders_Guide_Installer_Configuration.txt@@ -24,10 +24,10 @@# Example: these coordinates would indicate the Eiffel Tower in Paris, France.#LATITUDE=48.858#LONGITUDE=2.294-LATITUDE=-LONGITUDE=-CADDY_PWD=-ICE_PWD=+LATITUDE=35.311+LONGITUDE=-80.749+CADDY_PWD=caddypaddy+ICE_PWD=icepaddy# This section can be left alone. If you setup a Pushed.co# mobile application, you can enter the App secret and secretdiff --git a/scripts/install_birdnet.sh b/scripts/install_birdnet.shindex 32214974..515da961 100755--- a/scripts/install_birdnet.sh+++ b/scripts/install_birdnet.sh@@ -20,9 +20,6 @@ fisudo ./install_services.sh || exit 1source /etc/birdnet/birdnet.conf-CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"-TFLITE_URL="https://drive.google.com/uc?export=download&id=1dlEbugFDJXs-YDBCUC6WjADVtIttWxZA"-TF_COOKIE="https://drive.google.com/uc?export=download&confirm=${CODE}&id=1dlEbugFDJXs-YDBCUC6WjADVtIttWxZA"APT_DEPS=(swig ffmpeg wget unzip curl cmake make)LIBS_MODULES=(libjpeg-dev zlib1g-dev python3-dev python3-pip)@@ -54,7 +51,10 @@ install_birdnet() {echo "Upgrading pip, whell, and setuptools"sudo pip3 install --upgrade pip wheel setuptoolsecho "Fetching the TFLite pre-built binaries"+ TFLITE_URL="https://drive.google.com/uc?export=download&id=1dlEbugFDJXs-YDBCUC6WjADVtIttWxZA"curl -sc /tmp/cookie ${TFLITE_URL} > /dev/null+ CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"+ TF_COOKIE="https://drive.google.com/uc?export=download&confirm=${CODE}&id=1dlEbugFDJXs-YDBCUC6WjADVtIttWxZA"curl -Lb /tmp/cookie ${TF_COOKIE} -o tflite_runtime-2.6.0-cp37-none-linux_aarch64.whlecho "Installing the new TFLite bin wheel"sudo pip3 install --upgrade tflite_runtime-2.6.0-cp37-none-linux_aarch64.whl