Git Product home page Git Product logo

weewx-wdc's People

Contributors

bidord avatar c0by85 avatar daveiano avatar dependabot[bot] avatar hoetzgit avatar iiseppi avatar nifoc avatar rromanchuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

weewx-wdc's Issues

Dark mode support

Hello, will there be support for a dark mode in weewx-wdc?
Can you adjust the colors by hand so that the skin is displayed in the dark?

Kind regards
Pascal

"About" Page with User provided content

Feedback from https://groups.google.com/g/weewx-user/c/sDK4kzO4vBw/m/3eQRnrdMAwAJ

I mean kind of like the "about" page on the fuzzy-archer skin, where one can put custom content in it, as it seems there can be more than 1 additional page and menu entry. I'm not sure how it's done, if the page content is written in the skin config directly or if it somehow embeds an additional html page into the content area(?)

Sounds like a good addition. One could also provide pictures of the station or extreme weather events or whatever. This would personalize the skin for each user, definitely a good Addition.

ERROR weewx.cheetahgenerator: **** Reason: '>=' not supported between instances of 'NoneType' and 'float'

May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added record 2022-05-28 12:35:00 EDT (1653755700) to database 'weewx.sdb'
May 28 12:35:16 raspberrypi weewx[8931] INFO weewx.manager: Added record 2022-05-28 12:35:00 EDT (1653755700) to daily summary in 'weewx.sdb'
May 28 12:35:20 raspberrypi weewx[8931] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.54 seconds
May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.95 seconds
May 28 12:35:21 raspberrypi weewx[8931] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed with exception '<class 'TypeError'>'
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/weewx-wdc/year-%Y.html.tmpl
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: **** Reason: '>=' not supported between instances of 'NoneType' and 'float'
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****  Traceback (most recent call last):
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****      unicode_string = compiled_template.respond()
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_weewx_wdc_year__Y_html_tmpl.py", line 183, in respond
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in _handleCheetahInclude
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 277, in respond
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 106, in __errorCatcher6
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "<string>", line 1, in <module>
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/user/stats_util.py", line 175, in get_climatological_day
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****      return len(list(days))
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/user/stats_util.py", line 173, in <lambda>
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****      days = filter(lambda x: x.raw >= value, list(day_series.data))
May 28 12:35:23 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****  TypeError: '>=' not supported between instances of 'NoneType' and 'float'
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl failed with exception '<class 'TypeError'>'
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/weewx-wdc/statistics.html.tmpl
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: **** Reason: '>=' not supported between instances of 'NoneType' and 'float'
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****  Traceback (most recent call last):
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 348, in generate
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****      unicode_string = compiled_template.respond()
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_weewx_wdc_statistics_html_tmpl.py", line 191, in respond
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "/usr/lib/python3/dist-packages/Cheetah/Template.py", line 1707, in _handleCheetahInclude
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****      self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 277, in respond
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "_etc_weewx_skins_weewx_wdc_includes_climatological_days_inc.py", line 106, in __errorCatcher6
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "<string>", line 1, in <module>
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/user/stats_util.py", line 175, in get_climatological_day
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****      return len(list(days))
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****    File "/usr/share/weewx/user/stats_util.py", line 173, in <lambda>
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****      days = filter(lambda x: x.raw >= value, list(day_series.data))
May 28 12:35:35 raspberrypi weewx[8931] ERROR weewx.cheetahgenerator: ****  TypeError: '>=' not supported between instances of 'NoneType' and 'float'
May 28 12:35:35 raspberrypi weewx[8931] INFO weewx.cheetahgenerator: Generated 9 files for report WdcReport in 14.05 seconds
May 28 12:35:35 raspberrypi weewx[8931] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/wdc

Original issue posted on https://groups.google.com/g/weewx-user/c/sDK4kzO4vBw/m/6IyK1zXTAgAJ

Make diagrams configurable per context (per period) / Refactor diagrams configuration

Currently, the skin only allows to define the diagrams once, this definition is then used on all pages (index, week, month, year, statistics). So it is not possible to show a specific diagram e.g. the outTemp min/max/avg diagram only on the statistics page. Every diagram is shown everywhere.

This should be configurable like in the default seasons skin [ImageGenerator] section:

[[day_images]]
        x_label_format = %H:%M
        bottom_label_format = %x %X
        time_length = 97200 # 27 hours
        
        [[[daybarometer]]]
            [[[[barometer]]]]
        
        [[[daytempdew]]]
            [[[[outTemp]]]]
            [[[[dewpoint]]]]
