Releases: Daveiano/weewx-wdc
v3.5.1
- Bugfix: Reason: '<' not supported between instances of 'NoneType' and 'float' in the skins/weewx-wdc/year-%Y.html.tmpl file GH-256
- Bugfix: Stat tile on page Today using custom data binding does not appear if the same observation does not exist in main data binding GH-258
Known Issues
- GH-181 [BUG] xAxis: Date mismatch in combined charts. Especially when using cumulative aggregation. Feel free to comment if you have more infos, or also noticed this issue.
New Contributors
Full Changelog: v3.5.0...v3.5.1
v3.5.0
- Bugfix: Fixed "ValueError: could not convert string to float" in forecast, introduced in GH-191
- Bugfix: Added missing
nl.conf
ininstall.py
GH-221 - Bugfix: Fixed Gauge tiles daily reset (via MQTT)
- Bugfix: year-%Y.html.tmpl fails when changing group_speed to knots in weewx.conf GH-239
- Bugfix: Translation Footer Text 'This station is controlled by...' GH-238
- Bugfix: Fix page title in dwd.html.tmpl GH-246
- Bugfix: Fix page title in externals.html.tmpl GH-244
- Open Webcam Links/Stat Tile links in a Modal GH-220
- Bugfix: Max Rain Rate Does Not Reset GH-224
- Added MQTT connection with username/password GH-225
- Added finnish translation GH-230
- Added "Precipitation detail" on forecast display (show rain/snow separately) GH-231
- Allow to add custom content to front page via custom templates GH-217
- Updated windGust display in forecast table GH-240
- Updated sorting of min/max graphs in the
temp_min_max_avg
graph GH-247 - Added new property for charts:
legendPosition
- Change legend position GH-228 - Added option to set default theme (light/dark/auto) GH-241
- Added per-month statistic tables GH-215
- Added
windRose_legend_show_units
to hide the units in the windRose legend, addedhide_tick_unit
for gauges GH-249 - Added colored Temperature GH-243
Changes made to skin.conf since 3.4.0
Diff
diff --git a/skins/weewx-wdc/skin.conf b/skins/weewx-wdc/skin.conf
index 465d4ad..aa8bad6 100644
--- a/skins/weewx-wdc/skin.conf
+++ b/skins/weewx-wdc/skin.conf
@@ -1,6 +1,6 @@
# configuration file for the weewx-wdc skin
SKIN_NAME = Weather Data Center
-SKIN_VERSION = 3.4.0
+SKIN_VERSION = 3.5.0
# For instructions, see https://github.com/Daveiano/weewx-wdc/wiki/Custom-data-bindings
[ObservationBindings]
@@ -30,9 +30,13 @@ SKIN_VERSION = 3.4.0
# The radar code. Full html allowed.
#radar_html = ''
+
# The Foreacst/Radar/Webcam section heading.
#forecast_radar_heading = "Forecast & Recent radar"
+ # Open the radar and external images/videos in a modal.
+ open_radar_and_externals_modal = False
+
# Set to True to have the Forecast tile and the radar/externals tile to have the same width.
# Default is forecast = 2/3 and radar tile = 1/3.
forecast_radar_equal_width = False
@@ -44,6 +48,8 @@ SKIN_VERSION = 3.4.0
mqtt_websockets_port = 9001
mqtt_websockets_ssl = 0
mqtt_websockets_topic = "weather/loop"
+ mqtt_websockets_username = ""
+ mqtt_websockets_password = ""
# For instructions, see https://github.com/Daveiano/weewx-wdc/wiki/Webcams-and-Externals-Page
# Include various external sources (eg. webcams) here.
@@ -79,6 +85,7 @@ SKIN_VERSION = 3.4.0
show_moon = 1
show_pop = 1
show_precip = 1
+ show_precip_detail = 1
# For instructions, see https://github.com/Daveiano/weewx-wdc/wiki/Support-for-weewx-DWD
#[[weewx-DWD]]
@@ -110,6 +117,9 @@ SKIN_VERSION = 3.4.0
# 'alternative' or 'classic'.
layout = 'alternative'
+ # 'auto', 'light' or 'dark'.
+ default_theme = 'auto'
+
# Date/Time localization for charts. Available locales: de-DE, en-US, en-GB, it-IT, nl-NL.
# If not set, the value from weewx.conf (reports section) will be used. If lang = en, then en-US will be used (sorry GB!).
#date_time_locale = en-US
@@ -139,6 +149,12 @@ SKIN_VERSION = 3.4.0
show_min_max_time_week = False
show_min_max_time_month = False
+ # Color the outTemp stat tile based on the temperature. Only available for alternative layout.
+ outTemp_stat_tile_color = False
+ outTemp_stat_tile_color_transparency = 0.35
+ outTemp_stat_tile_color_min = -20
+ outTemp_stat_tile_color_max = 40
+
# windDir as oridnals (N, E, S, W).
stat_tile_winddir_ordinal = True
diagram_tile_winddir_ordinal = True
@@ -146,6 +162,7 @@ SKIN_VERSION = 3.4.0
# Windrose.
windRose_colors = "#f3cec9", "#e7a4b6", "#cd7eaf", "#a262a9", "#6f4d96", "#3d3b72"
windRose_show_beaufort = True
+ windRose_legend_show_units = True
# Climatogram on year and statistics pages.
climatogram_enable_stats = True
@@ -183,6 +200,7 @@ SKIN_VERSION = 3.4.0
color_scheme = interpolateRdBu
invert_color_scheme = 1
show_min_max = 1
+ hide_tick_unit = 0
# For instructions, see https://github.com/Daveiano/weewx-wdc/wiki/Support-for-weewx-xaggs
# ONLY enable these if you have weewx-xaggs installed!
@@ -201,6 +219,17 @@ SKIN_VERSION = 3.4.0
#[[Rounding]]
#dewpoint = 3
+ # For instructions, see https://github.com/Daveiano/weewx-wdc/wiki/Configuration#stat_tables
+ [[stat_tables]]
+ [[[tables_outtemp]]]
+ observation = "outTemp"
+ label = "Temperature Stat Table"
+ aggregate_types = "min", "avg", "max"
+ [[[tables_rain]]]
+ observation = "rain"
+ label = "Rain Stat Table"
+ aggregate_types = "sum", "avg"
+
[[tables]]
#[[[Rounding]]]
#outTemp = 3
@@ -251,18 +280,18 @@ SKIN_VERSION = 3.4.0
markerValue = 0
markerColor = "#00BFFF"
[[[[[obs]]]]]
- [[[[[[outTemp_min]]]]]]
+ [[[[[[outTemp_max]]]]]]
observation = "outTemp"
- aggregate_type = "min"
- color = "#0198E1"
+ aggregate_type = "max"
+ color = "#8B0000"
[[[[[[outTemp_average]]]]]]
observation = "outTemp"
aggregate_type = "avg"
color = "#666666"
- [[[[[[outTemp_max]]]]]]
+ [[[[[[outTemp_min]]]]]]
observation = "outTemp"
- aggregate_type = "max"
- color = "#8B0000"
+ aggregate_type = "min"
+ color = "#0198E1"
[[[[tempdew]]]]
label = 'Temperature / Dewpoint'
@@ -314,6 +343,7 @@ SKIN_VERSION = 3.4.0
areaOpacity = 0.07
# @see https://github.com/Daveiano/weewx-wdc/wiki/Configuration#diagrams, at "curve".
curve = "natural"
+ legendPosition = "top right"
[[[bar]]]
enableLabel = False
isInteractive = True
@@ -660,7 +690,7 @@ SKIN_VERSION = 3.4.0
daily_archive = %Y-%m-%d
[CopyGenerator]
- copy_once = dist/main.js, dist/main.css, plotly-custom-build.min.js, dist/live-updates.js, favicon.ico, icon-192x192.png, icon-256x256.png, icon-384x384.png, icon-512x512.png, service-worker.js, dist/assets
+ copy_once = dist/main.js, dist/main.css, plotly-custom-build.min.js, dist/live-updates.js, dist/colored-temperature.js, favicon.ico, icon-192x192.png, icon-256x256.png, icon-384x384.png, icon-512x512.png, service-worker.js, dist/assets
# copy_always =
[Generators]
Known Issues
- GH-181 [BUG] xAxis: Date mismatch in combined charts. Especially when using cumulative aggregation. Feel free to comment if you have more infos, or also noticed this issue.
New Contributors
Full Changelog: v3.4.0...v3.5.0
v3.5.0-beta1
v3.5.0-beta1
Pre-release for testing, not production ready!
- Bugfix: Fixed "ValueError: could not convert string to float" in forecast, introduced in GH-191
- Bugfix: Added missing
nl.conf
ininstall.py
GH-221 - Bugfix: Fixed Gauge tiles daily reset (via MQTT)
- Bugfix: year-%Y.html.tmpl fails when changing group_speed to knots in weewx.conf GH-239
- Bugfix: Translation Footer Text 'This station is controlled by...' GH-238
- Bugfix: Fix page title in dwd.html.tmpl GH-246
- Bugfix: Fix page title in externals.html.tmpl GH-244
- Open Webcam Links/Stat Tile links in a Modal GH-220
- Bugfix: Max Rain Rate Does Not Reset GH-224
- Added MQTT connection with username/password GH-225
- Added finnish translation GH-230
- Added "Precipitation detail" on forecast display (show rain/snow separately) GH-231
- Allow to add custom content to front page via custom templates GH-217
- Updated windGust display in forecast table GH-240
- Updated sorting of min/max graphs in the
temp_min_max_avg
graph GH-247 - Added new property for charts:
legendPosition
- Change legend position GH-228 - Added option to set default theme (light/dark/auto) GH-241
- Added per-month statistic tables GH-215
- Added
windRose_legend_show_units
to hide the units in the windRose legend, addedhide_tick_unit
for gauges GH-249 - Added colored Temperature GH-243
New Contributors
Full Changelog: v3.4.0...v3.5.0-beta1
v3.5.0-alpha2
v3.5.0-alpha2
Pre-release for testing, not production ready!
- Bugfix: Fixed "ValueError: could not convert string to float" in forecast, introduced in GH-191
- Bugfix: Added missing
nl.conf
ininstall.py
GH-221 - Bugfix: Fixed Gauge tiles daily reset (via MQTT)
- Bugfix: year-%Y.html.tmpl fails when changing group_speed to knots in weewx.conf GH-239
- Bugfix: Translation Footer Text 'This station is controlled by...' GH-238
- Bugfix: Fix page title in dwd.html.tmpl GH-246
- Bugfix: Fix page title in externals.html.tmpl GH-244
- Open Webcam Links/Stat Tile links in a Modal GH-220
- Bugfix: Max Rain Rate Does Not Reset GH-224
- Added MQTT connection with username/password GH-225
- Added finnish translation GH-230
- Added "Precipitation detail" on forecast display (show rain/snow separately) GH-231
- Allow to add custom content to front page via custom templates GH-217
- Updated windGust display in forecast table GH-240
- Updated sorting of min/max graphs in the
temp_min_max_avg
graph GH-247 - Added new property for charts:
legendPosition
- Change legend position GH-228 - Added option to set default theme (light/dark/auto) GH-241
New Contributors
Full Changelog: v3.5.0-alpha1...v3.5.0-alpha2
v3.5.0-alpha1
v3.5.0-alpha1
Pre-release for testing, not production ready!
- Bugfix: Fixed "ValueError: could not convert string to float" in forecast, introduced in GH-191
- Bugfix: Added missing
nl.conf
ininstall.py
GH-221 - Bugfix: Fixed Gauge tiles daily reset (via MQTT)
- Open Webcam Links/Stat Tile links in a Modal GH-220
- Bugfix: Max Rain Rate Does Not Reset GH-224
- Added MQTT connection with username/password GH-225
Full Changelog: v3.4.0...v3.5.0-alpha1
v3.4.0
- Bugfix: base_path missing for NOAA Report HREF GH-184
- Bugfix: Removed accidentally added Climatogram on year and stats page
- Bugfix: Fixed encoding issue when using special chars in oridinate labels
- Bugfix: Wind and Gust speed have a space between unit and comma (and added missing apostrophe to Yesterday's and Today's) GH-200
- Bugfix: Division by zero in get_windrose_data GH-192
- Bugfix: Manifest.json does not use base_path GH-197
- Bugfix: Tool Tip out of Scope GH-194
- Bugfix: Observations with $current N/A values are not shown anymore in stat-tiles/conditions table on day page GH-188
- Bugfix: Day Mix/Max Values in Tiles Do Not reset at Midnight GH-198
- Bugfix: Fixed a bug where markers where not shown if multiple were added in a single unit chart GH-216
- Added
show_min_max
configuration to gauges config, added ordinal display for windDir gauge min/max - Only show 3 decimals for the geocode provided by weewx-forecast GH-191
- Make sidebar scrollable (if there are too many items) GH-193
- Make icon/logo user configurable GH-205
- Enhancement to the All Time Statistics: Show climatological days per month and per year. GH-196
- Added NL translation, thanks to user @dystechnic
- Added configurable 'Clickable' tiles GH-211
Changes made to skin.conf since 3.3.0
See v3.3.0...580071c#diff-ba225fb627dcbf577d0d1fde0f18d93e8e2cf2097c37086cd28ef23e8e7bd820 for a complete diff.
Known Issues
- GH-181 [BUG] xAxis: Date mismatch in combined charts. Especially when using cumulative aggregation. Feel free to comment if you have more infos, or also nooticed this issue.
Full Changelog: v3.3.0...v3.4.0
v3.3.0
-
Bugfix: Some observations with aggregate_imterval
sum
could be updated toNaN
via MQTT under some circumstances GH-166 -
Bugfix: Getting the chart properties if observation is not included in [diagrams] config GH-172
-
Bugfix: Minor Spelling Error on Some Tiles GH-168
-
Added/fixed some more translations (Chart legends, Stats page)
-
Bugfix: (MQTT) Wind Speed Direction and Wind Gust Direction are Equal/Change At Same Time GH-177
-
Support for weewx-cmon GH-169 (https://github.com/Daveiano/weewx-wdc/wiki/Support-for-weewx-cmon)
-
Add support for Classic layout on Sensor Status page
-
Added support for displaying observations in stat tiles (and batteries) that are not saved to DB (only available via the
$current
tag) GH-140 and https://groups.google.com/g/weewx-user/c/AwhvlJ-DRUQ/m/bzLWZV19DQAJ -
Add support for weewx-xaggs (configurable tiles to show historical data) GH-170 (https://github.com/Daveiano/weewx-wdc/wiki/Support-for-weewx-xaggs)
-
Extend Stats/Climatological days table. Added rain stats (last rain, most consecutive days of rain) GH-171
-
New Chart Type: Gauge GH-155 (https://github.com/Daveiano/weewx-wdc/wiki/Gauges)
-
Added support for custom XTypes (for charts) that need a **config_dict GH-180
-
Extended Webcams/Externals (see the updated wiki) GH-167
-
Attention: You need to update your skin.conf if you were using the webcams/externals:
Before:
[Extras] Include various external sources (eg. webcams) here. [[external_1]] source = '<img src="http://your-server.com/uploads/webcam01.jpg" />' title = Webcam 1 title_long = "Webcam 1, facing North"
After:
[Extras] # Include various external sources (eg. webcams) here. [[externals]] # description = 'This description will be shown at the Webcams/Externals page. [[[external_1]]] source = '<img src="http://your-server.com/uploads/webcam01.jpg" />' title = Webcam 1 title_long = "Webcam 1, facing North" description = 'The image is updated every 80 seconds, nighttime every 100 seconds.' show_on_front = True show_on_page = True
-
Changes made to skin.conf since 3.2.0
See v3.2.0...11eed6b#diff-ba225fb627dcbf577d0d1fde0f18d93e8e2cf2097c37086cd28ef23e8e7bd820 for a complete diff.
Known Issues
- GH-181 [BUG] xAxis: Date mismatch in combined charts. Especially when using cumulative aggregation. Feel free to comment if you have more infos, or also nooticed this issue.
Full Changelog: v3.2.0...v3.3.0
v3.2.0
- Bugfix: Adding 'Voltage' observations make icons disappear on today page GH-144
- Added default Translation of combined diagram labels GH-149
- Added Sensor Status Page GH-154 (https://github.com/Daveiano/weewx-wdc/wiki/Sensor-Status-Page)
- Combine rain and rainRate tile to get rid of $current.rain GH-147
- Add
color_dark
to diagrams config to allow explicitly set chart colors in dark mode GH-163 - Update of D3 charts / Remove nivo and switch to native D3.js charts GH-117
- Support yScaleMin, yScaleMax, offset, enableArea, areaOpacity, enablePoints, curve, pointSize and lineWidth on a per observation basis, not per chart
- Fixed legend position
- Markers for multi-unit charts
- Configurable Date/Time for Axis and tooltips
- Fixed strange looking Climatogram (buggy yScale) for short periods (< 2 years)
- Added Date/Time localization for charts
Changes made to skin.conf since 3.1.1
For a complete diff, please see:
v3.1.1...00c7935#diff-ba225fb627dcbf577d0d1fde0f18d93e8e2cf2097c37086cd28ef23e8e7bd820
What's Changed
- 154 sensor status page by @Daveiano in #157
- 147 stat sum obs by @Daveiano in #156
- 117 163 update of d3 charts by @Daveiano in #164
Full Changelog: v3.1.1...v3.2.0
v3.1.1
- Bugfix: Visual padding bug in single radar tile on front page
- Bugfix: Not working tabs for radar/webcams when used with enabled forecast extension
- Bugfix: (MQTT) Handle observations with underscores GH-139
- Allow user to set complete "Forecast & Radar" heading GH-141, Note:
radar_heading
is replaced byforecast_radar_heading
Changes made to skin.conf since 3.1.0
Line 27:
-#radar_heading = Recent radar
+# The Foreacst/Radar/Webcam section heading.
+#forecast_radar_heading = "Forecast & Recent radar"
What's Changed
Full Changelog: v3.1.0...v3.1.1
v3.1.0
- Live updates via MQTT driven stat tiles on front page GH-131
- Add slot for webcam image(s) to front page. Add optional extra webcam page GH-127 and https://github.com/Daveiano/weewx-wdc/discussions/121#discussioncomment-5280575
Changes made to skin.conf since 3.0.1
Line 29, following:
#radar_html = ''
#radar_heading = Recent radar
+# Set to True to have the Forecast tile and the radar/externals tile to have the same width.
+# Default is forecast = 2/3 and radar tile = 1/3.
+forecast_radar_equal_width = False
+[[mqtt]]
+ mqtt_websockets_enabled = 0
+ mqtt_websockets_host = "localhost"
+ mqtt_websockets_port = 9001
+ mqtt_websockets_ssl = 0
+ mqtt_websockets_topic = "weather/loop"
+# Include various external sources (eg. webcams) here.
+#[[external_1]]
+# source = '<img src="http://your-server.com/uploads/webcam01.jpg" />'
+# title = Webcam 1
+# title_long = "Webcam 1, facing North"
+#[[external_2]]
+# source = '<img src="http://your-server.com/uploads/webcam02.jpg" />'
+# title = Webcam 2
+# title_long = "Webcam 2, facing South"
+#[[external_3]]
+# source = '<img src="http://your-server.com/uploads/webcam01.gif" />'
+# title = Webcam 1
+# title_long = "Webcam 1, Timelapse"
+#[[external_4]]
+# source = '<img src="http://your-server.com/uploads/webcam02.gif" />'
+# title = Webcam 2
+# title_long = "Webcam 2, Timelapse"
[[forecast_zambretti]]
enable = False
Line 508:
[[[about]]]
template = about.html.tmpl
title = About
+#[[[externals]]]
+ #template = externals.html.tmpl
+ #title = Webcams/Externals
#[[[DWD]]]
#template = dwd.html.tmpl
#title = Vorhersage vom DWD
Line 567:
[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, dist/assets
+ copy_once = dist/main.js, dist/main.css, plotly-custom-build.min.js, dist/live-updates.js, favicon.ico, manifest.json, icon-192x192.png, icon-256x256.png, icon-384x384.png, icon-512x512.png, service-worker.js, offline.html, dist/assets
What's Changed
- Bump webpack from 5.73.0 to 5.76.0 by @dependabot in #132
- Add slot for webcam image/add optional extra webcam page by @Daveiano in #134
- MQTT driven stat tiles on index page by @Daveiano in #131
Full Changelog: v3.0.1...v3.1.0