daveiano / weewx-wdc Goto Github PK
View Code? Open in Web Editor NEWWeather Data Center skin for WeeWX
Home Page: https://www.weewx-hbt.de/
License: GNU General Public License v3.0
Weather Data Center skin for WeeWX
Home Page: https://www.weewx-hbt.de/
License: GNU General Public License v3.0
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
Hi, there is still a little problem with the year-month list in the navigation bar. When choosing any month, the last year (2022) is not visible anymore in the navigation bar.
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.
Jest + JSDOM
Playwright
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
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
Running WeeWX 4.8.0 installed via setup.py
Downloaded v2.0.0 attempted to install, receive the following error from wee_install
`wget https://github.com/Daveiano/weewx-wdc/releases/download/v2.0.0/weewx-wdc-v2.0.0.zip
2022-07-31 20:17:12 (1.62 MB/s) - ‘weewx-wdc-v2.0.0.zip’ saved [790832/790832]
weecfg.extension.InstallError: Unable to install from '/tmp/weewx-wdc-v2.0.0.zip'
: no common path (the extension archive contains more than a single root directory)`
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.
Refactor all SLEs into one module.
I see the WU forecast is predefined, how can I change to the NWS forecast?
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
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".
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.
Hi,
de.conf
Line 106
:
All Time Stats = Statistik gesamter Zeitram
should be:
All Time Stats = Statistik gesamter Zeitraum
Grüße
Henry
I see no need for max and min values for direction.
Can this be removed in the default install config?
If not, how can I remove the display of it?
When accessing the page via a subfolder, the paths are wrong:
http://localhost/plotly-custom-build.min.js
http://localhost/dist/main.css
http://localhost/service-worker.js
It should be:
http://localhost/subfolder/plotly-custom-build.min.js
http://localhost/subfolder/dist/main.css
http://localhost/subfolder/service-worker.js
See for the complete discussion: https://groups.google.com/g/weewx-user/c/sDK4kzO4vBw/m/0VcxOOMjAAAJ
Windrose in Stat tile
Dedicated wind rose diagram
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
Used https://github.com/chaunceygardiner/weewx-forecast/ instead of https://github.com/matthewwall/weewx-forecast because of this Bug in the original Repo: matthewwall/weewx-forecast#7
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?
WeeWx implementation: https://www.weewx.com/docs/customizing.htm#Image_files
The option is a 3-way tuple (ylow, yhigh, min_interval), where ylow and yhigh are the minimum and maximum y-axis values, respectively, and min_interval is the minimum tick interval. If set to None, the corresponding value will be automatically chosen.
yscale = None, None, 0.02
I don't know if it is by design or if it is a bug, but when one navigate to a given month - for instance March 2021 on your site - the 2022 year and months are no more shown in the left navigation bar, and it is therefore not possible to select and load directly to any month of 2022.
https://groups.google.com/g/weewx-user/c/sDK4kzO4vBw/m/w7LE-eRZBgAJ
precip
and pop
pop
and precip
into daily iconCollection of issues/suggestions for making the skin more customizable.
See diagram_util.py
method get_aggregate_interval
...
if precision == 'alltime':
if observation == 'ET' or observation == 'rain':
return 3600 * 432 # 8 days
...
temp
and rain
or sunshineDur
, relevant for #25 )Structured list for all-time stats
Add configuration with skin.conf
Check height for mobile
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
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
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?
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?
Sometimes or for some breakpoints (3 diagrams in a row) it would be useful to show diagrams in full screen (or at least full width).
Possible ideas:
Add support for various data generated by https://github.com/roe-dl/weewx-DWD
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
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'
./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
./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
./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
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).
https://groups.google.com/g/weewx-user/c/L0IlIQmpa-8/m/kt3uMVYLAQAJ
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.
Per default windDir only has a value if there is also windSpeed present.
This leads to wind direction diagram not showing on index page if there is no windSpeed in $current.
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
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
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.
Table header: Außentemperatur instead of Außentemperatur
Table Footer: 1–10 of 12 items
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.