A live bird collage card for your Home Assistant dashboard.
added Wttr.in link setup
Patrick McGuire3bab803b929c
diff --git a/scripts/install_services.sh b/scripts/install_services.shindex 738a4d65..24dd3ede 100755--- a/scripts/install_services.sh+++ b/scripts/install_services.sh@@ -150,6 +150,9 @@ create_necessary_dirs() {sudo -u ${USER} cp -f $(dirname ${my_dir})/templates/green_bootstrap.css ${HOME}/phpsysinfo/templates/sudo -u ${USER} cp -f $(dirname ${my_dir})/templates/index_bootstrap.html ${HOME}/phpsysinfo/templates/html+ echo "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+}diff --git a/scripts/update_services.sh b/scripts/update_services.shindex 9cd974c4..79a6c7b4 100755--- a/scripts/update_services.sh+++ b/scripts/update_services.sh@@ -149,6 +149,10 @@ create_necessary_dirs() {sudo -u ${USER} cp -f $(dirname ${my_dir})/templates/green_bootstrap.css ${HOME}/phpsysinfo/templates/sudo -u ${USER} cp -f $(dirname ${my_dir})/templates/index_bootstrap.html ${HOME}/phpsysinfo/templates/html+ echo "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++}install_alsa() {