Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Yearly Data Summary

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
User avatar
GraemeT
Posts: 312
Joined: Wed 21 Oct 2009 11:19 am
Weather Station: La Crosse WS-2355 & WS-2306
Operating System: Windoze 7, 10, 11
Location: Bayswater, Australia
Contact:

Re: Yearly Data Summary

Post by GraemeT »

That's brilliant David!
I've been thinking about something similar in php, but yours is a simpler solution.
Thanks.
Cheers,
Graeme.
bnwrx
Posts: 464
Joined: Wed 25 Feb 2009 12:01 am
Weather Station: Ambient WS2095 (Fine/Offset)
Operating System: Windows 10 64bit
Location: Woodland Park, Colorado USA
Contact:

Re: Yearly Data Summary

Post by bnwrx »

Does "Toolbox" always need to be "Open" for it to upload files? I have never used it before? I set it up to upload the "Dayfile" so do I leave it open and running or can I close it and it will still upload as scheduled?

Sorry if this seem like a basic question but want to find out. Thanks
User avatar
Super-T
Posts: 906
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Yearly Data Summary

Post by Super-T »

David
What would the format be for running your datasummary locally to the c:\cumulus\data\dayfile.txt
And, can the Cumulus/network/files not upload the dayfile.txt?
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Does Toolbox need to be running?

Post by mcrossley »

Bob - you have to leave Toolbox running. The alternative is to set-up a job in the Windows Task Scheduler to run say a batch job to perform the FTP.

Terry - as David mentioned above, Cumulus could do the upload but it would repeat it every 10mins (or whatever interval you have set) and it only needs to be uploaded once a day.
tjaliwalpa
Posts: 293
Joined: Sun 18 Apr 2010 9:47 am
Weather Station: Davis VP2
Operating System: Linux Lite Ubuntu 16.04
Location: Karoonda, SA
Contact:

Re: Yearly Data Summary

Post by tjaliwalpa »

David,

Once again, thanks for the work you have done. It is a practical and simple solution to for those of us who haven't got access to php.

Bob
Bob
User avatar
nking
Posts: 813
Joined: Thu 17 Dec 2009 2:03 pm
Weather Station: W-8681
Operating System: Windows 10
Location: Hurstpierpoint, West Sussex, UK
Contact:

Re: Yearly Data Summary

Post by nking »

A BIG thank you David - As I'm sure you're Mum would say "You're a very clever boy" :D
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Yearly Data Summary

Post by daj »

Super-T wrote:David
What would the format be for running your datasummary locally to the c:\cumulus\data\dayfile.txt
Browsers, by design, do not allow Javascript code access to local files on your PC as this is a BIG security risk. Imagine visiting a web page and it collecting files off you own PC without your knowledge :o I think there are some browser tweaks to allow it but I would strongly advise against opening up such a hole.
And, can the Cumulus/network/files not upload the dayfile.txt?
As mentioned in an earlier comment - that would mean Cumulus uploads it every 10 mins (or however often your web update happens), so that is no good.

Maybe we can persuade Steve to build in a daily upload? Toolbox was written to compliment Cumulus, but as Steve adds more features I will deprecate them in Toolbox
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Yearly Data Summary

Post by steve »

daj wrote:Maybe we can persuade Steve to build in a daily upload? Toolbox was written to compliment Cumulus, but as Steve adds more features I will deprecate them in Toolbox
It's certainly on the list of likely future enhancements, but things which Toolbox already does well I tend to treat as lower priority in Cumulus :)
Steve
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Yearly Data Summary

Post by daj »

nitrx wrote:For some reason you don't count values between 0,1 and 1 as a value by rain and wind ;)
Just to note that this issue has been fixed -- it only affects those who have a comma as their decimal separator, and only affects how a zero figure for wind and rain are shown.

Basically Javascript treats 0.2 as 0.2 and 0,2 as 0 (Who wouldn't! LOL) Anyway, javascript code updated and you need only apply if your figures in dayfile use a comma as a decimal separator (so most people need not update it)
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Yearly Data Summary

Post by nitrx »

Thanks David, well when I get 2,50 Euro I certainly want the 0,50 cents 8-)
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Yearly Data Summary

Post by daj »

I think I might also write the PHP equivalent of this as it seems to have been a success. As website owners, can decide which one to offer your users -- if you have PHP on the server use that, if not use the current Javascript solution.

(PHP would be the faster version, in theory, as the server does all the work and only delivers the results, whereas the Javascript only solution sends everything to the browser to be processed)

What do we think?
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Yearly Data Summary

Post by steve »

I'd be interested in seeing a PHP version, if it was as easy to install and customise as the existing one is.
Steve
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Yearly Data Summary

Post by PaulMy »

if it was as easy to install and customise as the existing one is.
I'll second that! and thanks to David and Steve to make this available to us :clap:

Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Yearly Data Summary

Post by nitrx »

daj wrote:I think I might also write the PHP equivalent of this as it seems to have been a success. As website owners, can decide which one to offer your users -- if you have PHP on the server use that, if not use the current Javascript solution.

(PHP would be the faster version, in theory, as the server does all the work and only delivers the results, whereas the Javascript only solution sends everything to the browser to be processed)

What do we think?
Well if it's faster I choose for php but the javascript is fast enough or does the javascript depends on the client site ?
User avatar
yv1hx
Posts: 223
Joined: Mon 05 Apr 2010 10:40 pm
Weather Station: No station yet ...
Operating System: Win XP Professional
Location: Some point in the Earth

Re: Yearly Data Summary

Post by yv1hx »

Working great from here!

http://met.ivic.gob.ve/red/Cabimas/datasummary.html

Huge Thanks David!!! :clap: :clap: :clap:
Marco
Locked