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.shindex a7aedd8d..f00b5f2f 100755--- a/scripts/birdnet_analysis.sh+++ b/scripts/birdnet_analysis.sh@@ -8,6 +8,8 @@ source /etc/birdnet/birdnet.confmy_dir=$(realpath $(dirname $0))if [ -z ${THIS_RUN} ];then THIS_RUN=/home/pi/BirdNET-Pi/thisrun.txt;fiif [ -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;fimake_thisrun() {sleep .4awk '!/#/ && !/^$/ {print}' /etc/birdnet/birdnet.conf \