A live bird collage card for your Home Assistant dashboard.
Update birdnet_analysis.sh
Patrick McGuire67e286f60dcd
diff --git a/scripts/birdnet_analysis.sh b/scripts/birdnet_analysis.shindex f00b5f2f..f7d6ff0e 100755--- a/scripts/birdnet_analysis.sh+++ b/scripts/birdnet_analysis.sh@@ -7,7 +7,7 @@ source /etc/birdnet/birdnet.conf# the birdnet.conf as it was the last time this script was calledmy_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 ${LAST_RUN} ];then LAST_RUN=/home/pi/BirdNET-Pi/lastrun.txt;fiif [ -z ${LATITUDE} ];then LATITUDE=-1;fiif [ -z ${LONGITUDE} ];then LONGITUDE=-1;fimake_thisrun() {