Archived
1
0
Fork 0

weewx-dwd: Use correct Schild

This commit is contained in:
Daniel Kempkens 2022-12-23 00:28:24 +01:00
parent 9cc0f96f19
commit b7aad60e68
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 4 additions and 3 deletions

View file

@ -54,6 +54,7 @@ RUN wget -nv -O icons-dwd.zip "https://www.dwd.de/DE/wetter/warnungen_aktuell/ob
# Adjust (some) file content and permissions # Adjust (some) file content and permissions
RUN sed -i -z -e "s|PTH=\"/etc/weewx/skins/Belchertown/dwd\"|PTH=\"/home/weewx/skins/weewx-wdc/dwd\"|g" /tmp/weewx-dwd/weewx-DWD-master/usr/local/bin/wget-dwd &&\ RUN sed -i -z -e "s|PTH=\"/etc/weewx/skins/Belchertown/dwd\"|PTH=\"/home/weewx/skins/weewx-wdc/dwd\"|g" /tmp/weewx-dwd/weewx-DWD-master/usr/local/bin/wget-dwd &&\
sed -i -z -e "s|SchilderLZ|SchilderEM|g" /tmp/weewx-dwd/weewx-DWD-master/usr/local/bin/wget-dwd &&\
sed -i -z -e "s|config = configobj.ConfigObj(\"/etc/weewx/weewx.conf\")|config = configobj.ConfigObj(\"/data/weewx.conf\")|g" /tmp/weewx-dwd/weewx-DWD-master/usr/local/bin/dwd-warnings &&\ sed -i -z -e "s|config = configobj.ConfigObj(\"/etc/weewx/weewx.conf\")|config = configobj.ConfigObj(\"/data/weewx.conf\")|g" /tmp/weewx-dwd/weewx-DWD-master/usr/local/bin/dwd-warnings &&\
sed -i -z -e "s|config_path = \"/etc/weewx/weewx.conf\"|config_path = \"/data/weewx.conf\"|g" /tmp/weewx-dwd/weewx-DWD-master/usr/local/bin/dwd-cap-warnings &&\ sed -i -z -e "s|config_path = \"/etc/weewx/weewx.conf\"|config_path = \"/data/weewx.conf\"|g" /tmp/weewx-dwd/weewx-DWD-master/usr/local/bin/dwd-cap-warnings &&\
sed -i -z -e "s|config_path = \"/etc/weewx/weewx.conf\"|config_path = \"/data/weewx.conf\"|g" /tmp/weewx-dwd/weewx-DWD-master/usr/local/bin/dwd-mosmix &&\ sed -i -z -e "s|config_path = \"/etc/weewx/weewx.conf\"|config_path = \"/data/weewx.conf\"|g" /tmp/weewx-dwd/weewx-DWD-master/usr/local/bin/dwd-mosmix &&\

View file

@ -40,9 +40,9 @@ SKIN_VERSION = 2.3.2
dwd_link = https://www.dwd.de/DE/wetter/wetterundklima_vorort/nordrhein-westfalen/nrw_node.html dwd_link = https://www.dwd.de/DE/wetter/wetterundklima_vorort/nordrhein-westfalen/nrw_node.html
show_pressure_map = True show_pressure_map = True
show_warning_map = True show_warning_map = True
warning_map_filename = 'SchilderLZ.jpg' warning_map_filename = 'SchilderEM.jpg'
show_text_warnings = True show_text_warnings = True
show_warnings_on_front = 'HS' show_warnings_on_front = 'WB'
show_forecast = True show_forecast = True
mosmix_id = K1174 mosmix_id = K1174
[[[forecast_table_settings]]] [[[forecast_table_settings]]]
@ -337,7 +337,7 @@ SKIN_VERSION = 2.3.2
[CopyGenerator] [CopyGenerator]
copy_once = dist/main.js, dist/main.css, plotly-custom-build.min.js, favicon.ico, manifest.json, icon-192x192.png, icon-256x256.png, icon-384x384.png, icon-512x512.png, service-worker.js, offline.html copy_once = dist/main.js, dist/main.css, plotly-custom-build.min.js, favicon.ico, manifest.json, icon-192x192.png, icon-256x256.png, icon-384x384.png, icon-512x512.png, service-worker.js, offline.html
copy_always = dwd/SchilderLZ.jpg, dwd/bwk_bodendruck_weu_ana.png, dwd/bwk_bodendruck_na_ana.png copy_always = dwd/SchilderEM.jpg, dwd/bwk_bodendruck_weu_ana.png, dwd/bwk_bodendruck_na_ana.png
[Generators] [Generators]
generator_list = weewx.cheetahgenerator.CheetahGenerator, weewx.reportengine.CopyGenerator generator_list = weewx.cheetahgenerator.CheetahGenerator, weewx.reportengine.CopyGenerator