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
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
Highcharts Graphs
- 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
With the new script the local time here is correct Mark thanks , not sure what my visitors will see in another time zone..
-
- Posts: 71
- Joined: Sat 14 Apr 2012 5:01 pm
- Weather Station: WMR200
- Operating System: XP SP3
- Location: Lancashire
Re: Highcharts Graphs
Good job Mark....I suspect quite few will like that
Regards Kevin
Regards Kevin
-
- Posts: 29
- Joined: Tue 31 Jul 2012 2:08 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian on Pi B+
- Location: United States
- Contact:
Re: Highcharts Graphs
I just set up highcharts using the realtimeCumulus files. Everything works fine, however after a minute or 2, the graph resets to 2006. Is there a setting I am missing?
Example:
http://www.warrenskywarn.org/index2.htm
Example:
http://www.warrenskywarn.org/index2.htm
- 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
You have a - as date separator in the realtime.log so you have to change the realtimeCumulus.js script I think.
should be
if this doesn't work look at the seprator in the php file and leave the js script as it was
Code: Select all
// The various delimiters used in your version of realtime.txt
dateDelimiter = '/',
Code: Select all
// The various delimiters used in your version of realtime.txt
dateDelimiter = '-',
- mcrossley
- Posts: 12771
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Highcharts Graphs
It is going wrong in the realtimeLogParser.php
Your realtime.txt has the date format "05/12/12"
but...
Your realtime.log has the date format "2012-12-05"
So different
realtimeLogParser.php is set up to process the date in the realtime.txt format
So you would need to change the date delimiter to "-"
and changeto
You also need to edit the highcharts script to change the graph temperature units from °C to °F, rainfall mm to in, pressure hPA to inHg
Your realtime.txt has the date format "05/12/12"
but...
Your realtime.log has the date format "2012-12-05"
So different
realtimeLogParser.php is set up to process the date in the realtime.txt format
So you would need to change the date delimiter to "-"
and change
Code: Select all
$tim = gmmktime($t[0], $t[1], $t[2], $d[1], $d[0], $d[2]) * 1000;
Code: Select all
$tim = gmmktime($t[0], $t[1], $t[2], $d[1], $d[2], $d[0]) * 1000;
-
- Posts: 53
- Joined: Wed 05 Dec 2012 8:39 am
- Weather Station: w1080
- Operating System: Virtualbox XP environment
- Location: Australia
- Contact:
Re: Highcharts Graphs
Also requesting the historical pages please!!!
-
- Posts: 29
- Joined: Tue 31 Jul 2012 2:08 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian on Pi B+
- Location: United States
- Contact:
Re: Highcharts Graphs
I have made progress by changing the suggested entry in realtimeLogParser.php.
So now the time does not shift, however the data (graph lines) disappear after a minute.
http://www.warrenskywarn.org/cumulus/re ... umulus.htm
So now the time does not shift, however the data (graph lines) disappear after a minute.
http://www.warrenskywarn.org/cumulus/re ... umulus.htm
- mcrossley
- Posts: 12771
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Highcharts Graphs
It is still not parsing the date correctly, you still need to set...
$date_delimiter = '-';
it is still set to
$date_delimiter = '/';
$date_delimiter = '-';
it is still set to
$date_delimiter = '/';
-
- Posts: 29
- Joined: Tue 31 Jul 2012 2:08 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian on Pi B+
- Location: United States
- Contact:
Re: Highcharts Graphs
I fixed it, but it still blanks out for some reason.
- mcrossley
- Posts: 12771
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Highcharts Graphs
You have changed the date delimiter in realtimeCumulus.js to "-", but your realtime.txt file uses "/"
-
- Posts: 3256
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Highcharts Graphs
I now have the Realtime Highcharts working here and I am using Cumulus Toolbox to give me the log file and upload it every minute.
http://dmjsystems.co.uk/weather/index.htm
Thanks for the help Mark.
http://dmjsystems.co.uk/weather/index.htm
Thanks for the help Mark.
-
- Posts: 53
- Joined: Wed 05 Dec 2012 8:39 am
- Weather Station: w1080
- Operating System: Virtualbox XP environment
- Location: Australia
- Contact:
Re: Highcharts Graphs
Water01 - It doesn't show up for me, you sure you referenced the webserver correctly? All i get is a blank chart.
I have my realtime data working. Just got to build the rest of the site.
I have my realtime data working. Just got to build the rest of the site.
-
- Posts: 3256
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Highcharts Graphs
Worked fine for me but I did leave the www of but that is all.
Try http://www.dmjsystems.co.uk/weather/
Try http://www.dmjsystems.co.uk/weather/
-
- Posts: 3256
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Highcharts Graphs
I have now got the Highcharts working with my historic data see http://dmjsystems.co.uk/weather/historicgraphs.htm
Many thanks to Mark for all his help and patience.
Many thanks to Mark for all his help and patience.
-
- Posts: 53
- Joined: Wed 05 Dec 2012 8:39 am
- Weather Station: w1080
- Operating System: Virtualbox XP environment
- Location: Australia
- Contact:
Re: Highcharts Graphs
Question i am now replacing my TRENDS graphs with the highcharts. I got everything working so far. But i wanted to if you know how to have the plots turned OFF until you click the icon up the top?