Skip to content

A live bird collage card for your Home Assistant dashboard.

Limit 5 => Limit 15, more time for spectrograms to be created

ehpersonal38f1fed278e881
diff --git a/scripts/overview.php b/scripts/overview.php
index d6f85672..8381d5a5 100644
--- a/scripts/overview.php
+++ b/scripts/overview.php
@@ -82,7 +82,7 @@ if(isset($_GET['fetch_chart_string']) && $_GET['fetch_chart_string'] == "true")
if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isset($_GET['previous_detection_identifier'])) {
- $statement4 = $db->prepare('SELECT Com_Name, Sci_Name, Date, Time, Confidence, File_Name FROM detections ORDER BY Date DESC, Time DESC LIMIT 5');
+ $statement4 = $db->prepare('SELECT Com_Name, Sci_Name, Date, Time, Confidence, File_Name FROM detections ORDER BY Date DESC, Time DESC LIMIT 15');
if($statement4 == False) {
echo "Database is busy";
header("refresh: 0;");