Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

<#graphperiod>

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

<#graphperiod>

Post by sfws »

Steve,

This web tag gives the number of hours displayed by the graphs.
But Configuration menu, Display settings screen has two parameters.
- Detailed Chart Period (hours)
- Daily Chart Period (days)

The 'trendsT.htm' template uses <#graphperiod> in a HTML paragraph element to describe the graphs, but two of the charts (one for temperature and one for rainfall) in that template use the 'Daily Chart Period' despite the overall "These graphs present the temperature, pressure, rainfall, and wind speed trends for the last <#graphperiod> hours."

Your 'WebTags.txt' facility does not seem to include a web tag for this second period. Would it be easy for you (in your next patch build) to add a tag for this second period: Daily Chart Period (days)?

viewtopic.php?f=18&t=12284 has drifted a bit away from being a 'Cumulus' question and most of the posts probably would be better in 3rd party tools viewforum.php?f=18, but if you have seen any of the more recent postings with their images, you will realise I have played around a bit with your 'trendsT.htm'. I'd quite like to make the final version I publish mention 'Daily Chart Period' too in a way that will work for whatever settings anyone who downloads the code has used.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: <#graphperiod>

Post by steve »

Yes, that's very easy, I'll add it to the next build.
Steve
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

<#dailygraphperiod> and <#graphperiod>

Post by sfws »

I have downloaded build 1089 and am using it in the odd moments I can grab, from other demands on my life, to test my variation on 'trendsT.htm'.
Thank you for adding <#dailygraphperiod> in this build.

Also thank you for the change in this same build re 'recent history' tags when restarting Cumulus and information read from station logger. It has removed what I thought was another error in my script. Some of my testing was revealing no change to values in the graph for a period that appeared to move across the graph in circumstances I was not understanding. When I started this use of Highcharts plot development, I did not realise how much I had to get right to turn a 'demonstration of what might be possible' into 'something that works for everyone'.

(It has also allowed me to improve another (unshared) page I developed a while ago that used 'recent history' tags, where my script had checked <#ProgramUpTime> before deciding which recent history tags to display).
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: <#graphperiod>

Post by steve »

It was one of the bugs I've spotted in the current version while testing the new version of Cumulus.
Steve
Post Reply