If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3041 Aug 17 2016

SteelSeries Gauges - version 1.0

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

User avatar
mcrossley
Posts: 4617
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Jessie Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Postby mcrossley » Fri Mar 02, 2012 9:03 pm

Trainman wrote:My data download counter is in a bit of hurry. The var g_count is set to 60 sec. It is counting from 60 but it is counting down in double speed i.e 30 seconds. :?: http://www.kvistgaardvejr.dk/gauges-ss.htm
I´m running ver. 1.5.4 - 2012-02-21.

You need to remove the "init()" from the <body> tag in your HTML.

User avatar
mcrossley
Posts: 4617
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Jessie Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Postby mcrossley » Fri Mar 02, 2012 9:05 pm

gwheelo wrote:
Just gauges.js


Is it just doTemp() and doDew() or is there more to change - it is a bit of work to change my gauges.js as I have customized so much of it. Yeah - my fault - but if it is just something I can copy paste - it will ease my pain.

gw
From memory yes - but I'm not at my dev. machine at the moment.

gemini06720
Posts: 1700
Joined: Mon Aug 10, 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: SteelSeries Gauges - version 1.0

Postby gemini06720 » Fri Mar 02, 2012 11:40 pm

gwheelo wrote:...it is a bit of work to change my gauges.js as I have customized so much of it. Yeah - my fault - but if it is just something I can copy paste - it will ease my pain.
George, you need to get something such as Scooter Software Beyond Compare ... it has made my life so much easier when new versions of a script are released... ;)

The source code of the old and the new versions of a script can be viewed side-by-side with the changed/modified lines highlighted - Beyond Compare even allows the user to copy from one side to the other and then save the resulting new script. 8-)

gemini06720
Posts: 1700
Joined: Mon Aug 10, 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: SteelSeries Gauges - version 1.0

Postby gemini06720 » Fri Mar 02, 2012 11:59 pm

Mark, may I make a suggestion...

On line 901 of the 'gauges.js' script, to change from:

Code: Select all

    setStatus("Your realtime text file template needs updating!");
to:

Code: Select all

    setStatus("Your " + g_realTimeURL + " file template needs updating!");
This way, the user know exactly which file (by name, either 'realtimegaugesplus.txt' or 'customclientraw.txt') needs to be updated... ;)

I have even made this warning message multilingual in my version of the gauges - the new line in the 'gauges.js' script needs to be changed to:

Code: Select all

    setStatus(LANG.PageUpdateStart + realTimeURL + LANG.PageUpdateEnd);
and two new parameters (times the number of languages) must be added to the 'language.js' script:

Code: Select all

    PageUpdateStart     : "Your '",
    PageUpdateEnd       : "' template needs to be updated!",

User avatar
gwheelo
Posts: 450
Joined: Wed Jun 11, 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: SteelSeries Gauges - version 1.0

Postby gwheelo » Sat Mar 03, 2012 4:43 am

you need to get something such as Scooter Software Beyond Compare .


Wow! That makes life a lot easier!

Thanks Ray!

gw
Image

Trainman
Posts: 22
Joined: Fri May 21, 2010 5:47 pm
Weather Station: Davis VP2
Operating System: Windows 7
Location: Kvistgård Danmark
Contact:

Re: SteelSeries Gauges - version 1.0

Postby Trainman » Sat Mar 03, 2012 7:16 am

mcrossley wrote:
Trainman wrote:My data download counter is in a bit of hurry. The var g_count is set to 60 sec. It is counting from 60 but it is counting down in double speed i.e 30 seconds. :?: http://www.kvistgaardvejr.dk/gauges-ss.htm
I´m running ver. 1.5.4 - 2012-02-21.

You need to remove the "init()" from the <body> tag in your HTML.


Thank you, that did it. I can´t even remember where that init() comes from, :? i have made a redesign of my site, it´s a reminicens from the old site.

gemini06720
Posts: 1700
Joined: Mon Aug 10, 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: SteelSeries Gauges - version 1.0

Postby gemini06720 » Sat Mar 03, 2012 9:28 am

Now I can proudly say/write "I told you so, George..." :D

George, I have been using the professional version of Beyond Compare for the past four years and I could not live without that utility - I have also tried IDM Computer Solutions UltraCompare but found its interface too annoying and the program a bit too 'heavy'.

