Page 1 of 1

Historical data

Posted: Tue 28 Jul 2009 10:30 pm
by wa7hyd
I have added Cumulus to my WeatherLink v5.4 weather page using the Davis Vantage Pro.

From the Trend page I get a big wind graph and the rest of the small graphs. If I select a small graph, the large wind graph goes away, and nothing else happens. What did I miss in setting up the Trends?

All of my historical records from the Weatherlink system failed to transfer over to the Cumulus system. How can I recover them?

I'm totally new to this type of forum, so please forgive my blundering about.

de Bob, WA7HYD
Marysville, WA

http://mysite.verizon.net/bhuson2
http://mysite.verizon.net/bhuson2/cumulus

Re: Historical data

Posted: Wed 29 Jul 2009 7:30 am
by steve
wa7hyd wrote:From the Trend page I get a big wind graph and the rest of the small graphs. If I select a small graph, the large wind graph goes away, and nothing else happens. What did I miss in setting up the Trends?
I don't think you've done anything wrong, I think it's a 'problem' with your web server. To avoid caching problems, the javascript on that page which swaps the images appends a number (based on the current time) to the end of the image URL:

Code: Select all

<script type="text/javascript">
function changeImage(im) {
	document.images["graphs"].src = im + "?" + new Date().getTime();
}
</script>
An example of the URL this produces is: http://mysite.verizon.net/bhuson2/cumul ... 8851868097 - which fails, whereas http://mysite.verizon.net/bhuson2/cumul ... s/temp.png works.

I recall someone else having a similar problem before (possibly also with verizon), but I don't know if they resolved it. A workaround would be to change the page (edit the trendsT.htm file in the Cumulus web folder) so that the code looks like this:

Code: Select all

<script type="text/javascript">
function changeImage(im) {
	document.images["graphs"].src = im;
}
</script>
But note that this will probably introduce caching issues where browsers show a cached copy of the image instead of the latest. Note also that the trendsT.htm file will be overwritten if/when you install a new version of Cumulus, so you'll need to repeat the edit (it's probably simpler to do it this way than to take your own copy of the standard files, unless you plan on some major rework to them).
All of my historical records from the Weatherlink system failed to transfer over to the Cumulus system. How can I recover them?
If you mean all of your previous data stored by the Weatherlink software, Cumulus has no import facility from Weatherlink or any other software. I'm sorry if something gave you the impression that it did.

If you just mean the data currently residing in the VP data logger from before the point where you first ran Cumulus, see this - http://sandaysoft.com/faq#faq_19