A live bird collage card for your Home Assistant dashboard.
added BirdWeather ID support
mcguirepr89d3e1b0cb36c5
diff --git a/scripts/rewrite_config.sh b/scripts/rewrite_config.shindex 3b25cbcd..c7707ccc 100755--- a/scripts/rewrite_config.sh+++ b/scripts/rewrite_config.sh@@ -24,6 +24,10 @@ sed -i s/'^DB_PWD=.*'/"DB_PWD=${db_pwd}"/g ${birdnet_conf}${birdnetpi_dir}/scripts/update_db_pwd_bullseye.shfi+if ! [ -z ${birdweather_id} ];then+sed -i s/'^BIRDWEATHER_ID=.*'/"BIRDWEATHER_ID=${birdweather_id}"/g ${birdnet_conf}+fi+if ! [ -z ${birdnetpi_url} ];thensed -i s/'^BIRDNETPI_URL=.*'/"BIRDNETPI_URL=${birdnetpi_url/\/\//\\\/\\\/}"/g ${birdnet_conf}sed -i s/'^EXTRACTIONLOG_URL=.*'/"EXTRACTIONLOG_URL=${extractionlog_url/\/\//\\\/\\\/}"/g ${birdnet_conf}