Skip to content

A live bird collage card for your Home Assistant dashboard.

quotes

ehpersonal38f1595950bb7a
diff --git a/birdnet.conf-defaults b/birdnet.conf-defaults
index 61b33f5d..21773cc4 100644
--- a/birdnet.conf-defaults
+++ b/birdnet.conf-defaults
@@ -70,8 +70,8 @@ PUSHED_APP_SECRET=
#----------------------- Apprise Miscellanous Configuration -------------------#
-APPRISE_NOTIFICATION_TITLE=New BirdNET-Pi Detection
-APPRISE_NOTIFICATION_BODY=A $sciname $comname was just detected with a confidence of $confidence
+APPRISE_NOTIFICATION_TITLE="New BirdNET-Pi Detection"
+APPRISE_NOTIFICATION_BODY="A \$sciname \$comname was just detected with a confidence of \$confidence"
APPRISE_NOTIFY_EACH_DETECTION=false
################################################################################
diff --git a/scripts/install_config.sh b/scripts/install_config.sh
index 94f7ca31..69ea796f 100755
--- a/scripts/install_config.sh
+++ b/scripts/install_config.sh
@@ -83,8 +83,8 @@ PUSHED_APP_SECRET=
#----------------------- Apprise Miscellanous Configuration -------------------#
-APPRISE_NOTIFICATION_TITLE=New BirdNET-Pi Detection
-APPRISE_NOTIFICATION_BODY=A $sciname $comname was just detected with a confidence of $confidence
+APPRISE_NOTIFICATION_TITLE="New BirdNET-Pi Detection"
+APPRISE_NOTIFICATION_BODY="A \$sciname \$comname was just detected with a confidence of \$confidence"
APPRISE_NOTIFY_EACH_DETECTION=false
################################################################################
diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh
index 107feb5b..43a71cd6 100755
--- a/scripts/update_birdnet_snippets.sh
+++ b/scripts/update_birdnet_snippets.sh
@@ -13,10 +13,10 @@ if ! grep PRIVACY_MODE /etc/birdnet/birdnet.conf &>/dev/null;then
sudo -u$USER echo "PRIVACY_MODE=off" >> /etc/birdnet/birdnet.conf
fi
if ! grep APPRISE_NOTIFICATION_TITLE /etc/birdnet/birdnet.conf &>/dev/null;then
- sudo -u$USER echo "APPRISE_NOTIFICATION_TITLE=New BirdNET-Pi Detection" >> /etc/birdnet/birdnet.conf
+ sudo -u$USER echo "\"APPRISE_NOTIFICATION_TITLE=New BirdNET-Pi Detection\"" >> /etc/birdnet/birdnet.conf
fi
if ! grep APPRISE_NOTIFICATION_BODY /etc/birdnet/birdnet.conf &>/dev/null;then
- sudo -u$USER echo "APPRISE_NOTIFICATION_BODY=A \$sciname \$comname was just detected with a confidence of \$confidence" >> /etc/birdnet/birdnet.conf
+ sudo -u$USER echo "APPRISE_NOTIFICATION_BODY=\"A \$sciname \$comname was just detected with a confidence of \$confidence\"" >> /etc/birdnet/birdnet.conf
fi
if ! grep APPRISE_NOTIFY_EACH_DETECTION /etc/birdnet/birdnet.conf &>/dev/null;then
sudo -u$USER echo "APPRISE_NOTIFY_EACH_DETECTION=false" >> /etc/birdnet/birdnet.conf