From b7aad60e68f8c0ee761d1f58a9dcb8ac0c533e67 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 23 Dec 2022 00:28:24 +0100 Subject: [PATCH] weewx-dwd: Use correct Schild --- Dockerfile | 1 + defaults/skin-wdc/skin.conf | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 56c15a2..935253f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 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_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 &&\ diff --git a/defaults/skin-wdc/skin.conf b/defaults/skin-wdc/skin.conf index f3428f0..d146387 100644 --- a/defaults/skin-wdc/skin.conf +++ b/defaults/skin-wdc/skin.conf @@ -40,9 +40,9 @@ SKIN_VERSION = 2.3.2 dwd_link = https://www.dwd.de/DE/wetter/wetterundklima_vorort/nordrhein-westfalen/nrw_node.html show_pressure_map = True show_warning_map = True - warning_map_filename = 'SchilderLZ.jpg' + warning_map_filename = 'SchilderEM.jpg' show_text_warnings = True - show_warnings_on_front = 'HS' + show_warnings_on_front = 'WB' show_forecast = True mosmix_id = K1174 [[[forecast_table_settings]]] @@ -337,7 +337,7 @@ SKIN_VERSION = 2.3.2 [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_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] generator_list = weewx.cheetahgenerator.CheetahGenerator, weewx.reportengine.CopyGenerator