Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.8.4 (build 3094) - 14 September 2020 (please see announcement regarding releases since 3.5.0)
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 the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

For New Users

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
rogerthn
Posts: 280
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS Lite Buster
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

That's the Dutch Swedish translations done :lol:
Daily program as below seems to work :D

Code: Select all

Daily program
/home/pi/scripts/cumulusutils.sh
(i)A program or command to be run at the start of each day
cat /home/pi/scripts/cumulusutils.sh

Code: Select all

#!/bin/bash
echo "$0 started $(date +%Y-%m-%d\ %H:%M:%S.%N)" >> /tmp/Website.log 2>&1
# Variables
runFolder=/home/pi/CumulusMX/
# Ensure that 'start of day' is fully completed
/bin/sleep 1
echo "$0 slept $(date +%Y-%m-%d\ %H:%M:%S.%N)" >> /tmp/Website.log 2>&1
cd $runFolder
/home/pi/CumulusMX/cumulusutils.exe Website >> /tmp/Website.log 2>&1
echo "$0 done $(date +%Y-%m-%d\ %H:%M:%S.%N)" >> /tmp/Website.log 2>&1
Log from today
cat /tmp/Website.log

Code: Select all

/home/pi/scripts/cumulusutils.sh started 2020-08-08 10:00:05.195457523
/home/pi/scripts/cumulusutils.sh slept 2020-08-08 10:00:06.216315503
/home/pi/scripts/cumulusutils.sh done 2020-08-08 10:00:58.447573045
PS
pwsFWI in upper left seems to require page refresh (CTRL F5) to display value from today?
Image

User avatar
HansR
Posts: 1380
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

rogerthn wrote:
Sat 08 Aug 2020 8:17 am
That's the Dutch Swedish translations done :lol:
Don't understand Dutch/Swedish :? Your initial install should have had the English Language initially.
But anyway, I see your site in English and not Swedish so what exactly do you mean?

If you did finish the Swedish translation, then could you upload it in the language sharing thread please? Thanks!
rogerthn wrote:
Sat 08 Aug 2020 8:17 am
Daily program as below seems to work :D
OK, nice procedures, may be useful to others. Apparently you use a daily rollover at 10h00 (summertime, 9h00 wintertime). I would use a 5 second sleep as your data will increase (take more time) and some people may e.g. use a Pi Zero[W] which will definitely slow it all down.

FYI: I use crontab with the following entries:

Code: Select all

5 1 * * * cd /home/CumulusMX; ./cumulusutils.exe thrifty website
0 2 * * * cd /home/CumulusMX; ./cumulusutils.exe mapson
And subsequently I do a sysinfo every 10 minutes of the hour:

Code: Select all

# Do the sysinfo such that Cumulus can process it in time
09 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
19 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
29 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
39 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
49 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
59 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
Note that at 2 o'clock at night two instances will run. Under Linux they will both use the same log file which may be confusing if you don't expect it.

rogerthn wrote:
Sat 08 Aug 2020 8:17 am
PS
pwsFWI in upper left seems to require page refresh (CTRL F5) to display value from today?
No.

PwsFWI is calculated from the dayfile (and won't change until next day) and the value which is presented as the current value is always calculated on yesterdays values. Today is still a prediction from the values in the prediction file. This has been discussed before - see the original release thread - and seems to be confusing. However, the moisture processes in a forest are slow. If it suddenly gets hot - as it does now in the Netherlands - it takes some time for the pwsFWI to reach true higher fire danger levels. So I decided to let the Current Value only be the value based on the last measured data. This is inline with the 'smoothing' and 'quenching' procedures which ease the rise and fall of the pwsFWI value and are based/inspired on the slowness of absorption / release of water by forests and wood. This is a complex process about which a lot has been written. You could start with this blog in which I point to a google search on 'moisture content dampening forest'.

In short: pwsFWI is not a rapidly changing value.
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
rogerthn
Posts: 280
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS Lite Buster
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

HansR wrote:
Sat 08 Aug 2020 9:24 am
Don't understand Dutch/Swedish :? Your initial install should have had the English Language initially.
But anyway, I see your site in English and not Swedish so what exactly do you mean?
I do mean
rogerthn wrote:
Thu 06 Aug 2020 7:25 pm
Duizendmaal dank
and
HansR wrote:
Fri 07 Aug 2020 5:21 am
Du är välkommen :)
HansR wrote:
Sat 08 Aug 2020 9:24 am
If you did finish the Swedish translation, then could you upload it in the language sharing thread please? Thanks!
I will not do any Swedish translation in the near future ;)
HansR wrote:
Sat 08 Aug 2020 9:24 am
OK, nice procedures, may be useful to others. Apparently you use a daily rollover at 10h00 (summertime, 9h00 wintertime). I would use a 5 second sleep as your data will increase (take more time) and some people may e.g. use a Pi Zero[W] which will definitely slow it all down.
There seems to be some delay before the external program is running, see below but my sleep is now 10 seconds.

Code: Select all

