Sandaysoft

Support forum for Cumulus weather station software
It is currently Sat May 18, 2013 8:57 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  [ 49 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: 'New Record' Light
PostPosted: Wed Dec 28, 2011 1:11 am 
Offline
User avatar

Joined: Sat Jul 03, 2010 9:03 pm
Posts: 156
Location: Lake Zurich, IL; USA
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7
I've tried to pick up the methodology to trigger the record lights in this discussion, but am having trouble. Is there a tutorial anywhere that explains how to use the "new record" webtags?

I may be oversimplifying things, but is there a piece of HTML that forces the record_1.gif to be displayed if a "1" is returned, or record_0.gif to be displayed if a "0" is returned?

In my clunky way, I uploaded both of those gifs to my server, and included the webtags for new records set. But of course, all my website displays is a bunch of "0's" in front of each all time record, no gifs.

Should the gifs be part of the settings in Cumulus (under configuration/internet/files)? I'm at a bit of a loss here trying to get this to work.

Any help would be appreciated.

-Tom

_________________
Tom Keramidas, Lake Zurich, IL, USA
Image


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Wed Dec 28, 2011 3:14 am 
Offline
User avatar

Joined: Mon Dec 20, 2010 12:12 pm
Posts: 446
Location: Palmerston, NT, Australia
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
I've just edited this as I stuffed up the "Qoutes". :bash:

krmidas wrote:
I've tried to pick up the methodology to trigger the record lights in this discussion, but am having trouble. Is there a tutorial anywhere that explains how to use the "new record" webtags?

I may be oversimplifying things, but is there a piece of HTML that forces the record_1.gif to be displayed if a "1" is returned, or record_0.gif to be displayed if a "0" is returned?

Yes, omit the webtag and just have the image src=record_1.giv. This will force it to display the gif.
Quote:
In my clunky way, I uploaded both of those gifs to my server, and included the webtags for new records set. But of course, all my website displays is a bunch of "0's" in front of each all time record, no gifs.

Should the gifs be part of the settings in Cumulus (under configuration/internet/files)? I'm at a bit of a loss here trying to get this to work.
No. see my other post.

Quote:
Any help would be appreciated.

Any link to your website would be appreciated too! If you did, we could probably write all the code for you. :lol: Do a search in the forums for this, as I know I've put in a "how to do", and others have too I'm sure. You have made a very basic mistake, I'm sure. Easily fixed. Now how 'bout that link?

_________________
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImageImage


Last edited by MickinMoulden on Wed Dec 28, 2011 5:36 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Wed Dec 28, 2011 3:58 am 
Offline
User avatar

Joined: Sat Jul 03, 2010 9:03 pm
Posts: 156
Location: Lake Zurich, IL; USA
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7
Thanks for the offer. My site is very straightforward. :oops: Not anything fancy:

http://krmidas.home.comcast.net/~krmidas/yyyweather.htm

_________________
Tom Keramidas, Lake Zurich, IL, USA
Image


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Wed Dec 28, 2011 5:31 am 
Offline
User avatar

Joined: Mon Dec 20, 2010 12:12 pm
Posts: 446
Location: Palmerston, NT, Australia
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
krmidas wrote:
Thanks for the offer. My site is very straightforward. :oops: Not anything fancy:

http://krmidas.home.comcast.net/~krmidas/yyyweather.htm

Where you have your All time records, isert this (for each record, use their specific webtag):
style="text-decoration: underline;"> <br>All Time Records (station online
since
6/18/05):</big></span></span><br>
<span style="font-weight: bold;"><span style="font-weight: bold;"></span></span><br>
<span style="font-weight: bold;"><span style="font-weight: bold;"><span
style="font-weight: bold;"><span style="color: rgb(23,12,121);">
Code:
<img src="images/record_<#HighTempRecordSet>.gif" width="15" border="0">
Hi
Temperature</span>&nbsp; </span></span>101.5&deg;F&nbsp;at&nbsp;2:46 PM on Jul 20, 2011
</span><br>

You will need to make two .gif pics. One named record_0.gif (with either no flashing like, ie off or, as I and others do, make it invisable), and another named record_1.gif. Save them into (in this case) the images folder.

When ever a record is set, and still being displayed by Cumulus as a green flashing light, the <#High****RecordSet> webtag will display a 1, and thus show your record_1.gif. As soon as you click on the green light, or view the records in Cumulus, it will no longer be a new record and thus any record lights will go out (not displayed).
As a work around, I have on my main page a flashing light if ANY record has been broken. Even if I click on my records in Cumulus, and thus stop the light, I still have it displaying the date of when the last record was broken. You won't need that as it's all on the same page.

_________________
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImageImage


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Wed Dec 28, 2011 5:39 am 
Offline
User avatar

Joined: Mon Dec 20, 2010 12:12 pm
Posts: 446
Location: Palmerston, NT, Australia
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
I've seen your .gifs. They work fine, however, they are not in a folder. That is fine if they are not, but you will need to have the correct referenc for the "img src". Take out "images" in the "img src" I provided you, OR, keep the code and place the .gifs in a folder called "images". You should already have one for your graphs.

_________________
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImageImage


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Wed Dec 28, 2011 7:39 pm 
Offline
User avatar

Joined: Sat Jul 03, 2010 9:03 pm
Posts: 156
Location: Lake Zurich, IL; USA
Weather Station: Davis Vantage Pro 2
Operating System: Windows 7
Wow! Works like a charm! Thanks so much for taking the time to walk me through it. :D :D :D

_________________
Tom Keramidas, Lake Zurich, IL, USA
Image


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Thu Dec 29, 2011 10:15 am 
Online

Joined: Wed May 06, 2009 6:29 pm
Posts: 1706
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
After waiting what seems like an age my all-time monthly rain record is about to be broken. Just 0.05" of rain required and as I write this another shower has arrived from the Irish Sea.

So if you're reading this Bob I'm about to see a flashing light appear on my all-time record page. :D

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Thu Dec 29, 2011 1:37 pm 
Online

Joined: Wed May 06, 2009 6:29 pm
Posts: 1706
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
My all-time monthly rain record has just been exceeded but the flashing green light hasn't appeared on my webpage.

I did open Cumulus and click on the Rainfall tab on New Record. Did doing that switch off the light? If it did is it possible to switch it back on again?

And if it did why doesn't the new record light come on with each new tip of the rain bucket? After all, the previously set record has just been broken again.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Thu Dec 29, 2011 1:46 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17548
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
It turns off the flashing record light when it knows you have looked at the new record. It deliberately doesn't flash the monthly rain record again; every time it rains for the rest of the month the record will be broken, and you already know that this month holds the record. It doesn't remember this across restarts, though, so you could restart if you really want it to flash again.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Thu Dec 29, 2011 2:00 pm 
Online

Joined: Wed May 06, 2009 6:29 pm
Posts: 1706
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Hi Steve. Can you confirm exactly what action causes the light to be extinguished? Is it the action of pressing the 'New Record' light on the main interface or the relevant tab when the all-time records are displayed?

New all-time records are quite rare for me now so it would be nice for the light on the webpage to stay on for a few days at least. Any possibility that instead of the light being switched off automatically a button could be provided so the user can control it? I would like to see what record has been broken but at the same time keep the light visible on the webpage until I choose (via the suggested button) to switch it off.

I've restarted Cumulus and the next shower isn't far away so hopefully I'll get to see the light.

Incidentally, thank you for supplying the new webtag (temp change in last hour). Much appreciated. :clap:

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Thu Dec 29, 2011 2:09 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17548
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
RayProudfoot wrote:
Hi Steve. Can you confirm exactly what action causes the light to be extinguished? Is it the action of pressing the 'New Record' light on the main interface or the relevant tab when the all-time records are displayed?

They're all turned off when the all-time record window is closed. Individual LEDs can be turned off by clicking on them (not that there's much point).

