A live bird collage card for your Home Assistant dashboard.
better logging
mcguirepr89220d5c448626
diff --git a/scripts/birdnet_log.sh b/scripts/birdnet_log.shnew file mode 100755index 00000000..df68b9cb--- /dev/null+++ b/scripts/birdnet_log.sh@@ -0,0 +1,2 @@+#!/usr/bin/env bash+journalctl -o short -fu birdnet_analysis -u birdnet_server | sed "s/$(date "+%b %d ")//g"diff --git a/scripts/install_services.sh b/scripts/install_services.shindex 30c0cbde..afeaf390 100755--- a/scripts/install_services.sh+++ b/scripts/install_services.sh@@ -418,7 +418,7 @@ RestartSec=3Type=simpleUser=${USER}Environment=TERM=xterm-256color-ExecStart=/usr/local/bin/gotty -p 8080 --title-format "BirdNET-Pi Log" journalctl --no-hostname -o short -fu birdnet_server.service -u birdnet_analysis.service+ExecStart=/usr/local/bin/gotty -p 8080 --title-format "BirdNET-Pi Log" birdnet_log.sh[Install]WantedBy=multi-user.targetEOFdiff --git a/scripts/update_services.sh b/scripts/update_services.shindex 505b85d6..7e208c5f 100755--- a/scripts/update_services.sh+++ b/scripts/update_services.sh@@ -411,7 +411,7 @@ RestartSec=3Type=simpleUser=${USER}Environment=TERM=xterm-256color-ExecStart=/usr/local/bin/gotty -p 8080 --title-format "BirdNET-Pi Log" journalctl --no-hostname -o short -fu birdnet_server.service -u birdnet_analysis.service+ExecStart=/usr/local/bin/gotty -p 8080 --title-format "BirdNET-Pi Log" birdnet_log.sh[Install]WantedBy=multi-user.target