Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.9.1 (build 3096) - 31 October 2020 (please see announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

Highcharts Graphs

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Highcharts Graphs

Post by gemini06720 »

Dan, I use two software that provide the facilities of the Cumulus Toolbox plus.

The most used software is Super Flexible Software Syncovery - it allows me to backup all my data (bi-directional copy), not only on my personal computer, but also between all computers on my home/office network and between all computers on my home/office network and all my online web servers - flexible yet complex and very powerful.

And my second software (really used as much) is Splinterware Software Solutions System Scheduler Professional - this is more of a 'Task Scheduler' replacement but with a lot more flexibility.

Both provide me with the flexibility that I need, including the generation of simulated CRON jobs on both my personal and my home/office servers.

User avatar
JennyLeez
Posts: 268
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: Highcharts Graphs

Post by JennyLeez »

After following this topic and with help from Arthur I have finally managed to to get both the Near time Graph and the historic graphs functioning although I need to tweak my layout some.

I just wanted to say thank you mark, these are really neat :)

Cheers
Jenny
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image

User avatar
JennyLeez
Posts: 268
Joined: Wed 16 Dec 2009 2:32 am
Weather Station: La Crosse WS3083
Operating System: Windows XP, Win7 & Win 10
Location: Wairoa, Hawkes Bay. New Zealand.
Contact:

Re: Highcharts Graphs

Post by JennyLeez »

water01 wrote:Well I disagree. I have Cumulus Toolbox installed on both Windows XP and Windows 7 and it does everything it says it does perfectly correctly, and has never missed a beat. It is a very reliable program.
I agree, I have been running the Toolbox since it was made available. It has been nothing but reliable and I use it to upload many files during the day especially those that are only uploaded once.
Cheers
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
Image

User avatar
mcrossley
Posts: 7148
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Highcharts Graphs

Post by mcrossley »

Going wayyy back to the historic Highcharts graphs ;) I had 5 mins to spare and added monthly average temperatures by year, and added station averages to both that and the monthly rain by year graphs - both pretty easy to set up.

http://weather.wilmslowastro.com/highch ... Graphs.htm

User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: Highcharts Graphs

Post by gwheelo »

I still haven't put a 'package' together - it's on the to-do list...
Do you have a target time frame - notice I did not use the term "date". ;)

gwheelo
Image

Palmyweather
Posts: 38
Joined: Sat 28 Nov 2009 9:57 am
Weather Station: W1081
Operating System: Windows 7
Location: New Zealand
Contact:

Re: Highcharts Graphs

Post by Palmyweather »

After playing around with the HighChart concept for a few weeks now, something I feel that is missing is the ability to be able to select an area of chart and zoom in on it (using a mouse click).

Does anyone know if this is possible to implement? I feel this would finish the concept off very well.

EG: If the Real-Time HighCharts were set to display 12 hours of data and the user wanted to see a closer view of a rapid temperature change, that user could select the area of chart and have it zoom in to see this data more clearly.

This could also be useful with the historic graphs too.

Just a thought.
Check my Palmerston North Weather Station out at http://palmyweather.co.nz .

Image

User avatar
mcrossley
Posts: 7148
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Highcharts Graphs

Post by mcrossley »

Zooming is indeed possible, take a look at this demo...
http://www.highcharts.com/demo/line-time-series

You just need to add a config parameter, zoom type.

Palmyweather
Posts: 38
Joined: Sat 28 Nov 2009 9:57 am
Weather Station: W1081
Operating System: Windows 7
Location: New Zealand
Contact:

Re: Highcharts Graphs

Post by Palmyweather »

Wow, that was really simple to set up. For anyone else who may be interested, it was just a matter of adding zoomType: 'x' to the chart parameter within the .js file.

Code: Select all

  chart: {
                renderTo: 'container',
                zoomType: 'x'
},
Thank you for the link on how to do this.
Check my Palmerston North Weather Station out at http://palmyweather.co.nz .

Image

User avatar
kingqueen
Posts: 60
Joined: Tue 26 Feb 2013 6:52 pm
Weather Station: Maplin N96GY / Fine Offset 1081
Operating System: Windows 7 HP 64 bit
Location: Wetherby, UK
Contact:

Re: Highcharts Graphs

Post by kingqueen »

I'd be very grateful for any help anybody can offer.

I've got the highcharts installed on my website. The problem is, it usually just displays a blank chart. For a while, it showed the data, but then it stopped again.

