A live bird collage card for your Home Assistant dashboard.
fixes
ehpersonal38b8e54d1ded96
diff --git a/scripts/config.php b/scripts/config.phpindex cd38d282..58cb948a 100644--- a/scripts/config.php+++ b/scripts/config.php@@ -358,7 +358,7 @@ function sendTestNotification(e) {<span <?php if($config['MODEL'] == "BirdNET_6K_GLOBAL_MODEL") { ?>style="display: none"<?php } ?> id="soft"><label for="sf_thresh">Species Occurence Frequency Threshold: </label><input name="sf_thresh" type="number" max="0.99" min="0.01" step="0.01" value="<?php print($config['SF_THRESH']);?>"/> <span onclick="document.getElementById('sfhelp').style.display='unset'" style="text-decoration:underline;cursor:pointer">[?]</span><br>- <p id="sfhelp" style='display:none'>This value is used by the model to constrain the list of possible species that it will try to detect, given the minimum occurence frequency. A 0.05 threshold means that the species is seen on average at least 5% of the time, from historically collected data for your lat/lon.<br>If you'd like to tinker with this value and see the species list output, you can run the following command: <b>~/BirdNET-Pi/birdnet/bin/python3 ~/BirdNET-Pi/scripts/species.py --threshold 0.05</b></p>+ <p id="sfhelp" style='display:none'>This value is used by the model to constrain the list of possible species that it will try to detect, given the minimum occurence frequency. A 0.05 threshold means that the species is seen on average at least 5% of the time, from historically collected data for your lat/lon.<br>If you'd like to tinker with this value and see the species list output, you can run the following command AFTER clicking 'Update Settings' at the very bottom of this page to install the appropriate labels file: <b>~/BirdNET-Pi/birdnet/bin/python3 ~/BirdNET-Pi/scripts/species.py --threshold 0.05</b></p></span><dl>diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.shindex 9e69411a..a3079d1c 100755--- a/scripts/update_birdnet_snippets.sh+++ b/scripts/update_birdnet_snippets.sh@@ -150,6 +150,7 @@ fiif ! grep SF_THRESH /etc/birdnet/birdnet.conf &>/dev/null;thensudo -u$USER echo "SF_THRESH=0.5" >> /etc/birdnet/birdnet.conffi+sudo chmod +x ~/BirdNET-Pi/scripts/install_language_label_nm.shsudo systemctl daemon-reloadrestart_services.sh