Skip to content

A live bird collage card for your Home Assistant dashboard.

has default LAT and LON now

Patrick McGuire1fdf28057448
diff --git a/scripts/birdnet_analysis.sh b/scripts/birdnet_analysis.sh
index a7aedd8d..f00b5f2f 100755
--- a/scripts/birdnet_analysis.sh
+++ b/scripts/birdnet_analysis.sh
@@ -8,6 +8,8 @@ source /etc/birdnet/birdnet.conf
my_dir=$(realpath $(dirname $0))
if [ -z ${THIS_RUN} ];then THIS_RUN=/home/pi/BirdNET-Pi/thisrun.txt;fi
if [ -z ${LAST_RUN} ];then LAST_RUN=/home/pi/BirdNET-Pi/thisrun.txt;fi
+if [ -z ${LATITUDE} ];then LATITUDE=-1;fi
+if [ -z ${LONGITUDE} ];then LONGITUDE=-1;fi
make_thisrun() {
sleep .4
awk '!/#/ && !/^$/ {print}' /etc/birdnet/birdnet.conf \