Skip to content

A live bird collage card for your Home Assistant dashboard.

adding disclaimer to email_template

mcguirepr897a4cc4bc7053
diff --git a/scripts/birdweather_request.php b/scripts/birdweather_request.php
index b52c0445..9795e9eb 100644
--- a/scripts/birdweather_request.php
+++ b/scripts/birdweather_request.php
@@ -4,7 +4,7 @@ if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {
} elseif (file_exists('/home/pi/BirdNET-Pi/firstrun.ini')) {
$config = parse_ini_file('/home/pi/BirdNET-Pi/firstrun.ini');
}
-$template = file_get_contents("email_template.html");
+$template = file_get_contents("email_template");
foreach($config as $key => $value)
{
diff --git a/scripts/email_template b/scripts/email_template
new file mode 100644
index 00000000..7b08789f
--- /dev/null
+++ b/scripts/email_template
@@ -0,0 +1,13 @@
+Hi, Tim, and thank you so much for BirdWeather.com!
+%0A%0A
+Below is the information I would like to use to request a BirdWeather ID
+%0A%0A
+Latitude={{ LATITUDE }}%0A
+Longitude={{ LONGITUDE }}%0A
+Location= [ Create a location name ]%0A
+%0A%0A
+Thank you so much!%0A
+[ Your Name Here ]
+
+Disclaimer: By requesting this BirdWeather ID, I acknowledge that my location
+and recording data will be made public.