Skip to content

A live bird collage card for your Home Assistant dashboard.

adding new PRIVACY_THRESHOLD variable and removing PRIVACY_MODE variable

mcguirepr891a5e81a46fa5
diff --git a/birdnet.conf-defaults b/birdnet.conf-defaults
index f21fcade..871d30e3 100644
--- a/birdnet.conf-defaults
+++ b/birdnet.conf-defaults
@@ -120,11 +120,14 @@ CHANNELS=2
FULL_DISK=purge
-## PRIVACY_MODE can be set to 'on' or 'off' to configure analysis to be more
-## sensitive to human detections. PRIVACY_MODE 'on' will purge any data that
-## receives even a low HUMAN_HUMAN confidence score.
-
-PRIVACY_MODE=off
+## PRIVACY_THRESHOLD can be set to enable sensitivity to Human sounds. This
+## setting is an effort to introduce privacy into the data collection.
+## The PRIVACY_THRESHOLD value represents a percentage of the entire species
+## list used during analysis. If a human sound is predicted anywhere within
+## the precentile set below, no data is collected for that audio chunk.
+## Valid range: 0-30
+
+PRIVACY_THRESHOLD=0
## RECORDING_LENGTH sets the length of the recording that BirdNET-Lite will
## analyze.
diff --git a/scripts/install_config.sh b/scripts/install_config.sh
index 351c3a2e..ee456b3f 100755
--- a/scripts/install_config.sh
+++ b/scripts/install_config.sh
@@ -133,11 +133,14 @@ CHANNELS=2
FULL_DISK=purge
-## PRIVACY_MODE can be set to 'on' or 'off' to configure analysis to be more
-## sensitive to human detections. PRIVACY_MODE 'on' will purge any data that
-## receives even a low HUMAN_HUMAN confidence score.
-
-PRIVACY_MODE=off
+## PRIVACY_THRESHOLD can be set to enable sensitivity to Human sounds. This
+## setting is an effort to introduce privacy into the data collection.
+## The PRIVACY_THRESHOLD value represents a percentage of the entire species
+## list used during analysis. If a human sound is predicted anywhere within
+## the precentile set below, no data is collected for that audio chunk.
+## Valid range: 0-30
+
+PRIVACY_THRESHOLD=0
## RECORDING_LENGTH sets the length of the recording that BirdNET-Lite will
## analyze.