A live bird collage card for your Home Assistant dashboard.
installable through SSH -- you have to know how to configure raspberry pi through sudo raspi-config
Patrick McGuire9ee9a6118d07
diff --git a/Birders_Guide_Installer.sh b/Birders_Guide_Installer.shindex 332c4dc2..4f83f2df 100755--- a/Birders_Guide_Installer.sh+++ b/Birders_Guide_Installer.sh@@ -1,6 +1,7 @@#!/usr/bin/env bashset -emy_dir=${HOME}/BirdNET-Pi+branch=testingtrap '${my_dir}/scripts/dump_logs.sh && exit' EXIT SIGHUP SIGINT@@ -44,7 +45,7 @@ EOFechoecho "Installing stage 2 installation script now."cd ~- curl -s -O "https://raw.githubusercontent.com/mcguirepr89/BirdNET-Pi/main/Birders_Guide_Installer.sh"+ curl -s -O "https://raw.githubusercontent.com/mcguirepr89/BirdNET-Pi/${branch}/Birders_Guide_Installer.sh"chmod +x Birders_Guide_Installer.shcat << EOF | sudo tee /etc/systemd/user/birdnet-system-installer.service &> /dev/null[Unit]@@ -106,9 +107,10 @@ stage_2() {echoif [ ! -d ${my_dir} ];thencd ~ || exit 1- echo "Cloning the BirdNET-Pi repository in your home directory"- git clone https://github.com/mcguirepr89/BirdNET-Pi.git ~/BirdNET-Pi- cd BirdNET-Pi && git checkout main+ echo "Cloning the BirdNET-Pi repository $branch branch into your home directory"+ git clone -b ${branch} https://github.com/mcguirepr89/BirdNET-Pi.git ~/BirdNET-Pi+ else+ cd ${my_dir} && git checkout ${branch}fiif [ -f ${my_dir}/Birders_Guide_Installer_Configuration.txt ];then@@ -122,7 +124,7 @@ and then close the Mouse Pad editing window to continue."elseeditor=mousepadfi- $editor ${my_dir}/Birders_Guide_Installer_Configuration.txt &> /dev/null+ $editor ${my_dir}/Birders_Guide_Installer_Configuration.txtwhile pgrep $editor &> /dev/null;dosleep 1done