User avatar
mcrossley
Posts: 4617
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Jessie Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Postby mcrossley » Sat Mar 03, 2012 9:42 am

Hi Ray, I meant to change that message, but forgot what it was I meant to be doing age thing :bash:
l didn't bother putting it in LANG as it should only appear at page setup time, not something an end user should ever see.

gemini06720
Posts: 1700
Joined: Mon Aug 10, 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: SteelSeries Gauges - version 1.0

Postby gemini06720 » Sat Mar 03, 2012 10:32 am

Mark, as you indicated, the message might/should only appear at page setup time ... but what if the station operator forgets to replace an older version of the 'realtimegaugesT.txt' with a newer release and does not look at the SteelSeries Gauges page after an update! :roll: You know as well as I do those 'things' happen! :twisted: Thus my second suggestion - that some new parameters be added to the language file ... for all those station operators (and their users) that do not read/speak/write english properly... :mrgreen:

User avatar
steve
Cumulus Author
Posts: 25245
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: SteelSeries Gauges - version 1.0

Postby steve » Tue Mar 06, 2012 9:53 am

Mark, I am told that your gauges are going down well with Weather Display users (I hope you're getting commission for the extra sales they are no doubt generating ;) ) and that you even have your own section in the forum there. We can't have people saying that your gauges are being better supported for WD users than Cumulus, so would it be useful to have a separate section of the forum here? This thread is getting rather long...
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

User avatar
mcrossley
Posts: 4617
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Jessie Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Postby mcrossley » Tue Mar 06, 2012 10:34 am

Hi Steve, they had started using them anyway, so rather than have a butchered version for WD floating around I thought it best to adapt the core script and make it 'Weather Program' agnostic - mainly just replacing the realtime file with a template for your favourite program. There is no fear of me moving over though! It may also indirectly benefit Cumulus as the script gets adapted to fit in with Ken's weather web site templates - which seem to be de rigour for WD users - means that Cumulus users using Kens code will be able to utilise their work too - maybe Ken will integrate it 'officially' :o

This thread IS far too unwieldy, maybe a separate mini-forum would be a good idea so we can have an announcements thread and people can start their own support threads - and hopefully more people can start chipping in answering the more common/basic questions, I've got lots of other 'stuff' I want to do!

Google has also found a couple of people of have adapted the SteelSeries gauges to some Linux free/shareware based sites too!

Edit: I have never made anything out any software - maybe I give it away too readily, I made less than £20 out of over 800,000 downloads of dontationware, loads of great feedback and requests for enhancements though! Maybe the iStore model has got something going for it.

Cheers
Mark

User avatar
mcrossley
Posts: 4617
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Jessie Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Postby mcrossley » Tue Mar 06, 2012 12:32 pm

Folks, we now have a sub-forum for SteelSeries. Can you stop posting to this topic and start your own for any future queries. Ta

User avatar
nitrx
Posts: 1288
Joined: Sun Dec 13, 2009 1:21 pm
Weather Station: WH3080 / WS 5000
Operating System: Windows 7
Location: Apeldoorn The Netherlands
Contact:

Re: SteelSeries Gauges - version 1.0

Postby nitrx » Tue Mar 06, 2012 7:41 pm

mcrossley wrote:The download has now been moved to the announcements topic


You are not authorised to access this area... :shock:

User avatar
mcrossley
Posts: 4617
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Jessie Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Postby mcrossley » Tue Mar 06, 2012 7:57 pm

I've changed it to a sticky - is that better?

User avatar
nitrx
Posts: 1288
Joined: Sun Dec 13, 2009 1:21 pm
Weather Station: WH3080 / WS 5000
Operating System: Windows 7
Location: Apeldoorn The Netherlands
Contact:

Re: SteelSeries Gauges - version 1.0

Postby nitrx » Tue Mar 06, 2012 8:01 pm

mcrossley wrote:I've changed it to a sticky - is that better?


Wel you should edit the first post in this thread to viewtopic.php?f=21&t=5478 because the displayed link there leads to a restricted area.. That should be te solution I think. Oeps edit I mean viewtopic.php?f=21&t=7186 :bash:


Return to “SteelSeries Gauges”

Who is online

Users browsing this forum: No registered users and 1 guest