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

Thrifty

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
LindaFNM
Posts: 168
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Thrifty

Post by LindaFNM »

Hans,

Due to constant WindRose failure on the Pi, I ran it on my PC. It ran very quickly and flawlessly, I've copied the output file for wind graphs and it's fine. I obviously have a Pi resource issue. If I subsequently run the Thrifty command, I think I understand that it should solve the issue as it doesn't try to run the whole history? Otherwise, there's no way to stop it running everything and failing.

Also, as a result of running on the PC and creating a new .ini by mistake, I'm appearing on the user map. Will this eventually disappear please? I didn't want to be on this at the moment as I don't have a website! Thank you very much.

Linda
User avatar
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: Thrifty

Post by HansR »

Hi Linda,
LindaFNM wrote: Tue 01 Feb 2022 6:33 pm Due to constant WindRose failure on the Pi, I ran it on my PC. It ran very quickly and flawlessly, I've copied the output file for wind graphs and it's fine. I obviously have a Pi resource issue. If I subsequently run the Thrifty command, I think I understand that it should solve the issue as it doesn't try to run the whole history? Otherwise, there's no way to stop it running everything and failing.
Thrifty is a bandwidth/CPU economiser which only generates and uploads what is needed. It cannot prevent modules from being generated.
As the windrose cannot be run on the RPi, you will have to switch that off. But not only that but also the windrun, and solar charts as they all use the monthly logs.
You do that by setting the following inifile parameters to false:

Code: Select all

WindRose=false
Windrun=false
SolarHours=false
SolarEnergy=false
But that would generate the wrong index file (which is the basic output for the website command) because those modules are also left out of the menu.

So to summarise, I think the only possibility is to generate on the PC at least once so you have the correct menu and files. Copy it all to the website directory on the RPi, and from then on run only modules on the RPi which can be done and once in a while you run on the PC the whole thing to get the wind and solar charts.

If you only run to generate modules modules make sure the inifile parameters

Code: Select all

GeneratejQueryInclude=false
DoLibraryIncludes=false
are set like shown here. If you don't the javascript runtime system will fail.

It is limping on two legs but I don't see another possibility. This was not foreseen, sorry for this.
What RPi do you have (can you post the systeminfoTable.txt when run on the pi)?
LindaFNM wrote: Tue 01 Feb 2022 6:33 pm Also, as a result of running on the PC and creating a new .ini by mistake, I'm appearing on the user map. Will this eventually disappear please? I didn't want to be on this at the moment as I don't have a website! Thank you very much.
If you switch the map off you will disappear automatically in 7 days. But you should not care, if you don't have a website you can fill in your WU address or alike. Blabla will do as well, it is understood ;) In a next version the website cannot be switched off but then the URL won't be compulsory any more.
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
LindaFNM
Posts: 168
Joined: Wed 06 Jan 2021 3:01 pm
Weather Station: Ecowitt
Operating System: Raspberry Pi

Re: Thrifty

Post by LindaFNM »

Hans,

Thank you. Oddly, the wind run and solar work fine, it’s just the WindRose. But I have data since July 2010 which is a lot to process. I have a Raspberry Pi 3B+ with a SSD. Sorry for the continuing problem, it isn’t an issue, I can get by with the WindRose switched off which I have now, the rest are switched on and work well. It’s so fast on the PC I’ll just generate it when I want to. This is a big advantage of Utils that it’s easily portable to another platform, I’ll use the PC for development work as it’s a lot better to use than the Raspberry Pi! Big screen and no risk to my live running,

Thanks re the map, I’ll look forward to ‘disappearing’ soon :D .

Thanks also once again for an excellent product which greatly enhances the output from Cumulus.

Linda
User avatar
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: Thrifty

Post by HansR »

LindaFNM wrote: Tue 01 Feb 2022 8:41 pm Thank you. Oddly, the wind run and solar work fine, it’s just the WindRose.
OK, so it can't be the reading of the monthly logs
LindaFNM wrote: Tue 01 Feb 2022 8:41 pm But I have data since July 2010 which is a lot to process. I have a Raspberry Pi 3B+ with a SSD. Sorry for the continuing problem, it isn’t an issue, I can get by with the WindRose switched off which I have now, the rest are switched on and work well.
You are not the only one with long data series and an RPi3B+ that is the astonishing part of it, there is no other similar report.
Could it be the SSD which makes it too fast :? :groan:
LindaFNM wrote: Tue 01 Feb 2022 8:41 pm It’s so fast on the PC I’ll just generate it when I want to. This is a big advantage of Utils that it’s easily portable to another platform, I’ll use the PC for development work as it’s a lot better to use than the Raspberry Pi! Big screen and no risk to my live running,
Yes, OK. I'll keep the 2.5 million datapoints in mind. Hope I come up with an idea.
In near future some major technical changes are coming that might solve the issue. Timing not yet known however.
LindaFNM wrote: Tue 01 Feb 2022 8:41 pm Thanks re the map, I’ll look forward to ‘disappearing’ soon :D .

Thanks also once again for an excellent product which greatly enhances the output from Cumulus.
Thanks, you're welcome.
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
User avatar
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: Thrifty

Post by HansR »

LindaFNM wrote: Tue 01 Feb 2022 6:33 pm Also, as a result of running on the PC and creating a new .ini by mistake, I'm appearing on the user map. Will this eventually disappear please? I didn't want to be on this at the moment as I don't have a website! Thank you very much.
I made this mistake a second time: for the website you can't turn the map off. As I explained in the other thread every time you run CUtils (and you have to to keep the data up to date) the signature file is send. You will have to live with that. If you don't you can't use CUtils' website. It is irrelevant from which machine you are running.
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
Post Reply