Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
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
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
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
Server Generated Graphs for MX
Moderator: mcrossley
-
- Posts: 144
- Joined: Sun 13 Feb 2011 7:12 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: RaspBerry Pi Win 10 OSx
- Location: Spring, Texas USA
- Contact:
Re: Server Generated Graphs for MX
Thanks again, I'll upload the new work.
Now I'm working on realtimelogSql.php, it fails on the DB query.
Now I'm working on realtimelogSql.php, it fails on the DB query.
retreat at augusta pines weather
CumulusMX on Raspberry π rPi5
http://augusta-pines-weather.com / CumulusMX 4.0.0 build:4020
WeatherUnderground KTXSPRIN538
CumulusMX on Raspberry π rPi5
http://augusta-pines-weather.com / CumulusMX 4.0.0 build:4020
WeatherUnderground KTXSPRIN538
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: Server Generated Graphs for MX
Hi,
Am i right that the windrose script needs the pro version of JpGraph ?
Am i right that the windrose script needs the pro version of JpGraph ?
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12846
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Server Generated Graphs for MX
No, it is included in the free version. Never noticed that table before, but the free download does include the windrose module, whether by accident or design?...
- BeaumarisWX
- Posts: 376
- 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: Server Generated Graphs for MX
Hi Mark,mcrossley wrote:OK, a new version of the Windrose scripts is now available (and associated graphSettings.php).
Most windrose settings moved to graphSettings.php
Windrose can now be configured for 8 or 16 compass points
Windows compass point now localised
Wind speed unit put into the title
Image caching enabled
I think it all works, but I'll expect I hear if it doesn't!
Installed the latest : graphWindRose.php
.json : http://hrvistaweather.com/wxshare/graphWindRose.php 48hr
SQL : http://hrvistaweather.com/wxshare/graphWindRoseSql.php 48hr
However I feel they are way off (seem flipped / rotated) or something like.
When compared to my :
.json : (Wind Direction) http://hrvistaweather.com/wxshare/graphWdir.php 48hr (I believe displays correctly).
SQL: : (Wind Direction) http://hrvistaweather.com/wxshare/graphWdirSQL.php 48hr (I believe displays correctly).
SQL: (Wind Rose) Highcharts : http://hrvistaweather.com/weather/wxwindrose.php select 48hr (I believe displays correctly).
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 :
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 :
- mcrossley
- Posts: 12846
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Server Generated Graphs for MX
Thanks Tony, I'll have a look at this later - deep joy, debugging some else's code!
Mine does seem to roughly correspond to my Highcharts graph, so some investigation is requried.
Mine does seem to roughly correspond to my Highcharts graph, so some investigation is requried.
- mcrossley
- Posts: 12846
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Server Generated Graphs for MX
Tony, I think I have found the problem with the windrose, version 1.2 is now on GitHub.
- BeaumarisWX
- Posts: 376
- 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: Server Generated Graphs for MX
Hi Mark,
Sorry late reply, been off the planet for a while (bad Viral Chest infection) .
Greatly appreciated, all seems to be correct now, installed both json and sql.
Kind regards,
Sorry late reply, been off the planet for a while (bad Viral Chest infection) .
Greatly appreciated, all seems to be correct now, installed both json and sql.
Kind 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 :
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 :
- BeaumarisWX
- Posts: 376
- 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: Server Generated Graphs for MX
Hi Mark,
Sorry, having more issues with : graphWindRose.php
We have been in a near dead calm state wind wise recently 90(+)% over 48hrs, and i am wondering if all of a sudden this is the cause of the graphWindRose.php failing again.
i.e. mainly ( 0 or 0.0 ) data in the .json files. (Note same error occuring with the Sql Version which makes me think it is the 0's)
I have saved copies of the .json files as at time of post (just in case the wind increases and results in error going away).
http://hrvistaweather.com/wdirdata_calm.json
http://hrvistaweather.com/winddata_calm.json
.json : http://hrvistaweather.com/wxshare/graphWindRose.php 48hr
SQL : http://hrvistaweather.com/wxshare/graphWindRoseSql.php 48hr
Kind Regards,
Sorry, having more issues with : graphWindRose.php
We have been in a near dead calm state wind wise recently 90(+)% over 48hrs, and i am wondering if all of a sudden this is the cause of the graphWindRose.php failing again.
i.e. mainly ( 0 or 0.0 ) data in the .json files. (Note same error occuring with the Sql Version which makes me think it is the 0's)
I have saved copies of the .json files as at time of post (just in case the wind increases and results in error going away).
http://hrvistaweather.com/wdirdata_calm.json
http://hrvistaweather.com/winddata_calm.json
.json : http://hrvistaweather.com/wxshare/graphWindRose.php 48hr
SQL : http://hrvistaweather.com/wxshare/graphWindRoseSql.php 48hr
Kind 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 :
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 :
-
- Posts: 15
- Joined: Fri 08 Jul 2016 6:14 am
- Weather Station: Lacrosse 2350
- Operating System: Windows 8.1
- Location: Italia
Re: Server Generated Graphs for MX
hello , I would be interested to save data to MySQL and read .
However, the aim should be to generate a graph of a precise period , then selecting the start and end of the period .
It's possible?
However, the aim should be to generate a graph of a precise period , then selecting the start and end of the period .
It's possible?
- mcrossley
- Posts: 12846
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Server Generated Graphs for MX
Tony, could you send me your graphWindRose.php and graphSettings.php files please? The line numbers in your error messages do not time up with the latest versions.HRVistaWeather wrote: i.e. mainly ( 0 or 0.0 ) data in the .json files. (Note same error occuring with the Sql Version which makes me think it is the 0's)
I have saved copies of the .json files as at time of post (just in case the wind increases and results in error going away).
http://hrvistaweather.com/wdirdata_calm.json
http://hrvistaweather.com/winddata_calm.json
.json : http://hrvistaweather.com/wxshare/graphWindRose.php 48hr
SQL : http://hrvistaweather.com/wxshare/graphWindRoseSql.php 48hr
Kind Regards,
- mcrossley
- Posts: 12846
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Server Generated Graphs for MX
Actually, it doesn't matter, I figured it out from the 4x error messages, now to debug...
- mcrossley
- Posts: 12846
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Server Generated Graphs for MX
Sounds like it should be, once you have the data in MySQL you can extract pretty much whatever you want.master1986 wrote:hello , I would be interested to save data to MySQL and read .
However, the aim should be to generate a graph of a precise period , then selecting the start and end of the period .
It's possible?
- mcrossley
- Posts: 12846
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Server Generated Graphs for MX
Well, that was interesting! I think the WindRose may finally be sorted out, the 'help' and documentation on the JPGraph site leaves shall we say a little to be desired, I had to reverse engineer the classes to work some of it out. The code was not plotting calm conditions at all.
Anyway ver 1.4+ is on GitHub, give it a whirl.
Anyway ver 1.4+ is on GitHub, give it a whirl.
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Server Generated Graphs for MX
Not used the windrose graph before.
Just downloaded and updated the set from GitHub and tweaked all the ones I was already using and all are OK.
Tried to get the windrose working without success - everything else is OK.
Yes I did mod the jpgraph_windrose.php file to remove the import of 'jpgraph_glayout_vh.inc.php'.
The caching fix was already applied.
When I run the graphWindRose.php directly on the local dev server with 'errors on' I see
Undefined index: NNE in C:\wamp64\www\wxshare\graphWindRose.php on line 78 (and the corresponding errors any other directions in play) with corresponding
Invalid argument supplied for foreach() in C:\wamp64\www\wxshare\graphWindRose.php on line 82
Doing this on the public webserver only shows the foreach() errors.
The paths are all set to my particular setup and are correct.
Any suggestions?
Thanks
Just downloaded and updated the set from GitHub and tweaked all the ones I was already using and all are OK.
Tried to get the windrose working without success - everything else is OK.
Yes I did mod the jpgraph_windrose.php file to remove the import of 'jpgraph_glayout_vh.inc.php'.
The caching fix was already applied.
When I run the graphWindRose.php directly on the local dev server with 'errors on' I see
Undefined index: NNE in C:\wamp64\www\wxshare\graphWindRose.php on line 78 (and the corresponding errors any other directions in play) with corresponding
Invalid argument supplied for foreach() in C:\wamp64\www\wxshare\graphWindRose.php on line 82
Doing this on the public webserver only shows the foreach() errors.
The paths are all set to my particular setup and are correct.
Any suggestions?
Thanks
- mcrossley
- Posts: 12846
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Server Generated Graphs for MX
Doh! OK, I see a possible issue, I'll send you a test version a bit later today...