A live bird collage card for your Home Assistant dashboard.
create wttr.in link dynamically per LAT&LON
Patrick McGuirefc65db5f011a
diff --git a/scripts/update_services.sh b/scripts/update_services.shindex 79a6c7b4..8ac13c82 100755--- a/scripts/update_services.sh+++ b/scripts/update_services.sh@@ -150,9 +150,9 @@ create_necessary_dirs() {sudo -u ${USER} cp -f $(dirname ${my_dir})/templates/index_bootstrap.html ${HOME}/phpsysinfo/templates/htmlecho "Setting Wttr.in URL to "${LATITUDE}", "${LONGITUDE}""- sudo -u${USER} sed -i "s/https:\/\/wttr.in/https:\/\/wttr.in\/"${LATITUDE},${LONGITUDE}"/g" $(dirname ${my_dir})/homepage/menu.html--+ set -x+ sudo -u${USER} sed -i "s/https:\/\/v2.wttr.in\//https:\/\/wttr.in\/"${LATITUDE},${LONGITUDE}"/g" $(dirname ${my_dir})/homepage/menu.html+ set +x}install_alsa() {