I removed it from my website, deleted all the files (highcharts directory, realtimeCumulus.js, realtimeLogParser.php, and the test webpage realtimeCumulus.htm, realtimelog.txt) and tried again. Last night I reinstalled everything, and the only thing I changed from the default was to alter realtimeCumulus.js to point at realtimelog.txt as generated by the Cumulus toolbox.

I am getting a blank chart again:

Image

Here's the chart, the javascript, the real time log.

Any hints / help very gratefully received! Thank you!
Image

User avatar
beteljuice
Posts: 3051
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Highcharts Graphs

Post by beteljuice »

I changed from the default was to alter realtimeCumulus.js to point at realtimelog.txt
That is NOT the same as realtime.txt ;)
Image
......................Imagine, what you will KNOW tomorrow !

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: Highcharts Graphs

Post by nitrx »

This script doesn't use the realtime.txt I think Betel

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: Highcharts Graphs

Post by nitrx »

kingqueen wrote: Any hints / help very gratefully received! Thank you!
Your realtimeLogParser.php shows an error Failed to open log file.No valid data types supplied.. http://www.wetherbyweather.org.uk/realtimeLogParser.php

User avatar
kingqueen
Posts: 60
Joined: Tue 26 Feb 2013 6:52 pm
Weather Station: Maplin N96GY / Fine Offset 1081
Operating System: Windows 7 HP 64 bit
Location: Wetherby, UK
Contact:

Re: Highcharts Graphs

Post by kingqueen »

nitrx wrote:Your realtimeLogParser.php shows an error Failed to open log file.No valid data types supplied.. http://www.wetherbyweather.org.uk/realtimeLogParser.php
Thank you! That's done it. I had stupidly not thought I would have to alter both JS files to point to the name of the log file.

Thanks
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: Highcharts Graphs

Post by nitrx »

Nice

jachym
Posts: 53
Joined: Mon 07 Jan 2013 3:47 pm
Weather Station: WH 1080
Operating System: Win XP
Location: Czech republic

Re: Highcharts Graphs

Post by jachym »

Hi guys,

first of all, I looked at some of your websites and they are absolutely amazing, especially the one from mcrossley.

Now, I have a WH1080 at home and have been using cumulus since I got it and am absolutely satisfied with it. However, because I am a bit of a "statistics geek" I like to do all sorts of various data calculations graphs etc. The possibilities in Cumulus itself were in this perspective not enough for me. So what I did is I imported all the data into Excel and made various sheets that displayed graphs for individual months, days, maximum values, monthly comparisons etc.
I mostly used the graphs that are integrated into Excel, pivot tables etc.
However, it has now been more than a year that I log the data and I realized excel was not the ideal....
OK, first, very important thing. My computer is not constantly on and I do not run it as a server - this means I log the data into the station memory and approximately once a week I download all the data from the station, which means I do not really need to display (and even cannot) the real-time conditions.
The reason why I dont want to use excel any more is that you can probably imagine what the problem is..... Every time I add data to the data sheet I must also change all the formulae, cell ranges etc.... For example if I want to display lets say last 6 months, there is really no way to do this in excel other than specifically defining the cell ranges etc.

Now, in the past I have done some simple webpages and I have learnt javascript. Therefore I thought, well, it would be nice if I could somehow use a script to generate all these things - to use the previous example, it would not be a problem to make a script that would get the current date and month and simply get data from a database for last 6 months etc.

So I started to do some research and found HighCharts, which I thought would be great to use. There was however the problem that I had no idea how to get the data from the folder on my computer in a text file (cumulus logs) to the actual graphs on a webpage...
Then I found this post and realized that you guys have exactly what I was looking for, especially I love mcrossley's page.
My question therefore is.... I understand it is probably a long-term thing for me to learn, but.... what exactly should I do.... where to start? If I understand it correctly, I need the data in a MySQL database, so I would have to learn how to use that (but that probably wont be so difficult I already looked at it a bit), then I need a server - thats not a problem, I already have a personal webpage and MySQL is supported by the provider.
But how do I then put it all together..... As I said, I dont assume anyone to write all the scripts for me, I just would very much appreciate help with what exactly I should learn and where to start.... and the one thing I still am not sure about is whether this would all work without the real-time function - all your websites are constantly updated automatically. In my case I would add the data into the database in a batch lets say once every week, but I just need to be able to then display the data witouht having to rewrite all the data ranges, formulae, etc. like I have to now in Excel. Plus the other thing is, for example I want to have a comparison of January 2011, 2012, ... so I had a graph in excel with the defined ranges... and now when I also have data for 2013 I had to manually add another column... well I guess you know what I mean...

Thanx very much in advance for any tips, I just really don't know where to start

Post Reply