Quote:
New all-time records are quite rare for me now so it would be nice for the light on the webpage to stay on for a few days at least. Any possibility that instead of the light being switched off automatically a button could be provided so the user can control it? I would like to see what record has been broken but at the same time keep the light visible on the webpage until I choose (via the suggested button) to switch it off.
It's a possible future enhancement, yes, if I ever do any more major development work on Cumulus.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Thu Dec 29, 2011 2:12 pm 
Offline
User avatar

Joined: Mon Dec 20, 2010 12:12 pm
Posts: 446
Location: Palmerston, NT, Australia
Weather Station: WS-1081 with rain gauge mod
Operating System: Windows 7 & 1.9.3 b1059
Ray- if you don't want the light to go off in Cumulus, then look at your records on your webpage. I leave mine for a week, and even then when extinquished, my home page displays the date the last record was broken using javascript.

Tom- Can I suggest you make your WU banner be clickable, and direct to your WU page, and also put a url link to your website. If you need help in your User control panel, just ask. It can be tricky.

_________________
Michael, Palmerston, NT Australia www.Palmerston-WeatherImageNo image? I'm offline!
ImageImageImage


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Thu Dec 29, 2011 2:21 pm 
Online

Joined: Wed May 06, 2009 6:29 pm
Posts: 1706
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
steve wrote:
They're all turned off when the all-time record window is closed. Individual LEDs can be turned off by clicking on them (not that there's much point).

Okay, I understand. I'll keep away from that window in future.

Quote:
It's a possible future enhancement, yes, if I ever do any more major development work on Cumulus.

Oh dear. That sounds quite depressing. :cry: I'd always thought of Cumulus as being a work in progress with user-suggested tweaks adding to its versatiity. But I understand it's a lot of work for one bloke.

Anyway, excellent news. The rain has returned and my rain light is flashing!! :D

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Thu Dec 29, 2011 2:22 pm 
Online

Joined: Wed May 06, 2009 6:29 pm
Posts: 1706
Location: Cheadle Hulme, Cheshire, England
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
MickinMoulden wrote:
Ray- if you don't want the light to go off in Cumulus, then look at your records on your webpage. I leave mine for a week, and even then when extinquished, my home page displays the date the last record was broken using javascript.


Thanks for the advice Mick. It's on now so I shall keep away from the records page in Cumulus.

_________________
Cheers,
Ray, Cheshire.

Image


Top
 Profile  
 
 Post subject: Re: 'New Record' Light
PostPosted: Thu Dec 29, 2011 3:29 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17548
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
RayProudfoot wrote:
I'd always thought of Cumulus as being a work in progress with user-suggested tweaks adding to its versatiity
Small tweaks I am happy to do - and have been doing - as they don't add a lot to the 2-3 hours a day I already spend on Cumulus-related activities. But I no longer have the enthusiasm or the time to do any larger changes.

Quote:
Anyway, excellent news. The rain has returned and my rain light is flashing!! :D

Every cloud has a silver lining...

Snowing here.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 49 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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