A live bird collage card for your Home Assistant dashboard.
allow getting http://ip-api.com/json to fail
frederikbd93b1c0a544
diff --git a/scripts/install_config.sh b/scripts/install_config.shindex 5fdf4521..04701ddc 100755--- a/scripts/install_config.sh+++ b/scripts/install_config.sh@@ -8,7 +8,7 @@ echo "Beginning $0"birdnet_conf=$my_dir/birdnet.conf# Retrieve latitude and longitude from web-json=$(curl -s4 http://ip-api.com/json)+json=$(curl -s4 http://ip-api.com/json || true)if [ -n "$json" ] && [ "$(echo "$json" | jq -r .status)" = "success" ]; thenLATITUDE=$(echo "$json" | jq .lat)LONGITUDE=$(echo "$json" | jq .lon)