Having played around with the boost pack on the Cumulus interface I think I can speed this up dramatically.
The updated files for \interface are in the attached zip if you would like to try them...
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
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
Long running trend scripts - b3084
Moderator: mcrossley
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Long running trend scripts - b3084
You do not have the required permissions to view the files attached to this post.
-
stevendt
- Posts: 85
- Joined: Sat 23 May 2020 4:19 pm
- Weather Station: Davis Vatnage Pro2 Plus
- Operating System: Windows 7/10
- Location: Aberdeen, Scotland
Re: Long running trend scripts - b3084
Hi Mark
Thanks a lot (and to Mapantz too)
I will give it a try in the morning
Regards
Dave
Thanks a lot (and to Mapantz too)
I will give it a try in the morning
Regards
Dave
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Long running trend scripts - b3084
Thanks Mark: real performance boost!
I immediately implemented it for CumulusUtils
I immediately implemented it for CumulusUtils
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
-
stevendt
- Posts: 85
- Joined: Sat 23 May 2020 4:19 pm
- Weather Station: Davis Vatnage Pro2 Plus
- Operating System: Windows 7/10
- Location: Aberdeen, Scotland
Re: Long running trend scripts - b3084
Hi Mark,
thanks a lot for that - it works for me too, but I don't know why
I copied the files to the local /interface and I/interface/js directories, to help me understand, can you explain how these local files influence the files that get executed remotely? The remote trends.html file does not appear to have changed, but the Wind Dir trend call up/rescale is definitely faster
regards
Dave
thanks a lot for that - it works for me too, but I don't know why
I copied the files to the local /interface and I/interface/js directories, to help me understand, can you explain how these local files influence the files that get executed remotely? The remote trends.html file does not appear to have changed, but the Wind Dir trend call up/rescale is definitely faster
regards
Dave
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Long running trend scripts - b3084
Here are the updated files for the web site trends page. Please try them out and see if they work for you.
trendsT.htm into your Cumulus \web folder
cumuluscharts.js into your web server \js folder
trendsT.htm into your Cumulus \web folder
cumuluscharts.js into your web server \js folder
The HTML file changes make the pages load the HighCharts "boost" package, and the script changes enable some boost features for the wind direction charts.
You do not have the required permissions to view the files attached to this post.
-
stevendt
- Posts: 85
- Joined: Sat 23 May 2020 4:19 pm
- Weather Station: Davis Vatnage Pro2 Plus
- Operating System: Windows 7/10
- Location: Aberdeen, Scotland
Re: Long running trend scripts - b3084
Hi Mark,
thanks a lot for that, but can you help clear up some ignorance here please . . . .
I downloaded your first file, charts.zip, and put the files in the local /interface & /interface/js directories, then reloaded Cumulus
The website WIndDir charts were much faster, but I could not see how this could be having just changed local files.
Your upload of trends.zip and the requirement to change the trends template and remote charts js file makes sense to me, but I don't understand how the first upload could help remote chart speed? Was it just a coincidence that things got faster after the local trends change?
regards
Dave
thanks a lot for that, but can you help clear up some ignorance here please . . . .
I downloaded your first file, charts.zip, and put the files in the local /interface & /interface/js directories, then reloaded Cumulus
The website WIndDir charts were much faster, but I could not see how this could be having just changed local files.
Your upload of trends.zip and the requirement to change the trends template and remote charts js file makes sense to me, but I don't understand how the first upload could help remote chart speed? Was it just a coincidence that things got faster after the local trends change?
regards
Dave
-
stevendt
- Posts: 85
- Joined: Sat 23 May 2020 4:19 pm
- Weather Station: Davis Vatnage Pro2 Plus
- Operating System: Windows 7/10
- Location: Aberdeen, Scotland
Re: Long running trend scripts - b3084
Hi Mark,
OK, a penny has dropped -
charts.html is for the local interface
trends.html is for the remote website
The increase in speed that I thought I saw on the website after changing charts.html can only have been a coincidence
OK, a penny has dropped -
charts.html is for the local interface
trends.html is for the remote website
The increase in speed that I thought I saw on the website after changing charts.html can only have been a coincidence