A live bird collage card for your Home Assistant dashboard.
Try to fix https://github.com/Nachtzuster/BirdNET-Pi/issues/100 (#103)
Alexandrecafbf5ab1e2b
diff --git a/scripts/install_config.sh b/scripts/install_config.shindex 5140ac6f..28d99689 100755--- a/scripts/install_config.sh+++ b/scripts/install_config.sh@@ -9,7 +9,7 @@ birdnet_conf=$my_dir/birdnet.conf# Retrieve latitude and longitude from webjson=$(curl -s4 http://ip-api.com/json)-if [ "$(echo "$json" | jq -r .status)" = "success" ]; then+if [ -n "$json" ] && [ "$(echo "$json" | jq -r .status)" = "success" ]; thenLATITUDE=$(echo "$json" | jq .lat)LONGITUDE=$(echo "$json" | jq .lon)else