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

wxgraphs displaying solar for Cumulus

Discussion of Ken True's web site templates

Moderator: saratogaWX

Post Reply
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

wxgraphs displaying solar for Cumulus

Post by HansR »

I picked up the most recent updates on 12 feb to adapt for Cumulus 1.9.3 and I noticed that the wxgraphs.php procedure did not include the solar graphs. Is it the intention the user includes them himself or will wxgraphs be updated some time? The graphs are already transferred to the server.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
saratogaWX
Posts: 1170
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: wxgraphs displaying solar for Cumulus

Post by saratogaWX »

HansR wrote:I picked up the most recent updates on 12 feb to adapt for Cumulus 1.9.3 and I noticed that the wxgraphs.php procedure did not include the solar graphs. Is it the intention the user includes them himself or will wxgraphs be updated some time? The graphs are already transferred to the server.
:oops: My bad for not including the solar/uv graphs in the first place .. sorry.

Try the attached wxgraphs.php -- it should display the solar and uv graphs from Cumulus.

Thanks for bringing this to my attention!

Best regards,
Ken
You do not have the required permissions to view the files attached to this post.
User avatar
saratogaWX
Posts: 1170
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: wxgraphs displaying solar for Cumulus

Post by saratogaWX »

I've now added that updated wxgraphs.php V1.04 to the distribution (16-Feb-2013) for Base-*

Best regards,
Ken
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: wxgraphs displaying solar for Cumulus

Post by HansR »

Hi Ken,
Thanks for reacting so quickly. I installed the new script and it works fine.
Just wondering why the graph of the daily sunshine hours is not displayed. Any reason?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
saratogaWX
Posts: 1170
Joined: Wed 06 May 2009 5:02 am
Weather Station: Davis Vantage Pro Plus
Operating System: Windows 10 Professional
Location: Saratoga, CA, USA
Contact:

Re: wxgraphs displaying solar for Cumulus

Post by saratogaWX »

I had not thought to include sunshine.png in the display of graphs.

It's easy enough to remedy though. Change

Code: Select all

  <?php } // end solar/uv selection ?>
<?php } // end CU graph names    ?>
to

Code: Select all

  <?php } // end solar/uv selection ?>
  <?php if ($SITE['SOLAR']) { ?>
   <h2><?php echo langtransstr('Sunshine Hours'); ?></h2>
  <?php genImageLink('sunshine.png','Sunshine Hours',620,248); ?>
  <?php } // end solar/uv selection ?>
<?php } // end CU graph names    ?>
and that will add the sunshine.php Sunshine Hours graph at the bottom of the page (if available).

Best regards,
Ken

I just added that mod to the distribution also :)
User avatar
William Grimsley
Posts: 833
Joined: Thu 22 Sep 2011 5:22 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 7 Home Premium 64-bit
Location: Latitude: 50.70189285 Longitude: -3.30849957
Contact:

Re: wxgraphs displaying solar for Cumulus

Post by William Grimsley »

Hi Ken,

I've also just updated the wxgraphs.php page! Thanks for that!

Thanks again,

William
User avatar
HansR
Posts: 5871
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: wxgraphs displaying solar for Cumulus

Post by HansR »

OK. Thanks Ken, works flawlessly.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply