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 4018) - 28 March 2024

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 drop-down menus to 2030)

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

Highcharts Graphs

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
User avatar
mcrossley
Posts: 12695
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

Post by mcrossley »

PaulMy wrote:I started on getting the Highcharts but am missing something(s) as http://www.komokaweather.com/weather/hi ... umulus.htm gives a blank screen.
and http://www.komokaweather.com/weather/hi ... Parser.php gives:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 35 bytes) in /home/content/96/5379896/html/weather/highcharts/realtimeLogParser.php on line 81

1. I have uploaded the folders/files from http://www.highcharts.com to http://www.komokaweather.com/weather/highcharts/
2. Uploaded the realtimeCumulus.htm, realtimeCumulus.js and realtimeLogParser.php to the same http://www.komokaweather.com/weather/highcharts/
edited realtimeCumulus.htm line 29 from <script src="./realtimeCumulus.js"> to <script src="realtimeCumulus.js">
edited trsltimeCumulus.js line 19 from realtimefile ='./realtime.txt' to realtimefile ='../weather/realtime.txt'
edited realtimeLogParser.php line 22 from $logfile ='realtime.log'; to $logfile ='realtimelog,txt'; (not sure if this is correct)
3. I already had Toolbox create and append a realtimelog.txt file and uploaded that to http://www.komokaweather.com/weather/highcharts/
3a Not sure what to do with the tail.exe utility from GNU utilities ??

Any help and suggestions appreciated,
Paul
Paul, the page is not finding the scripts or the logparser PHP....

Code: Select all

Failed to load resource: the server responded with a status of 404 (Not Found) http://www.komokaweather.com/weather/highcharts/highcharts/js/highcharts.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.komokaweather.com/weather/highcharts/highcharts/js/themes/grid.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://www.komokaweather.com/weather/highcharts/.realtimeLogParser.php?count=120&rfall&press&wspeed&temp
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: Highcharts Graphs

Post by mm23 »

Good morning everybody,

somebody knows where I can get realtimeLogSql.php for highcharts graphs?

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 »

You need http://wiki.sandaysoft.com/a/ImportCumulusFile and set the parameter to realtime
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: Highcharts Graphs

Post by mm23 »

thanks for your answer, but actually I was looking for this:
http://webcache.googleusercontent.com/s ... p?view=sce
Image
User avatar
mcrossley
Posts: 12695
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

Post by mcrossley »

It looks like you have got it then! :roll: :lol:
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: Highcharts Graphs

Post by mm23 »

How do you know that? :D
Image
mm23
Posts: 152
Joined: Mon 03 Feb 2014 12:22 pm
Weather Station: ws 2350
Operating System: windows xp sp3
Location: Europe

Re: Highcharts Graphs

Post by mm23 »

Greetings everyone..........
Difficulties once again.....I am looking for a few historic php files:

historicTemperature.php
historicTemperatureYearly.php
historicTemperatureHiLo.php
historicTemperatureHourlyMonth.php
historicPressure.php
historicWind.php
historicWindYearly.php
historicRainMonthly.php
historicRainYearly.php
historicRainDaily.php
historicHumidity.php
historicHumidityYearly.php

I need it for a history graph

Any good soul?

Thanks!
Image
atmsv
Posts: 2
Joined: Mon 15 Oct 2012 2:24 pm
Weather Station: PCE-FWS20
Operating System: Windows 8.1 Update 1
Location: Sangonera la Verde
Contact:

Re: Highcharts Graphs

Post by atmsv »

Hi mcrossley,

I'm quite interested in the historic graphs. I already have my variables in a mysql database but I don't know how to do to implement the code to show the graph. How can I get the code? I've already try http://weather.wilmslowastro.com/graphs ... p?view=sce but doesn't show anything

Thanks
User avatar
mcrossley
Posts: 12695
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

Post by mcrossley »

The data extraction scripts are all in the /utils/ folder on my web server, e.g.
http://weather.wilmslowastro.com/utils/ ... p?view=src

You can get the names of all data extraction scripts from the main page javascript.
Last edited by mcrossley on Thu 17 Dec 2015 11:56 am, edited 1 time in total.
atmsv
Posts: 2
Joined: Mon 15 Oct 2012 2:24 pm
Weather Station: PCE-FWS20
Operating System: Windows 8.1 Update 1
Location: Sangonera la Verde
Contact:

Re: Highcharts Graphs

Post by atmsv »

mcrossley wrote:The data extraction scripts are all in the /utils/ folder on my web server, e.g.
http://weather.wilmslowastro.com/utils/ ... p?view=src

You can get the names of all data extraction scripts from the main page javascript.

Now I have the php code but I don't know how to do Highcharts graphs like in your web. I think other files, like .css files o .js files are needed. I see some other web pages apart from yours, that have the same menus, option, etc..

Could I have all necessary for having the same than you, but with my weather data?.

Thank you very much
User avatar
mcrossley
Posts: 12695
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

Post by mcrossley »

Feel free to grab the page source and JavaScript files from my web site. My CSS will be a bit site specific and isn't really required for a basic implementation.
User avatar
BeaumarisWX
Posts: 360
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: Highcharts Graphs

Post by BeaumarisWX »

Hey Mark,

Best days Solar in a while,

Visualized thanks to your script.
regards,
You do not have the required permissions to view the files attached to this post.
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
User avatar
mcrossley
Posts: 12695
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

Post by mcrossley »

That looks very tidy Tony :clap: , I'm always guilty of getting things working then not doing the prettifying, there's always something else to tinker with :roll:
User avatar
BeaumarisWX
Posts: 360
Joined: Mon 09 Apr 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 Pro Hades Canyon
Location: Beaumaris, Tasmania, AU
Contact:

Re: Highcharts Graphs

Post by BeaumarisWX »

Thanks Mark,
The luxury of being able to spend time prettifying for me is due solely to the hard yards done up front by you, so thanks for that it's greatly appreciated.

regards
Tony Beaumaris, Tasmania (AUS)

CMX Mobile : https://beaumaris-weather.com/BWX/
CMX Default: https://beaumaris-weather.com/cumulusmx_default/
Colour Dashboard : https://beaumaris-weather.com/dashborad_color.php
Click below for Saratoga Template :
Image
horndrup
Posts: 1
Joined: Sun 17 May 2015 3:25 pm
Weather Station: Rosenborg 68760
Operating System: Windows Server 2008 R2
Location: Danmark

Re: Highcharts Graphs

Post by horndrup »

I'm trying to make my own weather page and would really like to know how to make the graphs on these to pages. Can anyone help ? I have all my data in MySQL from the realtime, day og monthly files.

http://weather.wilmslowastro.com/graphs_recent.php
http://weather.wilmslowastro.com/graphs_historic.php
Post Reply