JavaScript WDL version 1.0.0 alpha.

That’s really awesome, thank you for that! :slight_smile:

I think the reason it doesn’t work without an iFrame (or similar) is that it scales relative to the window.
I will see if I can change that, somehow.

I have forgoten, but was there way to set the update frequency?

Currently it’s not customisable, however it would be easy to add in to the config file if needed.

However, I will stress the fact it tries to update quite frequently (every five seconds) but it really uses practically no data or processing power to do so, as unless the files have changed it doesn’t fetch them (due to the power of cashing) and even if it does need to get a new file, fetching raw text is a really tiny job (<1kb) :slight_smile:

I will put it on the to-do list, as I can understand if people want to play around with it. But really, for the time being, rest assured that it’s a very non-intrusive task!

Hi Yerren

I have done nothing to my webpage since I had to fix it up last time because it went ultra large size.

Today it has done it again ???

http://www.fairfieldweather.info/wdl.html

Hey,

I notice that there is a “?” at the end of your css link (probably left over from the other thing) which shouldn’t be there.

I have a feeling that if you remove that, it should be fine! :slight_smile:

I stand corrected, there is another (#-o) awkward bit of legacy code left over from somewhere in that one CSS line causing issues this time.
Essentially, where it said:

https://gitcdn.xyz/repo/Yerren/FreshWDL/master/css/stylesheet01.css

the “repo” needs to be replaced with “cdn”, like so:

https://gitcdn.xyz/cdn/Yerren/FreshWDL/master/css/stylesheet01.css

I do seriously think this stresses what Stuart said earlier however, that we need a validated HTML page that people can use, as well as a stand alone package.
Rest assured I will work on that as a first priority (though with not much time to spare, it might still be a little while).

Sorry for the issue!

All sorted…thanks Yerren

Hey all, finally had the time to release a new update. :slight_smile:

Notable changes:

  • Support for other languages added. (Please see: http://discourse.weather-watch.com/t/65434 for information on how to help with translation!)
  • Date is now displayed in status gauge.
  • HTML file is now validated.
  • Some other minor changes.

Full changelog: https://github.com/Yerren/FreshWDL/blob/master/Changelog.md

What you need to do to utilise update: Technically nothing, but I strongly suggest you get the new config and HTML file from the Weather Display download page (http://www.weather-display.com/files.php). The valid HTML page is a good idea to have, as the old one is starting to throw some interesting error messages behind the scenes… I can’t promise it will keep working indefinitely!

A special thanks to Stuart (A.K.A. broadstairs) for essentially re-formatting the HTML page to a much cleaner state!

Oh, and if you want to change the language of your system… It’s just the added field in the new config file. :slight_smile:

Just put in the new config and html files and now I notice that my black wind direction pointer is not moving from N. The green average pointer is OK, and the degree values too.

Is this a coincidence? I must admit I don’t look at FreshWDL every day so I can’t be more specific about when it happened. . .

This is pretty neat and thanks!

Would it be possible to switch out the Windchill graphic with a heat index graphic via the config file or temperature logic?

I would be interested in that-especially on a day like today.

I think Yerren has introduced a bug re the wind direction pointer

Yes, I’ve seen it on a few sites. Since I posted I realised that I can’t alter things like that by changing config and html files!

hopefully an easy fix for him to roll out behind the scenes

Hey all, thanks for spotting that bug!

All fixed now :slight_smile:

(Though, as always, it will take a few hours for the server cache to refresh, and might need a ctrl+F5 as well)

Once a heat index gauge has been created it will be possible :lol:
Do you have another example of said heat index graphic that I could check out, to see what sort of thing you’re after?

The current gauge would work. Just change the title to ‘Heat Index’ and display the appropriate temperatures.

so I could take this line–
},
gaugeSettings = { //Gauges: apparent temperature barometer windChill graphHandlerBarometer graphHandlerRainfall graphHandlerTemperature graphHandlerWindSpeed humidity moonSun solar status rainfallTitle rainfallDay rainfallMonth rainfallYear UV windDirection windSpeed
solar: {

Change windChill to Heat index and it would pick up the correct info?

ALSO-the date is goofy. See below.


It won’t do it yet, but I can set it up to work pretty fairly easily. I’ll put it on the to-do list and hopefully get it done pretty soon, as it seems like a straightforward task.

The date comes purely from the client-raw file (so the strange date must be coming from somewhere on the back end?)

Maybe I have a lot of stuff in the title.