weewx-wdc Skin v3.0.0 available

423 views
Skip to first unread message

David Bätge

unread,
Mar 6, 2023, 7:22:15 PM3/6/23
to weewx-user

Hi all,


I just wanted to inform you that a new version is available for the weewx-wdc skin for download.


This release includes some big updates and refactoring:

  • Several Bugfixes and enhancements for weewx-forecast
  • Show weather data for a specific day - Daily archive
  • Make diagrams configurable per context (per period) / Refactor diagrams configuration. Diagrams can now be configured per context, eg. day, week or month. Per default, the day and week pages do not include the outTemp min/max/avg diagram anymore.
  • Make show_min, show_max, show_sum configurable for stat tiles 
  • Support for custom data_bindings
  • Configurable Icons
  • Configurable unit for diagrams
  • Configurable Rounding
  • Configurable markers for diagrams
  • Automatic Refresh (via http-equiv="refresh")
  • Added new climatogram (combined chart consisting of rain as bar and temp as line) for statistics and yearly statistics pages
  • Update radar_img to allow for raw HTML (for using eg. iFrames as radar maps)


Also included is "Support for combining different diagram types" (eg. line and bar). I added an own implementation of chart rendering based directly on D3.js, which will replace the current nivo library in a future release. The direct usage of D3 allows for really custom implementations, so I am very open to new ideas of visualizations.


Please see https://github.com/Daveiano/weewx-wdc/wiki/Configuration#ENABLE_D3_DIAGRAMS for more information if you want to test this out in v3.0.0.


Since this release includes a near rewrite of the skin.conf, you likely have to make some changes to it, if you had the skin very heavily customized in a previous version.


The wiki was updated to include information about all the new features and configurations. If you encounter any problem or bug, just let me know!


Thank you all for your feedback/contributions to the skin!


Changelog/Downloadhttps://github.com/Daveiano/weewx-wdc/releases/tag/v3.0.0

Greg from Oz

unread,
Mar 8, 2023, 2:50:20 AM3/8/23
to weewx-user
Looks good. Windrun is in miles though.

Greg from Oz

unread,
Mar 8, 2023, 3:22:58 AM3/8/23
to weewx-user
OK figured out group_distance was missing in the Defaults in weewx.conf
group_distance = km
Fixed it.

Greg from Oz

unread,
Mar 8, 2023, 3:48:47 AM3/8/23
to weewx-user
Also is there a setting for time of last rain? E.G 5 days 3 hours 2 minutes

Claudio

unread,
Mar 8, 2023, 1:06:03 PM3/8/23
to weewx-user
Well done! you did a good job

Greg from Oz

unread,
Mar 9, 2023, 8:33:07 AM3/9/23
to weewx-user
Hi,

Is there a way to add the date and time for example to the radar html code?
The reason I ask is because the image is being cached but if the name changes I should get the latest image.

This is what I mean....but it doesn't work.
    radar_html = '<img src="https://weather.ubeaut.work/WEBCAM/radar.jpg?""$current.dateTime">'

My web site is here:

Thanks

Greg from Oz

unread,
Mar 9, 2023, 9:30:43 AM3/9/23
to weewx-user
Also another observation is the radar graphic doesn't change in the weather web page until I press F5 refresh.
If I click the today link it reverts back to the wrong image.
If I open a new browser tab and use this:
I get the correct radar image.
Very strange.

David Bätge

unread,
Mar 9, 2023, 11:49:05 AM3/9/23
to weewx-user
@greg 

Thank you for all the feedback!

So the time of the last rain is not yet displayed, but I have noted this, and will add it in a future release :)

Yes, I think I found the reason why your radar image is not refreshing (cached) - that's a bug with the service worker of the skin. I will have a look at it and release a small bugfix update by the end of the week, there were some more bugs with 3.0.0 which need to be resolved.

Greg from Oz

unread,
Mar 9, 2023, 9:58:00 PM3/9/23
to weewx-user
Thanks for looking at the caching issue.
Also would it be possible to have Australian official forecast from the Bureau of Meteorology (BOM)?
I can get a json file from here:

The forecast looks like this:

I know that this would be a big ask but it would be great if it was available.
If I knew enough about how the programming worked I would do it myself.

David Bätge

unread,
Mar 9, 2023, 11:37:20 PM3/9/23
to weewx-user
That's indeed a big ask and I am afraid to say that this is out of scope of my spare free time, I am sorry about that.

At first, I thought there should be some extension already to pull in the Australian BOM data, but it seems there is none yet. What I found is this: https://github.com/weewx/weewx/wiki/Raspberry-Pi-weather-station-with-i2C-sensors#australian-weather-forecast-added-to-belchertown-skin 

A Post about integrating the data into the Belchertown skin - I have not had a look over the files, sorry, but this could be a potential starting point. If anyone has the time/need for that, I would be happy to support that in some way (Wiki Posts, PR's).

Greg Reive

unread,
Mar 9, 2023, 11:55:29 PM3/9/23
to weewx...@googlegroups.com

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/xSnQnMXaEs8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1ac0bf6b-11f6-4ee9-b340-1bbadbeec26bn%40googlegroups.com.


--
¯\_(ツ)_/¯

Neville Davis

unread,
Mar 10, 2023, 8:33:03 PM3/10/23
to weewx-user
Hi

The i2C sensor Australian BOM info is mine. 
I have edited the Belchertown skin to include a page with this data…it has worked really well.
Currently my system is not updating due to hardware problems.
There’s maybe something you can use, I have I think included all the edits required to get the Belchertown skin edited.

Neville

Neville Davis

unread,
Mar 10, 2023, 9:13:28 PM3/10/23
to weewx-user
Hi

I have used the scripts developed by Darryn Capes-Davis for his responsive skin. I edited this originally to create a single page I could add to any skin..I have had it on a couple. It has proved to be very reliable .

Neville

Greg from Oz

unread,
Mar 11, 2023, 12:52:20 AM3/11/23
to weewx-user
Yes I have used the Responsive skin. It was the one I was using previously and just thought I would try this skin out and see how it went.
I like them both. If I could get the best of each of them onto one skin that would be great.
I might have to have a look and see what I can cobble together or just swap back to Responsive as I have modified that a lot.

Thanks
Reply all
Reply to author
Forward
0 new messages