Archived
1
0
Fork 0

Cache DWD radar image

This commit is contained in:
Daniel Kempkens 2022-12-27 16:39:42 +01:00
parent 6625644d83
commit f39086e1c5
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 4 additions and 1 deletions

View file

@ -23,4 +23,7 @@ export PATH="/opt/venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sb
# BBK # BBK
/usr/local/bin/bbk-warnings --config=/data/weewx.conf 2>/dev/null >/dev/null /usr/local/bin/bbk-warnings --config=/data/weewx.conf 2>/dev/null >/dev/null
# Radar
/usr/bin/wget -nv -O /home/weewx/skins/weewx-wdc/dwd/radar_nrw.gif https://www.dwd.de/DWD/wetter/radar/radfilm_nrw_akt.gif 2>/dev/null >/dev/null
exit 0 exit 0

View file

@ -7,7 +7,7 @@ SKIN_VERSION = 2.3.2
github_link = True github_link = True
# This radar image would be available as $Extras.radar_img # This radar image would be available as $Extras.radar_img
radar_img = https://www.dwd.de/DWD/wetter/radar/radfilm_nrw_akt.gif radar_img = /dwd/radar_nrw.gif
# This URL will be used as the image hyperlink: # This URL will be used as the image hyperlink:
radar_url = https://www.dwd.de/DE/leistungen/radarbild_film/radarbild_film.html radar_url = https://www.dwd.de/DE/leistungen/radarbild_film/radarbild_film.html