From f762b41c214f3627f4b396dd0568977e9a34569e Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Wed, 1 Dec 2021 14:13:15 -0500 Subject: [PATCH] more addition for BirdWeather --- Birders_Guide_Installer.sh | 6 ++++ Birders_Guide_Installer_Configuration.txt | 36 ++++++++++++++--------- analyze.py | 2 ++ homepage/style.css | 6 ++-- requirements.txt | 1 + 5 files changed, 33 insertions(+), 18 deletions(-) diff --git a/Birders_Guide_Installer.sh b/Birders_Guide_Installer.sh index 81b4f7a..5c06af3 100755 --- a/Birders_Guide_Installer.sh +++ b/Birders_Guide_Installer.sh @@ -141,6 +141,12 @@ DB_PWD=changeme ICE_PWD=changeme +#--------------------- BirdWeather Station Information -----------------------# +#_____________The variable below can be set to have your BirdNET-Pi____________# +#__________________also act as a BirdWeather listening station_________________# + +BIRDWEATHER_ID=${BIRDWEATHER_ID} + #----------------------- Web-hosting/Caddy File-server -----------------------# #________The four variables below can be set to enable internet access_________# #____________to your data,(e.g., extractions, raw data, live___________________# diff --git a/Birders_Guide_Installer_Configuration.txt b/Birders_Guide_Installer_Configuration.txt index b4aa1cd..1bbf484 100644 --- a/Birders_Guide_Installer_Configuration.txt +++ b/Birders_Guide_Installer_Configuration.txt @@ -1,18 +1,19 @@ # Birders Guide Installer Configuration File -########################################################################### +################################################################################ # Fill this out in order to install BirdNET-Lite # Follow the instructions for each section. -########################################################################### +################################################################################ # 1. To find your latitude and longitude, you can go to https://maps.google.com # 1a. Find the location on the map where you will be putting the BirdNET-Lite -# 1b. Right-click the location to view the latitude and longitude and click them to -# copy them to your clip-board. -# 2. Enter the latitude and longitude here. Be certain not to mix them up and -# only go to the thousandth's decimal place. The first number is the latitude, -# and the second is longitude. See the example below. +# 1b. Right-click the location to view the latitude and longitude and click +# them to copy them to your clip-board. +# 2. Enter the latitude and longitude here. Be certain not to mix them up. +# The first number is the latitude, and the second is longitude. See the +# example below. +# # Example: these coordinates would indicate the Eiffel Tower in Paris, France. # LATITUDE=48.858 # LONGITUDE=2.294 @@ -22,17 +23,17 @@ LONGITUDE= # 1. CADDY_PWD is the password you will use to access your live audio stream and # maintenance tools. You can set this to anything, but keep it alpha-numeric. -# You will probably also want to write this one down if you ever plan to listen -# to the live stream. -# 2. ICE_PWD is the password that IceCast2 will use to authenticate the stream source. -# You can set this to anything also, but keep it alpha-numeric. You will never use -# this again, so just set it to your favorite word. +# You will probably also want to write this one down if you ever plan to +# listen to the live stream. +# 2. ICE_PWD is the password that IceCast2 will use to authenticate the stream +# source.You can set this to anything also, but keep it alpha-numeric. You +# will never use this again, so just set it to your favorite word. CADDY_PWD= ICE_PWD= -# DB_PWD is the password that the system will use to access the database. Set this to -# anything you want. +# DB_PWD is the password that the system will use to access the database. Set +# this to anything you want. DB_PWD= @@ -49,3 +50,10 @@ PUSHED_APP_KEY= BIRDNETPI_URL= BIRDNETLOG_URL= EXTRACTIONLOG_URL= + +# If you would like to POST your BirdNET-Pi detections to +# https://app.birdweather.com, reach out to github:@timsterc for a unique and +# confidential BirdWeather ID. Place that here if you have one already. +# You can always add this later and the system will immediately start POSTing. + +BIRDWEATHER_ID= diff --git a/analyze.py b/analyze.py index 9b755f0..b90038f 100644 --- a/analyze.py +++ b/analyze.py @@ -1,3 +1,5 @@ +# BirdWeather edits by @timsterc +# Other edits by @CaiusX and @mcguirepr89 import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' os.environ['CUDA_VISIBLE_DEVICES'] = '' diff --git a/homepage/style.css b/homepage/style.css index 55a78e6..cfb4f81 100644 --- a/homepage/style.css +++ b/homepage/style.css @@ -1,5 +1,7 @@ /* style sheet */ * { + font-family: 'Arial', 'Gill Sans', 'Gill Sans MT', + ' Calibri', 'Trebuchet MS', 'sans-serif'; box-sizing: border-box; } @@ -34,16 +36,12 @@ h1 { text-align: center; color: black; font-size: xx-large; - font-family: 'Gill Sans', 'Gill Sans MT', - ' Calibri', 'Trebuchet MS', 'sans-serif'; } h2 { text-align: center; color: black; font-size: large; - font-family: 'Gill Sans', 'Gill Sans MT', - ' Calibri', 'Trebuchet MS', 'sans-serif'; } th, diff --git a/requirements.txt b/requirements.txt index e1cb996..acbb665 100644 --- a/requirements.txt +++ b/requirements.txt @@ -36,5 +36,6 @@ six SoundFile tflite-runtime threadpoolctl +tzlocal urllib3 wheel