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
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
Server Generated Graphs for MX
Moderator: mcrossley
-
- Posts: 265
- Joined: Tue 10 Sep 2013 8:40 pm
- Weather Station: Ecowitt GW1003 (GW1000)
- Operating System: Raspbian 10 (Buster) / Mono 6.12
- Location: Freiston, Lincolnshire, UK
- Contact:
Re: Server Generated Graphs for MX
Thanks Mark. Anything helps at the moment, I just tend to be going round in circles. Love a challenge and will not give in until its solved.
Andy
Andy
-
- Posts: 265
- Joined: Tue 10 Sep 2013 8:40 pm
- Weather Station: Ecowitt GW1003 (GW1000)
- Operating System: Raspbian 10 (Buster) / Mono 6.12
- Location: Freiston, Lincolnshire, UK
- Contact:
Re: Server Generated Graphs for MX
Mark,
I didnt even see the error logs. Once I looked for them and found them I could see that the directory I was using (public_html/weather/jpgraph) was incorrect even though I thought this was the full directory. There were another 2 directories to put before the public_html/weather/jpgraph. Now it all seems to be working 100% and caching.
I really appreciate your help and much prefer to be pointed rather than told. That way I learn.
Once again, many thanks.
Andy
I didnt even see the error logs. Once I looked for them and found them I could see that the directory I was using (public_html/weather/jpgraph) was incorrect even though I thought this was the full directory. There were another 2 directories to put before the public_html/weather/jpgraph. Now it all seems to be working 100% and caching.
I really appreciate your help and much prefer to be pointed rather than told. That way I learn.
Once again, many thanks.
Andy
- Werk_AG
- Posts: 198
- Joined: Sun 13 Jan 2013 8:04 pm
- Weather Station: WeatherDuino 4Pro
- Operating System: Windows 7
- Location: Cercal CDV - Portugal
- Contact:
Re: Server Generated Graphs for MX
Hi Mark
One more time, thank you for sharing your work.
I installed the jpgraph today. Everything is working fine, except an annoying thing: I can't manage to get km/h as units label for wind speed graphs.
What I'm doing wrong? I tried Km/h, km/h, kmp, and never get any units label.
Don't know if it's important, I'm using the Mysql version of the script, with Cumulus 1
Regards
Werk_AG
One more time, thank you for sharing your work.
I installed the jpgraph today. Everything is working fine, except an annoying thing: I can't manage to get km/h as units label for wind speed graphs.
Code: Select all
$GRAPH['uom'] = array('temp'=>'C', 'rain'=>'mm', 'wind'=>'km/h', 'baro'=>'hPa', 'cloudbase'=>'meter');
Don't know if it's important, I'm using the Mysql version of the script, with Cumulus 1
Regards
Werk_AG
-
- Posts: 265
- Joined: Tue 10 Sep 2013 8:40 pm
- Weather Station: Ecowitt GW1003 (GW1000)
- Operating System: Raspbian 10 (Buster) / Mono 6.12
- Location: Freiston, Lincolnshire, UK
- Contact:
Re: Server Generated Graphs for MX
Does anybody by chance have a php script for displaying min/max/avg temperatures on a daily basis and also one for daily rainfall, similar to what was available in Cumulus 1.
I have been using Marks excellent scripts and managed to work out how to get the data in there and create some new graphs (one line graph and one bar graph) but I am stuck on generating just the daily date on the x-axis. I have been through the JPgraph manual and it is way way over my head. I have posted my graphsettings and php scripts below.
Really am stuck.......again and my head is about to explode.
Thanks
Andy
I have been using Marks excellent scripts and managed to work out how to get the data in there and create some new graphs (one line graph and one bar graph) but I am stuck on generating just the daily date on the x-axis. I have been through the JPgraph manual and it is way way over my head. I have posted my graphsettings and php scripts below.
Really am stuck.......again and my head is about to explode.
Thanks
Andy
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12694
- 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
Yep, the UOM isn't being used for the Wind graph. In graphWind.php line 27 needs to be changed...Werk_AG wrote:Hi Mark
One more time, thank you for sharing your work.
I installed the jpgraph today. Everything is working fine, except an annoying thing: I can't manage to get km/h as units label for wind speed graphs.
What I'm doing wrong? I tried Km/h, km/h, kmp, and never get any units label.Code: Select all
$GRAPH['uom'] = array('temp'=>'C', 'rain'=>'mm', 'wind'=>'km/h', 'baro'=>'hPa', 'cloudbase'=>'meter');
Don't know if it's important, I'm using the Mysql version of the script, with Cumulus 1
Regards
Werk_AG
Code: Select all
From:
$graph->title->Set('Wind (' . $data['units']. ')');
to:
$graph->title->Set('Wind (' . $GRAPH['uom']['wind']. ')');
-
- Posts: 3215
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Server Generated Graphs for MX
As of MX v3025 Steve made Daily Temp and Rain available as standard in the Trends web page.Does anybody by chance have a php script for displaying min/max/avg temperatures on a daily basis and also one for daily rainfall, similar to what was available in Cumulus 1.
- Werk_AG
- Posts: 198
- Joined: Sun 13 Jan 2013 8:04 pm
- Weather Station: WeatherDuino 4Pro
- Operating System: Windows 7
- Location: Cercal CDV - Portugal
- Contact:
Re: Server Generated Graphs for MX
Thank you Markmcrossley wrote:Werk_AG wrote:Hi Mark
Yep, the UOM isn't being used for the Wind graph. In graphWind.php line 27 needs to be changed...
-
- Posts: 265
- Joined: Tue 10 Sep 2013 8:40 pm
- Weather Station: Ecowitt GW1003 (GW1000)
- Operating System: Raspbian 10 (Buster) / Mono 6.12
- Location: Freiston, Lincolnshire, UK
- Contact:
Re: Server Generated Graphs for MX
An apology, as I don't normally use the Cumulus web pages I hadn't really looked in there so I will try and look at incorporating this into my website which started life as a weatherbyyou php based site. I think it would still be nice to have the php scripts for using with JPgraph as a great alternative.
Andy
Andy
-
- Posts: 265
- Joined: Tue 10 Sep 2013 8:40 pm
- Weather Station: Ecowitt GW1003 (GW1000)
- Operating System: Raspbian 10 (Buster) / Mono 6.12
- Location: Freiston, Lincolnshire, UK
- Contact:
Re: Server Generated Graphs for MX
Success. Am now using the MX / Highgraph templates for the graphs and charts and they really add a new dimension.
Have even managed to manipulate the files to tailor the graphs to blend in with my website theme. Not bad for a complete novice, even if I say so myself.
Thanks everyone for your support and pointers.
Andy
Have even managed to manipulate the files to tailor the graphs to blend in with my website theme. Not bad for a complete novice, even if I say so myself.
Thanks everyone for your support and pointers.
Andy
- KetteringUK
- Posts: 49
- Joined: Sat 25 Jul 2009 2:25 pm
- Weather Station: Maplin N96GY
- Contact:
Re: Server Generated Graphs for MX
Implemented MX now as full replacement for my cumulus 1 - love the graphs.
Thanks
Thanks
Weather :: http://grid1.co.uk/weather
WeatherUnderground :: http://www.wunderground.com/weatherstat ... INORTHAM22
Solar PV :: http://pvoutput.org/list.jsp?sid=1627
WeatherUnderground :: http://www.wunderground.com/weatherstat ... INORTHAM22
Solar PV :: http://pvoutput.org/list.jsp?sid=1627
-
- Posts: 192
- Joined: Sun 04 Jan 2009 5:56 pm
- Weather Station: Vantage Vue
- Operating System: Windows 7
- Location: Middlesbrough, England
Re: Server Generated Graphs for MX
Hello,
I have spent the last hour trying to get this to work and it just fails to do anything for me :S
Any idea what I am doing wrong please? I just get a blank page when testing
http://www.marton-weather.co.uk/images/graphTempOut.php
Cheers
Mark
I have spent the last hour trying to get this to work and it just fails to do anything for me :S
Any idea what I am doing wrong please? I just get a blank page when testing
http://www.marton-weather.co.uk/images/graphTempOut.php
Cheers
Mark
- mcrossley
- Posts: 12694
- 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
Nope, remote users cannot see anything, you will need to check the PHP error log on your web server for a clue.
-
- Posts: 3215
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Server Generated Graphs for MX
Viewing the source of the page shows
So as Mark says you will need to look at your PHP error log.
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv="Content-Type"
content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
-
- Posts: 192
- Joined: Sun 04 Jan 2009 5:56 pm
- Weather Station: Vantage Vue
- Operating System: Windows 7
- Location: Middlesbrough, England
Re: Server Generated Graphs for MX
thanks.. that is the problem, nothing is being logged in the error log for it
-
- Posts: 3215
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Server Generated Graphs for MX
Would it be possible to upload the PHP source of graphTempOut.php so we can take a look and see if we can spot anything?