Steelseries Gauges for WD

For some reason, today the script stopped responding! It doesn’t seem to load (or find) customclientraw.txt.

Here: http://www.meteothes.gr/gauges-ss/gauges-ssT.htm :roll:

The file is at the defined path and WD uploads it all the time.

I’ve just updated WD to the latest build 14.

There is also a tag in customclientrawlocal.txt (%maxgustdirdeg% ) that doesn’t exist!

Thanos

Thanos, you have
var dt = str[0].replace(‘/’,‘-’).split(‘-’);
it should be:
var dt = str[0].replace(///g,‘-’).split(‘-’);

Edit: Ah, I see I posted an incorrect code snippet above - now corrected. I missed that, sorry.

Thanos,

Just download the new clientrawlocal.txt from my site, from release 14 something changed i guess.
The date for last rain is correct, the time not, so i changed the tags to working ones.

And about the %maxgustdirdeg%, it doesn’t work, but that’s no problem.

@Micheal, Thanks for the finding the typo error, i have corrected it on the site!

Jacco

Thanks much Jacco! That finally got mine out of ‘dead mode’. Now for the fine tuning.

http://tiggrweather.net/gauges/gauges-ssT.htm

How do I get the #location, #latitude, etc., to show?

http://tiggrweather.net/gauges/gauges-ssT.htm

Thanks!

 Latitude <#latitude>    Longitude <#longitude>    Elevation <#altitude>

In this section just replace #latitude with your latitude. So you would have

 Latitude <30.00N>    Longitude <105.00W>    Elevation <300 FT>

Thanks. I was ‘assuming’ (because of the leading #) that those values might be filled in automatically somehow.

I can add
%maxgustdirdeg%

When i tried to find the corresponding tags from cumulus to WD i invented that tag, because it was in the realtimegauges.txt file of Mark.
However until now i still didn’t find what it does. As far as i can see it is not used in the script.

Maybe Mark can tell?

Jacco

The value is the bearing in degrees of today’s maximum gust. You are right, it isn’t used in the script currently - it is hang over from a previous attempt at a gauges page. But as it’s there I may as well use it, so the next release I’ll add it in to the wind speed pop-up box.

As the value will only used as text, you could equally well use an ordinal bearing value if it already exists.

Hi…

Does anybody know where the forecast text get’s it’s encoding from, i’m having problems with the danish special characters, but only in the forecast.


Forecast.jpg

I had a great deal of problems with extended character encoding. As far as I can tell (and I tried numerous workarounds) extended character sets are not supported with ajax XMLHttpRequest objects (which is used to fetch the ccr file) - they always return an ASCII character set text body.

For Cumulus we worked around this by Steve providing a new tag <#forecastenc>, which html encodes all extended characters, the script then decodes this back to a standard UTF-8 string for display. Does WD provide a similar encoded tag?

Hi,

I have just created my own steel series at http://www.paulwilman.com/liveweather.htm. I have added a java script into my weather display live page that detects when you are on iPad or iPod etc and redirects you to the steel series rather than weather display live. Seems to work very smoothly. Check out http://www.paulwilman.com to see it in full display.

Steel series page needs a bit of work on formatting

Paul

FYI, when I open your page with my Android tablet, I get gauges rather than WD Live. I don’t
know if that’s what you intended, as it’s not an iPad.

-Keith

Keith,

The JavaScript should only direct you to the steel dials if you are on an iPhone, iPad platform. Not sure why it is redirecting android tablets to? I tried it on my iMac and I wasn’t redirected…

Paul

Paul,

I just wanted to let you know that, for my Android tablet at least, the script is not doing what you want. I
have no idea why it doesn’t, as I know little to nothing about Java script.

-Keith

hello, my name is weird I was only half works #-o

http://www.meteo16-vars.com/gauges-ssT-fr.htm

Neomanu16,

To get all the dials to work you need to go into control panel, web page setup, custom web page and unstick the box “include units” atbthe moment the units will be uploaded to customclientraw which confuses things. Be aware that this will remove the units from any tags uploaded to any custom web pages you have created.

Hope this helps

Paul

I will not put too much trouble

Is there a way to reverse the wind dial indicators?

So that the needle is current wind speed and the green bar is average wind speed.