Skip to content

A live bird collage card for your Home Assistant dashboard.

heartbeat stuff

ehpersonal388705ff440348
diff --git a/scripts/install_config.sh b/scripts/install_config.sh
index c71ec489..8c99f0c2 100755
--- a/scripts/install_config.sh
+++ b/scripts/install_config.sh
@@ -187,6 +187,12 @@ AUDIOFMT=mp3
## DATABASE_LANG is the language used for the bird species database
DATABASE_LANG=en
+## HEARTBEAT_URL is a location to ping every time some analysis is done
+## no information is sent to the the URL, its a heart beat to show that the
+## analysis is continuing
+
+HEARTBEAT_URL=
+
## SILENCE_UPDATE_INDICATOR is for quieting the display of how many commits
## your installation is behind by, relative to the Github repo. This number
## appears next to "Tools" when you're 50 or more commits behind.
diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh
index b7612eb7..729f264c 100755
--- a/scripts/update_birdnet_snippets.sh
+++ b/scripts/update_birdnet_snippets.sh
@@ -135,6 +135,9 @@ fi
if ! grep FREQSHIFT_PITCH /etc/birdnet/birdnet.conf &>/dev/null;then
sudo -u$USER echo "FREQSHIFT_PITCH=-1500" >> /etc/birdnet/birdnet.conf
fi
+if ! grep HEARTBEAT_URL /etc/birdnet/birdnet.conf &>/dev/null;then
+ sudo -u$USER echo "HEARTBEAT_URL=" >> /etc/birdnet/birdnet.conf
+fi
sudo systemctl daemon-reload
restart_services.sh