Cache DWD radar image
This commit is contained in:
parent
6625644d83
commit
f39086e1c5
2 changed files with 4 additions and 1 deletions
|
@ -23,4 +23,7 @@ export PATH="/opt/venv/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sb
|
|||
# BBK
|
||||
/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
|
||||
|
|
|
@ -7,7 +7,7 @@ SKIN_VERSION = 2.3.2
|
|||
github_link = True
|
||||
|
||||
# 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:
|
||||
radar_url = https://www.dwd.de/DE/leistungen/radarbild_film/radarbild_film.html
|
||||
|
||||
|
|
Reference in a new issue