...
[[week_images]]
        x_label_format = %d
        bottom_label_format = %x %X
        time_length = 604800 # 7 days
        aggregate_type = avg
        aggregate_interval = hour
        
        [[[weekbarometer]]]
            [[[[barometer]]]]
        
        [[[weektempdew]]]
            [[[[outTemp]]]]
            [[[[dewpoint]]]]
...

Things to consider
- Refactor getDiagramProps methods to use weeutil.config.accumulateLeaves and search_up
- Expose enableArea and areaOpacity in skin.conf for diagrams

Related issues:
#25
#71
#75

Time is Not Correct In All Data

I notice the time displayed for All Data is off by 2 hours.
It is correct elsewhere (under current weather conditions, forecasts, etc)

No idea why it is 2 hours off (early, 9:40 AM is listed as 7:40 AM) it would be a DST thing with a 2 hour difference.

NWS Forecast?

I see the WU forecast is predefined, how can I change to the NWS forecast?

Grafik Bodenfeuchte

Es sind bei mir die Sensoren soilMoist1 und soilMoist2 belegt. Beide liefern Werte aus, die auch nummerisch in der linken Spalte dargestellt werden. Nun möchte ich dies auch grafisch darstellen.
Hierzu habe ich die skin.conf wie folgt erweitert:
[[[[soilMoist]]]]
label = 'Bodenfeuchte'
pointSize = 3
[[[[[obs]]]]]
[[[[[[soilMoist1]]]]]]
observation = "soilMoist1"
aggregate_type = "max"
color = '#610000'
[[[[[[soilMoist2]]]]]]
observation = "soilMoist2"
aggregate_type = "max"
color = '#410000'
Leider wird nichts angezeigt.
Wo liegt mein Denkfehler / was habe ich falsch gemacht?
Danke

Small adjustments / optimizations

  • Add active state to UI shell links
  • Refactor SLE's
  • Footer padding mobile
  • Github icon link in Footer
  • Tooltip date format for different Time periods
  • Add logo

chore: Error when using parcel in build mode

Currently parcel runs in build mode with the --no-scope-hoist flag. Bundle size goes to 5MB instead of 600KB because of this. Otherwise the radiation and wind direction diagrams throw a "Maximum call size stack exceeded error".

Show weather data for a specific day

Is your feature request related to a problem? Please describe.
No only a Feature Request

Describe the solution you'd like
If I go to statistics, the entire data period is currently displayed.

I would like to change the dates above to see a specific day. So I can also see the high/low temp, wind data, rain etc... from that specific day that I have selected.

grafik

Typo de.conf Line 106

Hi,

de.conf Line 106:

All Time Stats = Statistik gesamter Zeitram

should be:

All Time Stats = Statistik gesamter Zeitraum

Grüße
Henry

Forecast Min/Max

The min max for temp on the WU forecast looks odd and is not needed as the larger and smaller different color numbers in the forecast should be self explanatory.

example-3

Running wee_reports takes forever when there is not enough weather data

Hello, everyone,

when I want to install the weewx-wdc skin I get the following error message:


