Sandaysoft

Support forum for Cumulus weather station software
It is currently Sat May 18, 2013 5:17 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 690 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 46  Next
Author Message
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 18, 2011 11:52 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
steve wrote:
I could probably change Cumulus to convert "Sunny" to "Clear" between sunset and sunrise - in fact, I will.
Steve, again, thank you on behalf of all the La Crosse WS1081 weather station operators/owners... :mrgreen:


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 18, 2011 6:13 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
Quote:
The 'LANG.dew_info_web' is the wrong variable


I will correct all scripts on my static test site to conform.

gwheelo

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 18, 2011 8:22 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
gwheelo wrote:
I will correct all scripts on my static test site to conform.
I guess it should be mentioned in the next updates :) that the 'language' template should be used when translating into another language - I have sent Mark a modified french language template as well as a 'default' template to be used for language translation (the language inside that default template is english) - I have attached the ZIP should you want to check/use the templates.


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 18, 2011 11:44 pm 
Offline
User avatar

Joined: Wed Oct 21, 2009 11:19 am
Posts: 280
Location: Bayswater, Australia
Weather Station: La Crosse WS-2355
Operating System: Windoze 7
I use the <#currcond> tag to provide METAR data from the local airport. In realtimegaugesT.txt I've changed the <#forecast> tag to <#currcond>, thus giving the current METAR rather than Cumulus' forecast.

I've attached a .zip file with the scripts I use, in conjunction with a free program called mweather (http://www.nirsoft.net/utils/mweather.html).

It shouldn't be difficult to set up, although it may require some tweaking if you use a hosted site - I use a home server.


You do not have the required permissions to view the files attached to this post.

_________________
Graeme.
http://weather.gktnet.com/cumulus/index.htm
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 24, 2011 9:33 pm 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2504
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Version 1.1.0 is ready.

A few changes this time, so please read the readme file.

Here are the changes
    1.1.0
  • Now works with Cumulus 1.9.1, adds autoscrolling for long forecasts, changes how multiple
    languages are handled.
  • Updated steelseries.js
    - updated to release 'standard release' 0.7.2 from Gerrit
    - fixed logic around LED blinking
    - fixed singleLCD panel clipping text with long thin displays
    - added autoScrolling, automatically scrolls long messages that do not fit in the display,
    short messages are still displayed statically.
  • Updated gauges.js
    - added 'hot' scale shading (above 45C, 110F)
    - added check for Cumulus build number in 'station off-line' code
  • Updated realtimegaugesT.txt
    - added cumulus build number
  • Updated parseRealtime.js
    - updated for extra build number field
  • Updated gauges-ssT.htm, gauges-ssT-Fr.htm
    - added hidden span to force early .ttf font download from web servers that do serve .woff files
    - added include for language.js
    - updated to HTML 5 standards
  • Added language.js file
    - contains language translations, default file contains English & French

I have attached the file to the first message in this thread so we always know where the latest version is!

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 25, 2011 4:58 pm 
Offline
User avatar

Joined: Mon Aug 10, 2009 8:45 pm
Posts: 26
Location: White Rock, BC Canada
Weather Station: Davis Vantage Vue
Operating System: Windows 7 64 bit SP1
:clap: Thanks for the update Mark. Scrolling display works great.

_________________
If you must choose between two evils, pick the one you've never tried before.

Image

http://www.whiterockweather.com


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 25, 2011 5:03 pm 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2504
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Thanks, that is good to know - though of course now I look at your page you have a short forecast that doesn't need to scroll :roll:

Edit: Do you really have such a low pressure variation at your location? (about 1008 - 1027) You could change the limits for the pressure gauge to bring the minimum up to say 990.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 25, 2011 5:57 pm 
Online

Joined: Wed May 06, 2009 6:29 pm
Posts: 1704
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Thanks too Mark from me up the A34 in Cheadle Hulme. I even remembered to edit the file with the path to my fonts folder to add the 's'.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 25, 2011 6:27 pm 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2504
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Ray has pointed out that there was a slight problem with the temperature popup data in French (and other languages that are masculine/feminine).

So version 1.1.1 has been posted, only the "gauges.js" file has been changed, and you only need to bother upgrading from 1.1.0 if you intend to use languages other than English.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Wed Jul 27, 2011 2:45 am 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
ss v1.1.1 now married to my gauges page without a hitch except one feature. The status window changes language for all messages on command except when the text overrides the window width and starts scrolling. Something is happening or not happening when autoscroll goes into action. Text starts jittering with multiple languages while scrolling. Obviously my language scheme is incompatible with autoscroll. This is not a big thing for me as all my forecasts fit within the window - but I like the feature and would love to implement on my site. Any ideas? One other question - how might I change the status text color - I'm thinking "red" for instance.

Currently I change the status language with:

if (gauge_baro) { doBaro(); }
if (gauge_rain) { doRain(); }
if (gauge_rrate){ doRRate();}
if (gauge_hum) { doHum(); }
if (gauge_wind) { doWind(); }
if (gauge_wdir) { doDir(); }

setStatus(LANG.forecastlong[cumulus.forecastnumber]); //set for testing

George Wheelock

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Wed Jul 27, 2011 7:18 am 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2504
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
George, do you have a link to the gauges page so I can take a look?
Your main page http://www.wheelocknet.net/cumulus/gauges.html?gb is the old gauges and doesn't seem to be working correctly.

Edit: Also are you sure you updated the steelseries.min.js file and have forced your browser to bypass it's cache? The behaviour you describe could be due to an old version (where I had scrolling partially implemented, but not used).

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Thu Jul 28, 2011 1:54 am 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
Mark -

Thanks for the interest. I have set up two versions for your viewing enjoyment or horror - one with scroll and one without. As you will immediately see the only difference is the size of the scroll box - the shorter box causing autoscroll to kick in.

http://www.wheelocknet.net/canvas_g/gauges_ss_10.html - no scroll - sufficient box length for text

http://www.wheelocknet.net/canvas_g/gauges_ss_10a.html - autoscrol kicks in - insufficient box length.

There is still a lot of trash in my pages - I will clean it up by and by - and I am still working with static dada - and the navigation links are trash for now.

George Wheelock

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Thu Jul 28, 2011 11:07 am 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2504
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Hi George

The scrolling is working as expected. AutoScroll only scrolls the text if it is too long to fit in the box. So, it displays a scrolling forecast, then displays "Downloading..." which is static, then displays the forecast again, which starts scrolling again from the default position (20% of the width of box in from the left).

Mark

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Thu Jul 28, 2011 1:07 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
Quote:
The scrolling is working as expected.


Yes - as expected until a language flag is clicked.

With autoscroll "Off" - the language changes without a hitch.

With autoscroll "On" - things get messy. Sometimes the language changes and the display starts acting erratic and sometimes the language does not change anf the display acts erratic and sometimes it begins scrolin multiple languages.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Thu Jul 28, 2011 1:26 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 377
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
[url]The scrolling is working as expected.[/url]

After playing a bit - I discover that with autoscroll "On" the first language change works perfectly - but then if I click another language flag the system breaks down. Perhaps this is a "buffer" problem that my code is not implementing.

GW

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 690 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 46  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group