diff --git a/README.md b/README.md index 072b6fd..92ae118 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ Currently listening in these countries . . . that I know of . . . - Estonia - Tasmania - Luxembourgh +- Crete ## Features * **24/7 recording and automatic identification** of bird songs, chirps, and peeps using BirdNET machine learning diff --git a/homepage/style.css b/homepage/style.css index 69c350a..346fb2f 100644 --- a/homepage/style.css +++ b/homepage/style.css @@ -26,7 +26,7 @@ iframe { padding: 0; margin: 0; border: none; - height: 93%; + height: 90%; width: 100%; } @@ -836,4 +836,4 @@ pre#timer.bash { #ddnewline::before { content: none; -} \ No newline at end of file +} diff --git a/requirements.txt b/requirements.txt index 6624403..13b2b56 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,4 +14,5 @@ apprise==1.2.1 paho-mqtt pytest==7.1.2 pytest-mock==3.7.0 -suntime \ No newline at end of file +suntime +altair<5 \ No newline at end of file diff --git a/scripts/advanced.php b/scripts/advanced.php index 2a77e36..74417bd 100644 --- a/scripts/advanced.php +++ b/scripts/advanced.php @@ -317,6 +317,7 @@ foreach($audio_formats as $format){

BirdNET-Pi Password

This password will protect your "Tools" page and "Live Audio" stream.

+

Do NOT use special characters. Accepted characters: [A-Z0-9a-z]

show

diff --git a/scripts/overview.php b/scripts/overview.php index 0bb68d7..526e4ca 100644 --- a/scripts/overview.php +++ b/scripts/overview.php @@ -404,6 +404,7 @@ window.setInterval(function(){ \ No newline at end of file + diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index 96c6d2f..069a798 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -462,9 +462,10 @@ function generateMiniGraph(elem, comname) { if (xhr.status === 200) { var detections = JSON.parse(xhr.responseText); - console.log(detections) - // Create a div element for the chart window + if (typeof(window.chartWindow) != 'undefined') { + document.body.removeChild(window.chartWindow); + } var chartWindow = document.createElement('div'); chartWindow.className = "chartdiv" chartWindow.style.position = 'fixed'; @@ -575,6 +576,7 @@ function generateMiniGraph(elem, comname) { document.body.removeChild(chartWindow); }); chartWindow.appendChild(closeButton); + window.chartWindow = chartWindow; } }; xhr.send();