/home/pi/scripts/cumulusutils.sh started 2020-08-08 10:00:05.195457523
I wasn't sure how execution of the external program was done, would CumulusMX wait while it was running or not.
HansR wrote:
Sat 08 Aug 2020 9:24 am
FYI: I use crontab with the following entries:

Code: Select all

5 1 * * * cd /home/CumulusMX; ./cumulusutils.exe thrifty website
0 2 * * * cd /home/CumulusMX; ./cumulusutils.exe mapson
OK, I might need thrifty when I have MORE data to process and then I need to have mapson at least once a week?
HansR wrote:
Sat 08 Aug 2020 9:24 am
And subsequently I do a sysinfo every 10 minutes of the hour:

Code: Select all

# Do the sysinfo such that Cumulus can process it in time
09 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
19 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
29 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
39 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
49 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
59 * * * * cd /home/CumulusMX; ./cumulusutils.exe sysinfo
Note that at 2 o'clock at night two instances will run. Under Linux they will both use the same log file which may be confusing if you don't expect it.
I will use something like this for sysinfo, thanks!
rogerthn wrote:
Sat 08 Aug 2020 8:17 am
PS
pwsFWI in upper left seems to require page refresh (CTRL F5) to display value from today?
HansR wrote:
Sat 08 Aug 2020 9:24 am
No.
...
In short: pwsFWI is not a rapidly changing value.
Might be my browser, Google Chrome but I will make an other screenshot like below at 10:05 tomorrow
I do think that upper left wasn't updated until I did CTRL-F5 while the table to the right was
Annotation 2020-08-08 115753.png
You do not have the required permissions to view the files attached to this post.
Image

User avatar
HansR
Posts: 1380
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

rogerthn wrote:
Sat 08 Aug 2020 10:11 am
I do mean
rogerthn wrote:
Thu 06 Aug 2020 7:25 pm
Duizendmaal dank
and
HansR wrote:
Fri 07 Aug 2020 5:21 am
Du är välkommen :)
HansR wrote:
Sat 08 Aug 2020 9:24 am
If you did finish the Swedish translation, then could you upload it in the language sharing thread please? Thanks!
I will not do any Swedish translation in the near future ;)
Aha.... :lol:
rogerthn wrote:
Sat 08 Aug 2020 10:11 am
HansR wrote:
Sat 08 Aug 2020 9:24 am
No.
...
In short: pwsFWI is not a rapidly changing value.
Might be my browser, Google Chrome but I will make an other screenshot like below at 10:05 tomorrow
I do think that upper left wasn't updated until I did CTRL-F5 while the table to the right was [image]
Don't need that extra screenshot. Indeed that seems to be a cache issue which I and others don't have (after an update it may happen though).
If that continues and you don't like that you may need to change the cache setting of your server - that's where it is defined - to 1 day max for html (and similar files).
The CMX graphs have caching disabled.
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
rogerthn
Posts: 280
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS Lite Buster
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

HansR wrote:
Sat 08 Aug 2020 10:49 am
Don't need that extra screenshot. Indeed that seems to be a cache issue which I and others don't have (after an update it may happen though).
If that continues and you don't like that you may need to change the cache setting of your server - that's where it is defined - to 1 day max for html (and similar files).
The CMX graphs have caching disabled.
Thanks!
Nothing major but I might look into cache settings later
First I need to install Version 4.1.0 :P
Image

User avatar
rogerthn
Posts: 280
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS Lite Buster
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

Now it is starting to be useful :D
If you don't mind, a user request add
the meteorological day used ends at
Maybe after Station Status |nnn.n pwsFWI | the meteorological day used ends at 10 am.
Image

User avatar
HansR
Posts: 1380
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
Location: Wagenborgen (NL)
Contact:

Re: For New Users

Post by HansR »

Mmm... that is a notification I'd rather not have on its own in the menu bar.

But it might help for you that from version 4.1.0, there is a possibility to add additional info right and left in the title bar. Any HTML will do I assume. The header info is defined as a table so what you create will be the contents of a <td> field. Typically a <span> and you can give it any style you wish or create a nice image or whatever. If the height gets larger than the default, I assume (did not test) the height of the title bar will increase.

Otherwise I'll think about a configurable general info popup somewhere. But what info would the reader of the site need beside the start/end of meteorological day which would be so general it would need to be directly visible and not in the (eg) About This Site menu choice?

Summary: directly available are the header and the About->This Site menu choice.
If necessary, I'll think of an additional popup. Just the meteorological day info is not enough for an additional popup but maybe there are other items.

BTW: I don't think you are no longer a New User anymore ;) , so as a regular you can create a new thread for requests or questions and we discuss there.
https://meteo-wagenborgen.nl / Cumulus 3.6.8 (build: 3084)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l (before: 4.19.118)
Mono JIT compiler version 6.10.0.104 (before: 6.8.0.123)

User avatar
rogerthn
Posts: 280
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS Lite Buster
Location: Trollhättan Sweden
Contact:

Re: For New Users

Post by rogerthn »

Thanks!
Next "questions" will be in new topics and I do need to read release notes better next time :bash:
Image

Post Reply