Good morning Using docker image mitct02/weewx:5.1.0-6 with belchertown 1.3b2, mqttsubscribe and weewx 5.1.0. I have the belchertown skin running and updating. I am trying to get the forecast working with dwd. I have used the config from a previous setup that has been working with weewx 4.9.1. Here are some snippets if anyone can help when I run dwd from /etc/crontab.hourly. Also used dwd files from previous version working with weewx 4.9.1
weewx@myweewx:/etc/cron.hourly$ ./dwd Using configuration file /etc/weewx/weewx.conf successfully downloaded https://api.open-meteo.com/v1/gem?latitude=48.372&longitude=-89.3115&hourly=temperature_2m,relativehumidity_2m,dewpoint_2m,pressure_msl,cloudcover,cloudcover_low,cloudcover_mid,cloudcover_high,windspeed_10m,winddirection_10m,windgusts_10m,weathercode&timeformat=unixtime what to output: ['belchertown'] start loop over placemarks process placemark id "openmeteo-48.372--89.3115-gem" name "48.372 -89.3115" calculate daily forecast calculate 3hr forecast 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' 'T5cm' 'VV' 'R101' belchertown now 09:01:07 timestep 10:00:00 Traceback (most recent call last): File "/home/weewx/weewx-venv/bin/dwd-mosmix", line 2452, in <module> dwd.forecast_all(mmos,output,options.dry_run,lang=options.lang) File "/home/weewx/weewx-venv/bin/dwd-mosmix", line 2077, in forecast_all self.forecast_placemark(placemark, mos['ForecastTimeSteps'], issue, output, dryrun, lang) File "/home/weewx/weewx-venv/bin/dwd-mosmix", line 2053, in forecast_placemark self.belchertown(placemark,days,recs3hr,timesteps,daynights,issue,dryrun) File "/home/weewx/weewx-venv/bin/dwd-mosmix", line 1334, in belchertown 'windDir':compass(nround(placemark['Forecast']['DD'][idx]),self.belchertown_compasslang,False), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'DwdMosmix' object has no attribute 'belchertown_compasslang' snippet from weewx.conf [[Belchertown]] skin = Belchertown HTML_ROOT = public_html/belchertown enable = true [[[Extras]]] # For help refer to the docs at https://github.com/poblabs/weewx-be> #--- General Options --- belchertown_debug = 0 # belchertown_locale = auto # theme = light # theme_toggle_enabled = 1 # logo_image = "https://www.your-domain-name.com/images/logo_light.p> # logo_image_dark = "https://www.your-domain-name.com/images/logo_da> # site_title = Your New Weather WebSite # station_observations = barometer, dewpoint, outHumidity, rainWithR> beaufort_categoty = 1 webpage_autorefresh = 300000 # manifest_name = your-domain-name.com # manifest_short_name = WEATHER # aeris_map = 0 # radar_html = '' # (default seems to center on your lat/lon) # radar_html_dark = None radar_zoom = 10 radar_marker = 1 almanac_extras = 1 highcharts_enabled = 1 graph_page_show_all_button = 1 graph_page_default_graphgroup = day highcharts_homepage_graphgroup = day highcharts_decimal = auto highcharts_thousands = auto #googleAnalyticsId = "" # pi_kiosk_bold = "false" # pi_theme = "auto" # webpage_autorefresh = 300000 reload_hook_images = 1 reload_images_radar = 300 # reload_images_hook_asi = -1 reload_images_hook_af = 1 # reload_images_hook_as = -1 # reload_images_hook_ac = -1 # show_last_updated_alert = 1 # last_updated_alert_threshold = 1800 #--- Common Titles under Labels Section to Change --- # home_page_header = "Current Station Weather Conditions" # graphs_page_header = Weather Observation Graphs # reports_page_header = NOAA Climate Reports # records_page_header = Station Records # about_page_header = About your-domain-name.com # powered_by = Observations are powered by a <a href="/about" target> powered_by = Observations are powered by a Pi Pico Weather Station # footer_copyright_text = 2018 - 2022 Your-Domain-Name.com # footer_disclaimer_text = Never make important decisions based on i> #--- MQTT Websockets (for Real Time Streaming) Options --- mqtt_websockets_enabled = 0 #mqtt_websockets_host = wxsocket.your-domain-name.com #mqtt_websockets_port = 443 #mqtt_websockets_ssl = 1 #mqtt_websockets_topic = weather/loop #disconnect_live_website_visitor = 1800000 #--- Forecast Options --- forecast_enabled = 1 #forecast_provider = aeris #forecast_api_id = replace_me #forecast_api_secret = replace_me #forecast_units = us #forecast_lang = en forecast_stale = 86400 #forecast_aeris_use_metar = 1 #forecast_interval_hours = 24 forecast_alert_enabled = 1 #forecast_alert_limit = 3 #forecast_show_daily_forecast_link = 1 #forecast_daily_forecast_link = https://open-meteo.com/ #aqi_enabled = 1 #aqi_location_enabled = 1 #--- Earthquake Options --- earthquake_enabled = 0 #earthquake_maxradiuskm = 300 #earthquake_stale = 10700 #earthquake_server = USGS #geonet_mmi = 4 #--- Social Options --- facebook_enabled = 0 twitter_enabled = 0 twitter_owner = "you" twitter_hashtags = "weewx #weather" social_share_html = "https://www.your-domain-name.com" twitter_text = "Check out my website: your-domain-name.com" #------------------------------------------------------------- #--- #--- python's ConfigObj has a limitation in how it processes #--- comments, so we need to define an 'unused' variable below #--- to ensure that this whole stanza makes it into weewx.conf #--- #--- please ignore the following 'unused' variable #--- #------------------------------------------------------------- work_around_ConfigObj_limitations = true ... ############################################################################## [DeutscherWetterdienst] [[warning]] icons='../dwd/warn_icons_50x50' # states='AB' # [[[counties]]] # 'Whitecourt' = 'TB' # [[[cities]]] # 'Whitecourt' = 'TB' [[Belchertown]] section = Belchertown warnings = None forecast = openmeteo-48.372--89.3115-gem # forecast = openmeteo-48.22-89.19-gem compass_lang = 'en' [WeatherServices] path='/home/weewx/skins/Belchertown/dwd' [[current]] [[[ThisStation]]] # actual readings out of the forecast for the location of this stat> enabled = True # prefix = om debug = 3 log_success = True log_failure = True provider = Open-Meteo [[forecast]] icons='home/weewx/skins/Belchertown/images' orientation=h,v #show_obs_symbols = True # optional #show_obs_description = False # optional #show_placemark = True # optional # warnings [[warning]] # examples [[[1]]] provider = MSC # Canada office = 048100 # Code of the issuing office (try without if unsure) county = 'Thunder Bay' file = warn_try ############################################################################# Hope someone can help. Thanks Jim -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/7bb41a4f-0feb-4aed-a3e9-30481d149ecbn%40googlegroups.com.
