Skip to content

A live bird collage card for your Home Assistant dashboard.

adjusting updater to new homepage

Patrick McGuire91ca1ab271c6
diff --git a/scripts/update_birdnet2.sh b/scripts/update_birdnet2.sh
index 05a98cd4..cede40e6 100755
--- a/scripts/update_birdnet2.sh
+++ b/scripts/update_birdnet2.sh
@@ -8,6 +8,8 @@ if ! grep EXTRACTIONLOG ${birdnet_conf} &> /dev/null;then
echo "EXTRACTIONLOG_URL=" >> ${birdnet_conf}
echo "BIRDNETLOG_URL=" >> ${birdnet_conf}
fi
+sudo -upi sed -i 's/=http:\/\/birdnetpi.local/=/g' ${birdnet_conf}
+
# Stage 2 updates the services
my_dir=${HOME}/BirdNET-Pi/scripts
sudo ${my_dir}/update_services.sh