Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.9.1 (build 3096) - 31 October 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).

CumulusUtils

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
HansR
Posts: 1439
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: CumulusUtils

Post by HansR »

Version 4.5.2 is online

This release is required because of a NOAA module bug at a new month.
Replacement of the executable and one complete run fixes it (or a thrifty run on the 2nd of a month).

version 4.5.2 (2/10/2020)
  1. NOAA: Fixed a bug which generated a new file only the 2 day of the year i.s.o. the second day of the month when under thrifty.
  2. Website: Fixed the last HTML errors on the main site but you won't notice. The website generator is now W3C Validator compatible and should not generate errors.
  3. Website: If Google-Analytics is enabled (an ID is defined in GoogleStatsId) it is now possible to give the user (or just yourself) an opt-out possibility (PermitGoogleOptout=true), see the manual.
  4. Solar and UV are now separately configurable both for both dashboards.
  5. It is now a requirement for use of cutils as a module provider, to use UTF8 character encoding of the page the module is used in. Specifically for the character for degrees and other characters outside the standard range like all language specific characters (the website generator has this standard automatically).
https://meteo-wagenborgen.nl / Cumulus 3.8.4 (build: 3094)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:21:54 UTC 2020)

User avatar
HansR
Posts: 1439
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: CumulusUtils

Post by HansR »

Version 4.5.3 is online

I would say this is a stable version.
The next module to add will be support for air quality (the Davis AirLink), which seems to be added to CMX as a sensor.
When more info is there I will probably add it.

I have currently no new ideas and I do not foresee any changes for additional weather info so unless asked, don't expect other additions soon.

version 4.5.3 (3/10/2020)
  • Now all HTML of the individual modules are W3C Validator compatible (which includes some technical changes which I think have no impact |) ).
  • Added the start of observation date to the record pages.
https://meteo-wagenborgen.nl / Cumulus 3.8.4 (build: 3094)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:21:54 UTC 2020)

User avatar
HansR
Posts: 1439
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: CumulusUtils

Post by HansR »

Version 4.5.4 is online

This actually is only a patch release for this minor bug assuming no more bugs will follow :lol:

version 4.5.4 (4/10/2020)
  1. Fixed bug for Current PwsFWI (Standard format) value on the menubar.
https://meteo-wagenborgen.nl / Cumulus 3.8.4 (build: 3094)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:21:54 UTC 2020)

User avatar
HansR
Posts: 1439
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: CumulusUtils

Post by HansR »

Version 4.5.5 is online

version 4.5.5 (26/10/2020)
  • Website: Fixed bug for DST switch. Station time now is correct (not sure it is for some pacific/Australian situations where minutes start to count).
  • Monthly logfiles: Fixed bug for existence of AirLink logfiles.
    Now those files are ignored while reading the monthly logfiles.
NOTE: @meteosangonera: testing of the dayfile issue still waiting for the new CMX release, we need some patience. And in addition, your cumulusutils.ini file probably contains a section [website] (even if you don't use that) with parameters ShowUV=true and ShowSolar=true. Accidental they cause a generation of the solar graphs and should be set to false.

NOTE: I was a bit confused by the times some of the sites (v 4.5.4) displayed, because they were correct which algorithmically was not possible. This means that the user must have modified either the local time or the timezone on the machine which runs cumulusutils (or modified the resulting code). Worst case is that I do not understand what is going on which is an option. Another option is that it is a difference between RPi and Windows machines (running CMX/CumulusUtils) in which case I am not sure it is the end of the issue. I prefer getting a message if something is wrong.

In summary the times must always be as follows:
  • Station time is always the actual time of the station with or without DST, in my case UTC -1 (or -2 in DST). This time is always more or less equal to the last update time.
  • Browser time always shows the time of viewer of the site. So, if somebody in the UK is now watching my site, a time of one hour less than my time should be observed (UK is now on UTC)
  • UTC is displayed for reference and is what it is.
Times should be correct always without modifying your computer time.
Automatic and correct time setting on the machine which runs CMX/CumulusUtils is assumed.

RESULT:
The clock on the dashboard for Station Time of the generated website did not react well on DST change back to wintertime in some instances. The 4.5.5 bugfix release was installed on both Windows and RPi's and this showed that the cause is in the difference in handling of timezone differences on Windows and RPI (native .NET and Mono).
This original line of code works in Windows (native .NET) only:

Code: Select all

(TZ.GetUtcOffset(DateTime.Now) - TZ.BaseUtcOffset).Hours
And this fixed line works on native .NET and Mono:

Code: Select all

TZ.GetUtcOffset(DateTime.Now).Hours - TZ.BaseUtcOffset.Hours
Now lets see how this behaves when DST is activated again in March.

This had effect, not only on the clock, but also on the rise/set times of sun and moon.
So: Users with CMX/cutils running on RPi really need the 4.5.5 version.

The documentation shows that the calls used are introduced in various versions of .NET (and thus Mono) so the runtime version installed may also affect the result.
Always use .NET/Mono to the latest possible update level.
https://meteo-wagenborgen.nl / Cumulus 3.8.4 (build: 3094)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:21:54 UTC 2020)

Locked