Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

charts updated too frequently

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
kkennyy
Posts: 4
Joined: Thu 31 Dec 2015 7:55 am
Weather Station: Aercus WS3083
Operating System: Raspberry Pi
Location: Romania

charts updated too frequently

Post by kkennyy »

Hi,

First, let me congratulate the developer for this awesome pice of software, it really works great.

Now, i am running CumulusMX on a raspberry pi 2, connected via usb to an Aercus WS3083 (using fine offset with light sensor driver), got it set up ok with wunderground and website ftp updates, all great. Today i notices something strange though. My charts look odd regarding the update rate. My station gets updates every 10 seconds, so normally i would say graphs should be updated the same, with new data every 10 seconds. Usually, this is true, but after some time, the chart gets data every 1 second, and the plot looks really messy. I attached here an example, you can see the point where it all gets choppy. Seems that if i restart cumulus, the previous data gets replotted correctly, but after some time after restart, updates increase at a rate of each second. Is this some kind of interpolation or what? Is my station sending 10 records at that 10 second interval or just one? I don't understand how these values get plotted, please help.

I'm sorry if this question has already been answered, i searched the forum but found nothing relevant.

Thanks!
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: charts updated too frequently

Post by steve »

Your station actually sends new data every 48 seconds. Cumulus adds a new entry to the graph data once a minute, when it's running using 'live' data. The graphs are pre-loaded at start up with data from the log files (as mentioned in the Cumulus FAQ). I suppose I could add an option to plot the graphs at a less frequent interval, if you would rather have less detailed graphs.
Steve
kkennyy
Posts: 4
Joined: Thu 31 Dec 2015 7:55 am
Weather Station: Aercus WS3083
Operating System: Raspberry Pi
Location: Romania

Re: charts updated too frequently

Post by kkennyy »

So you mean that when i restart, it plots logged data at 10 seconds interval, and new data is plotted at 1 second interval? I think 10 seconds would be perfect, as you can see the graph is nice and relatively smooth in the first part, but with 1 second intervals (after restart) is getting very mixed readings.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: charts updated too frequently

Post by steve »

No. When it starts up, it downloads any data from the logger that it needs to catch up from when it closed. It adds each entry downloaded to the log files. The interval of that data depends on the setting in your station.

It then extracts the last 24 hours data from the log file and pre-loads the graph with it. The interval in that data will be a combination of what you have the station set to, and what you have Cumulus set to - although it is sensible to have both set the same. The interval is typically several minutes.

It then starts reading live data from the station. The station supplies a new set of data every 48 seconds. Cumulus adds a new entry to the graph once a minute. Not 1 second, or 10 seconds, once a minute.

Every 10 seconds would not be a useful interval to use for adding new data to the graph for your station, as it only supplies a new reading every 48 seconds.
Steve
kkennyy
Posts: 4
Joined: Thu 31 Dec 2015 7:55 am
Weather Station: Aercus WS3083
Operating System: Raspberry Pi
Location: Romania

Re: charts updated too frequently

Post by kkennyy »

Yeah, seems i was a bit stupid about this and misread minutes for seconds. Sorry about this. I see now that indeed the plot is 10 minutes before restart, and 1 minute after, like you said. Thanks for the clarification though, at least now i understand the mechanism.

Would like to see a feature maybe sometime to customize the plotted interval. Seems like maybe a 5 minute refresh would be more suited. Of course if you also think it would be useful to have and it can be implemented.

Thanks a lot!
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: charts updated too frequently

Post by daj »

kkennyy wrote: Would like to see a feature maybe sometime to customize the plotted interval. Seems like maybe a 5 minute refresh would be more suited. Of course if you also think it would be useful to have and it can be implemented.
I'd like to see something similar in the future. The once a minute plot can generate some very messy charts. A 'nice to have' in the future
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: charts updated too frequently

Post by steve »

Not too hard to implement (for factors of 60 minutes) - I may put it in the next build. Of course, I also get people who want the graphs plotted more frequently, but it's unlikely I'll be adding that any time soon.
Steve
leforthomas
Posts: 5
Joined: Sun 03 Jan 2016 3:40 pm
Weather Station: Aercusws3803
Operating System: Linux
Location: Spain

Re: charts updated too frequently

Post by leforthomas »

it seems you can also change the interval on the station using this (but do not run at same time as cumulus) http://www.aercusinstruments.com/conten ... 20V2.2.zip
I haven't tried it yet though...
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: charts updated too frequently

Post by steve »

There's also a small utility I wrote (for Windows only) , which is on the downloads page, which can set the station's logger interval. It runs without requiring installation.
Steve
leforthomas
Posts: 5
Joined: Sun 03 Jan 2016 3:40 pm
Weather Station: Aercusws3803
Operating System: Linux
Location: Spain

Re: charts updated too frequently

Post by leforthomas »

Great!!! I will have a look now, thanks!!!!
Locked