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:
https://api.weather.bom.gov.au/v1/locations/r7hgdpk/forecasts/daily

The forecast looks like this:
https://weather.bom.gov.au/location/r67rt9q-moonbi

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.


On Thursday, 9 March 2023 at 22:49:05 UTC+11 David Bätge wrote:

> @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 schrieb am Donnerstag, 9. März 2023 um 10:30:43 UTC+1:
>
>> 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:
>> https://weather.ubeaut.work/WEBCAM/radar.jpg?
>> I get the correct radar image.
>> Very strange.
>>
>> On Thursday, 9 March 2023 at 19:33:07 UTC+11 Greg from Oz wrote:
>>
>>> 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:
>>> https://weather.ubeaut.work/index.html
>>>
>>> Thanks
>>>
>>>
>>> On Thursday, 9 March 2023 at 00:06:03 UTC+11 Claudio wrote:
>>>
>>>> Well done! you did a good job
>>>>
>>>> Il giorno lunedì 6 marzo 2023 alle 20:22:15 UTC+1 David Bätge ha 
>>>> scritto:
>>>>
>>>>> Hi all,
>>>>>
>>>>>
>>>>> I just wanted to inform you that a new version is available for the 
>>>>> weewx-wdc 
>>>>> skin <https://github.com/Daveiano/weewx-wdc> for download 
>>>>> <https://github.com/Daveiano/weewx-wdc/releases/download/v3.0.0/weewx-wdc-v3.0.0.zip>
>>>>> .
>>>>>
>>>>>
>>>>> 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 <https://d3js.org/>, which will replace the current 
>>>>> nivo 
>>>>> library <https://nivo.rocks/> 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 <https://github.com/Daveiano/weewx-wdc/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/Download: 
>>>>> https://github.com/Daveiano/weewx-wdc/releases/tag/v3.0.0
>>>>>
>>>>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/d60a8974-ff73-454e-9fd3-b481f117038en%40googlegroups.com.

Reply via email to