root@weewx:/home/pi# wee_extension --install= /home/pi/weewx-wdc-v2.0.1.zip
Traceback (most recent call last):
  File "/usr/share/weewx/wee_extension", line 92, in <module>
    main()
  File "/usr/share/weewx/wee_extension", line 65, in main
    config_path, config_dict = weecfg.read_config(options.config, _args)
  File "/usr/share/weewx/weecfg/__init__.py", line 143, in read_config
    config_dict = configobj.ConfigObj(config_path,
  File "/usr/lib/python3/dist-packages/configobj.py", line 1229, in __init__
    self._load(infile, configspec)
  File "/usr/lib/python3/dist-packages/configobj.py", line 1287, in _load
    content = self._handle_bom(content)
  File "/usr/lib/python3/dist-packages/configobj.py", line 1437, in _handle_bom
    return self._decode(infile, self.encoding)
  File "/usr/lib/python3/dist-packages/configobj.py", line 1517, in _decode
    infile[i] = line.decode(encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb8 in position 11: invalid start byte

I tried the zip from the installation guide and the zip from the release tab.

Any idea why this isn't working?

Kind regards
Pascal

Weather forecast is not displayed

I have installed the Weather Forcast Plugin and configured it with Weather Underground. If I call up the forecast website by hand, I can already see the weather forecast, but the skin doesn't show it to me even after reload

skin.conf:

    [[forecast_zambretti]]
        enable = True

    [[forecast_table_settings]]
        source = WU
        num_periods = 72
        num_days = 5
        show_legend = 1
        show_hourly = 0
        show_day = 1
        show_date = 1
        show_outlook = 1
        show_temp = 1
        show_dewpoint = 0
        show_humidity = 0
        show_wind = 1
        show_tides = 0
        show_sun = 1
        show_moon = 1
        show_pop = 1
        show_precip = 1
        show_obvis = 0


weewx.conf:

[Forecast]
    data_binding = forecast_binding
    [[XTide]]
        location = Reichelsheim Odenwald
    [[Zambretti]]
        hemisphere = NORTH
    [[NWS]]
        lid = "INSERT_LOCATION_ID_HERE (e.g., MAZ014)"
        foid = "INSERT_FORECAST_OFFICE_ID_HERE (e.g., BOX)"
    [[WU]]
        api_key = fsdfij3jfdsfsdfsdfsfdsdffsdfsdfsdfsfs
        geocode = "49.71,8.84"
    [[OWM]]
        api_key = INSERT_OWM_API_KEY_HERE
    [[UKMO]]
        api_key = INSERT_UKMO_API_KEY_HERE
        location = INSERT_UK_LOCATION_HERE
    [[Aeris]]
        client_id = INSERT_AERIS_CLIENT_ID_HERE
        client_secret = INSERT_AERIS_CLIENT_SECRET_HERE
    [[WWO]]
        api_key = INSERT_WWO_API_KEY_HERE
    [[DS]]
        api_key = INSERT_DS_API_KEY_HERE

did I forget something?

Show time when the min / max was reached

I would find it very cool if I could still see when, for example, the maximum temperature was reached. This could be realised, for example, by a mini popup if you tap or hover on the min / max value

Excuse me if I'm too annoying 😉

image

Kind regards
Pascal

Customisation

Collection of issues/suggestions for making the skin more customizable.

Bar / Line chart update

  • [Bar/Line] check aggregate_interval for month and year
  • [Bar/Line] calculate aggregate_interval for all_time
  • Check responsive labels (useMediaQuery()?)

See diagram_util.py method get_aggregate_interval

...
if precision == 'alltime':
    if observation == 'ET' or observation == 'rain':
        return 3600 * 432  # 8 days
...

[BUG] Move programmatically set yScaleMin, yScaleMax and yScaleOffset to skin.conf

Describe the bug
Follow up of #49. There are still some programmatically set default values for yScaleMin, yScaleMax and yScaleOffset. Some of these default values lead to unpredictable results for the end-user not being aware of the specific set values. For example, humidity has a programmatically set yScaleMin = 0 and yScaleMax = 103, which makes it impossible for the user to set a custom yScaleOffset, because it is ignored when a yScaleMin or yScaleMax is set.

Additional context
https://groups.google.com/g/weewx-user/c/L0IlIQmpa-8/m/TGKseZddBAAJ

Long generation time

The report takes very long to finish. On my Personal RPI 4b (2GB Ram) it takes ~ 50s (Data going back to March 2021, so 16 months of data).

Feedback from https://groups.google.com/g/weewx-user/c/sDK4kzO4vBw/m/RodvkIBoAwAJ

Ran this on my test rpi (simulator mode) with data going back to late Dec 2021. Took about ~70 secs to generate WdcReport. I copied over my up weewx db (data from mid 2020 to present) and it takes about ~180 sec to generate a WdcReport. Any ways to optimize the reports to get the report generation time down? For comparison, takes less than a sec for SeasonsReport.

root@ac95b51595a5:/home/weewx# time ./bin/wee_reports 
Using configuration file /home/weewx/weewx.conf
Generating for all time

real	0m50.115s
user	0m42.035s
sys	0m8.065s

Disabling the tables reduces the time to ~ 1/4:

root@ac95b51595a5:/home/weewx# time ./bin/wee_reports 
Using configuration file /home/weewx/weewx.conf
Generating for all time

real	0m10.339s
user	0m8.465s
sys	0m1.865s

Disabling only the table on statistics.html.tmpl:

root@ac95b51595a5:/home/weewx# time ./bin/wee_reports 
Using configuration file /home/weewx/weewx.conf
Generating for all time

real	0m20.372s
user	0m17.408s
sys	0m2.952s

After feedback from https://groups.google.com/g/weewx-development/c/myXrSc1OVQk/m/UtQiiSDIAwAJ:

root@ac95b51595a5:/home/weewx# time ./bin/wee_reports 
Using configuration file /home/weewx/weewx.conf
Generating for all time

real	0m27.106s
user	0m24.870s
sys	0m2.204s

Show Yesterday in the top bar

It would be very nice if I could go back one day and look at yesterday's values.

Or is this already possible? But i don't see the Button?

No module named 'user.forecast'

First of all, nice work! Really nice looking skin :)

Followed the installation instructions but got this issue

Jul 12 18:12:51 weather weewx[1758] DEBUG weewx.cheetahgenerator: Using search list ['user.general_util.GeneralUtil', 'user.stats_util.StatsUtil', 'user.diagram_util.DiagramUtil', 'user.celestial_util.CelestialUtil', 'user.archive_util.ArchiveUtil', 'user.table_util.TableUtil', 'user.forecast_util.ForecastUtil', 'weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.cheetahgenerator.CheetahGenerator'
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****  No module named 'user.forecast'
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****  Traceback (most recent call last):
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 197, in run
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****      obj.start()
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/reportengine.py", line 385, in start
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****      self.run()
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 166, in run
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****      self.init_extensions(gen_dict[section_name])
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 197, in init_extensions
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****      klass = weeutil.weeutil.get_object(x)
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/weeutil/weeutil.py", line 1150, in get_object
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****      mod = __import__(module)
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****    File "/usr/share/weewx/user/forecast_util.py", line 2, in <module>
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****      from user.forecast import ForecastVariables
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****  ModuleNotFoundError: No module named 'user.forecast'
Jul 12 18:12:51 weather weewx[1758] ERROR weewx.reportengine:         ****  Generator terminated

I resolved by removing the part about forecast generation, i.e. 'user.forecast_util.ForecastUtil', and it is working. However, I think this is unexpected behaviour due to some mistake in the installation. Do you have any idea what the issue is?

Add support for weewx-DWD

Add support for various data generated by https://github.com/roe-dl/weewx-DWD

Research

Output from wget-dwd:

bwk_bodendruck_na_ana.png - Pressure map north atlantic
bwk_bodendruck_weu_ana.png - Pressure map west Europe
SchilderLZ.jpg - Warning map
VHDL[50-54]_DWLG_LATEST.html - Forecast as text. Where DLWG in the filename is the counties, see https://github.com/roe-dl/weewx-DWD/wiki/Abk%C3%BCrzungen-der-Bundesl%C3%A4nder-beim-Deutschen-Wetterdienst

Output from dwd-warnings:

warn-[BBL].inc - Warnings as includable tamplate
warn-[BBL].json - Warnings as json
Where [BBL] comes from the weewx.conf:

[DeutscherWetterdienst]
    path='/home/dba/dev/test'
    [[warning]]
        icons='../dwd/warn_icons_50x50'
        states='Sachsen'
        [[[counties]]]
              'Kreis Bautzen - Tiefland'='BTL'
              'Kreis Bautzen - Bergland'='BBL'
        [[[cities]]]
              'Dresden'='DD'

Output from ./dwd-cap-warnings --weewx --resolution=city:

warn-[DD].inc and warn-[DD].json - Same as dwd-warnings but for the cities

dwd-warnings Icons https://www.dwd.de/DE/wetter/warnungen_aktuell/kriterien/warnkriterien.html

Output from ./dwd-mosmix --weewx --daily --hourly O461:

Where O461 is the station id, see https://www.dwd.de/DE/leistungen/met_verfahren_mosmix/mosmix_stationskatalog.cfg?view=nasPublication&nn=16102
forecast-O461.inc - Forecast for station id as includable template
forecast-O461.json - - Forecast for station id as json
forecast-O461-hourly.inc - hourly forecast for station id as an includable template

Output from ./dwd-mosmix --weewx --daily --hourly --database O461

dwd-forecast-O461.sdb - The forecast data as SQLite

dwd-mosmix Icons
https://www.dwd.de/DE/wetter/warnungen_aktuell/objekt_einbindung/icons/zuordnung_begriffe_wettericons.pdf;jsessionid=E1457BFD01B4C5DA438980E7DC67CEE6.live11042?__blob=publicationFile&v=2
https://www.dwd.de/DE/wetter/warnungen_aktuell/objekt_einbindung/piktogramm_node.html

dwd-mosmix needs this in weewx.conf

[DeutscherWetterdienst]
    [[forecast]]
        icons='../images'
        orientation=h,v
        #show_obs_symbols = True # optional
        #show_obs_description = False # optional
        #show_placemark = True # optional
  • Images (pressure, warnings)
  • Forecast as text (VHDL files)
  • dwd Warnings
  • Forecast mosmix
  • Forecast mosmix hourly
  • Document
  • Test (add good example output from weewx-DWD to test/ folder and add to Dockerfile, use in custom run)

Make aggregate_interval configurable for charts / tables

The aggregate_interval should also be configurable just like the aggregate_type.

BUT this needs to be configurable per Context (Current, week, month, year, all-time).

  • aggregate_interval configurable for diagrams
    aggregate_type configurable for tables
  • aggregate_interval configurable for tables
  • Test aggregate_interval/aggregate_type on combined & single diagrams & tables
  • Add to wiki

https://groups.google.com/g/weewx-user/c/L0IlIQmpa-8/m/kt3uMVYLAQAJ

Provide a more Weewx like layout

The original discussion started here: https://groups.google.com/g/weewx-user/c/sDK4kzO4vBw/m/JOsVDEeyAwAJ

Provide a layout to view current conditions / graphs at a glance

If so, yeah maybe you can do something with the spacing or the possibility to move "current weather conditions" into the left menu like sort of a widget, but to only show the graphs in the content area or the possibility to prioritize them. As an optional skin setting for example.

This would be like you said: Current conditions on the left and graphs on the right. One could then switch between a "Classic" and "Alternative" Layout via skin.conf.

  • classic vs alternative switch in skin.conf
  • possibility to hide the tables

ERROR cannot find 'dewPoint'

Hello, I have installed the skin (v1.3.3) but I always get these errors:

Jul 28 13:15:17 weewx[17] INFO weewx.manager: Added record 2022-07-28 13:15:00 CEST (1659006900) to daily summary in 'weewx.sdb'
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: Evaluation of template /home/weewx/skins/weewx-wdc/month-%Y-%m.html.tmpl failed.
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Ignoring template /home/weewx/skins/weewx-wdc/month-%Y-%m.html.tmpl
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'dewPoint'
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: Evaluation of template /home/weewx/skins/weewx-wdc/year-%Y.html.tmpl failed.
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Ignoring template /home/weewx/skins/weewx-wdc/year-%Y.html.tmpl
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'dewPoint'
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: Evaluation of template /home/weewx/skins/weewx-wdc/index.html.tmpl failed.
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Ignoring template /home/weewx/skins/weewx-wdc/index.html.tmpl
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'dewPoint'
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: Evaluation of template /home/weewx/skins/weewx-wdc/week.html.tmpl failed.
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Ignoring template /home/weewx/skins/weewx-wdc/week.html.tmpl
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'dewPoint'
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: Evaluation of template /home/weewx/skins/weewx-wdc/month.html.tmpl failed.
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Ignoring template /home/weewx/skins/weewx-wdc/month.html.tmpl
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'dewPoint'
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: Evaluation of template /home/weewx/skins/weewx-wdc/year.html.tmpl failed.
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Ignoring template /home/weewx/skins/weewx-wdc/year.html.tmpl
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'dewPoint'
Jul 28 13:15:17 weewx[17] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Jul 28 13:15:18 weewx[17] ERROR weewx.cheetahgenerator: Evaluation of template /home/weewx/skins/weewx-wdc/statistics.html.tmpl failed.
Jul 28 13:15:18 weewx[17] ERROR weewx.cheetahgenerator: **** Ignoring template /home/weewx/skins/weewx-wdc/statistics.html.tmpl
Jul 28 13:15:18 weewx[17] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'dewPoint'
Jul 28 13:15:18 weewx[17] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Jul 28 13:15:18 weewx[17] INFO weewx.cheetahgenerator: Generated 3 files for report WdcReport in 0.76 seconds
Jul 28 13:15:18 weewx[17] INFO weewx.reportengine: Copied 0 files to /home/weewx/public_html

Is it a skin or an weewx issue? Thank you

Specify data_binding on a per tile basis

Is your feature request related to a problem? Please describe.

As far as I'm aware, the skin currently always uses the same data_binding. In practice this means that it can only display data stored in the default (wx_binding) database.

Some plugins (e.g. weewx-aqi)store their data in a separate database, which - as far as I know - can currently not be queried/displayed.

Describe the solution you'd like

Introduce a data_binding attribute (like in the weewx default skin.conf) that can be used to specify the "source" of a specific field.

This should work with stat and diagram tiles (I personally don't use the table and I imagine it would be harder to make it work with that tile type, too).

Describe alternatives you've considered

N/A

Additional context

weewx DataBindings docs
weewx Data Bases docs
weewx DataBinding programming interface
weewx Multiple bindings docs

Update without losing skin.conf (update-script)

if I update the skin, I have to uninstall it and then reinstall it. So my question is, can you build an update script that saves the skin.conf, then installs the update and restores the skin.conf? But that would only work if you didn't change anything in the skin.conf in the course of an update. Otherwise the skin.conf would not be suitable for the new version.

If that were possible, the weather forecast and the radar images would not have to be reimplemented with every update.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.