Skip to content

A live bird collage card for your Home Assistant dashboard.

added SENSITIVTY as birdnet.conf variable

Patrick McGuirebc60ab697ce6
diff --git a/Birders_Guide_Installer.sh b/Birders_Guide_Installer.sh
index eff3aa1a..e954ce59 100755
--- a/Birders_Guide_Installer.sh
+++ b/Birders_Guide_Installer.sh
@@ -333,7 +333,7 @@ INSTALL_NOMACHINE=y
################################################################################
#-------------------------------- Defaults ----------------------------------#
-#______The six variables below are default settings that you (probably)________#
+#______The seven variables below are default settings that you (probably)______#
#__________________don't need to change at all, but can._______________________#
## REC_CARD is the sound card you would want the birdnet_recording.service to
@@ -380,6 +380,10 @@ OVERLAP="0.0"
CONFIDENCE="0.7"
+## SENSITIVITY is the detection sensitivity from 0.5-1.5.
+
+SENSITIVITY="1.25"
+
################################################################################
#------------------------------ Auto-Generated ------------------------------#
#_____________________The variables below are auto-generated___________________#
diff --git a/birdnet.conf-defaults b/birdnet.conf-defaults
index 0690d3fb..04456ed2 100644
--- a/birdnet.conf-defaults
+++ b/birdnet.conf-defaults
@@ -208,6 +208,10 @@ OVERLAP="0.0"
CONFIDENCE="0.7"
+## SENSITIVITY is the detection sensitivity from 0.5-1.5.
+
+SENSITIVITY="1.25"
+
################################################################################
#------------------------------ Auto-Generated ------------------------------#
#_____________________The variables below are auto-generated___________________#
diff --git a/scripts/birdnet_analysis.sh b/scripts/birdnet_analysis.sh
index 28d91685..7e58fb51 100755
--- a/scripts/birdnet_analysis.sh
+++ b/scripts/birdnet_analysis.sh
@@ -51,6 +51,7 @@ run_analysis() {
--lon "${LONGITUDE}" \
--week "${WEEK}" \
--overlap "${OVERLAP}" \
+ --sensitivity "${SENSITIVITY}" \
--min_conf "${CONFIDENCE}"
set +x
elif [ -f ${1}/${i} ] && [ -f ${CUSTOM_LIST} ];then
@@ -62,6 +63,7 @@ run_analysis() {
--lon "${LONGITUDE}" \
--week "${WEEK}" \
--overlap "${OVERLAP}" \
+ --sensitivity "${SENSITIVITY}" \
--min_conf "${CONFIDENCE}" \
--custom_list "${CUSTOM_LIST}"
set +x
diff --git a/scripts/install_config.sh b/scripts/install_config.sh
index cb116a85..a104ea97 100755
--- a/scripts/install_config.sh
+++ b/scripts/install_config.sh
@@ -354,7 +354,7 @@ INSTALL_NOMACHINE=${INSTALL_NOMACHINE}
################################################################################
#-------------------------------- Defaults ----------------------------------#
-#________The six variables below are default settings that you (probably)______#
+#________The seven variables below are default settings that you (probably)____#
#__________________don't need to change at all, but can._______________________#
## REC_CARD is the sound card you would want the birdnet_recording.service to
@@ -401,6 +401,10 @@ OVERLAP="0.0"
CONFIDENCE="0.7"
+## SENSITIVITY is the detection sensitivity from 0.5-1.5.
+
+SENSITIVITY="1.25"
+
################################################################################
#------------------------------ Auto-Generated ------------------------------#
#_____________________The variables below are auto-generated___________________#