Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.0.2 build 3052 - 13 September 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

Cumulusutils

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

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

Re: Cumulusutils

Post by HansR » Wed 25 Sep 2019 7:33 am

I am working the latest tuning by Beteljuice and I think it is OK (including if you use Edge). You can see the result on my weathersite. It will be in version 0.9.1 I I will stop this formatting thing now, unless there is convincing reason top change something again. This tuning thing really is absorbing, takes my mind of other things but fortunately it is OK now. And I like it. Thanks @Beteljuice.
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

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

Re: Cumulusutils

Post by HansR » Wed 25 Sep 2019 7:36 am

Phil23 wrote:
Tue 24 Sep 2019 10:22 pm
Currently have my table stretch out to 365 days for curiosity sake.
Very nice, Thnx. This is why analysis mode exists :) Performance load is not as bad as I thought.
I'll look at the values and come back later on this.
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

Phil23
Posts: 273
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Cumulusutils

Post by Phil23 » Wed 25 Sep 2019 8:45 pm

beteljuice wrote:
Wed 25 Sep 2019 12:40 am
How does This Look across your browsers ?

Edge...... :bash:
Still not Colour gradient in either IE or Edge.
Image

User avatar
beteljuice
Posts: 2751
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: ex XP SP3 - now W10 laptop grr
Location: Dudley, West Midlands, UK

Re: Cumulusutils

Post by beteljuice » Wed 25 Sep 2019 9:28 pm

:bash:

It works for me in Edge

... but not in IE11 :groan:

Just as I thought everything was almost perfect ....
Image
......................Imagine, what you will KNOW tomorrow !

User avatar
beteljuice
Posts: 2751
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: ex XP SP3 - now W10 laptop grr
Location: Dudley, West Midlands, UK

Re: Cumulusutils

Post by beteljuice » Wed 25 Sep 2019 11:08 pm

Once more unto the beach dear friends ....

Try Again Phil Much more blurred between divisions, but it works for me in FF, Edge :evil: , IE11 :twisted:

M$ cr*p :bash:

Of course Hans has the final say on if it's acceptable.
Image
......................Imagine, what you will KNOW tomorrow !

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

Re: Cumulusutils

Post by HansR » Thu 26 Sep 2019 2:22 am

Over the last small week I have been busy implementing the Betelformat. That was quite an experience. A positive one, as the whole cumulusutils execise until now has been a great positive experience.

However, css appears to be an exhausting work. First of all, because it is just not a straight copy of betels work into my generator: the VS editor inserts spaces when copied from html (probably some utf8/16 effect), secondly because you get dbl-quotes in strings which themselves are surrounded by dbl-quotes and thirdly because i have to make itinto generated line in C#. All is very error-prone(the last the least). And secondly: I loath non-portable techniques where you have to start testing every platform because it might not work somewhere. Another development issue is, that when I added css lines in the code, i have to generate (that is: create the utils executable) then run it with pwsfwi in my debug environment, test it in FF and Chrome as a simple table. Then move it to my site to actually test it live. If I want to release i have to move the utils exec to the rPi and run it again to my live weather env and see what comes out. I leave out the details but the more tools become involved, the slower my machine becomes.

Then the betel comes back and says it is not ok and i forgot a quote collapsing the whole thing and then it does not run on MS IE and EDGE. Tbh, I think it is OK now, I noticed as well it does not work wel in IE and EDGE and actually, I don't care: my two websites show in their statistics it is chrome, ff and opera which rule the world. And the chromium library is so well penetrated that I would like to say: ignore the aberrations and concentrate on real errors. If it works on the 98% of the platforms it is a success, [@#€_&-+] the rest.

I am happy as it is, back to meteorology and C#.
Thank you all for the experience.

NB: the CumulusUtils is becoming a kind of Compiler in the part where it generates code, that is interesting, it draws me back my days when I worked on a true simulation compiler. But it also sets some limits on what can be achieved in short time. It makes using css, php or other secundary/tertiary tools awkward. There are several dimensions of complexity, we investigated css now, if (IF) it becomes more necessary, we can embark on another work in this context, but that would require a less ad hoc approach.
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

Phil23
Posts: 273
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Cumulusutils

Post by Phil23 » Thu 26 Sep 2019 3:18 am

beteljuice wrote:
Wed 25 Sep 2019 11:08 pm
it works for me in FF, Edge :evil: , IE11 :twisted:

M$ cr*p :bash:
Yes,
Now working in all 3 here.
Image

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

Re: Cumulusutils

Post by HansR » Thu 26 Sep 2019 3:36 am

Hi Phil, Paul,

In our PM communication via the mail we discussed the running on other platforms amongst which Windows 8. Paul has an issue. All functionalities perform well but the creation of the version string (which I place at the end of the output) causes a crash on Paul's machine.

My question is: is this an issue caused essentially by running on Windows 8 or is it an issue for the machine of Paul alone?

Phil, you had offered to try Windows 8 (amongst others), could you offer some insight here? I take this to the forum because it may be a generic issue, not just Paul's. If it is fundamentally Windows 8 (and so probably even windows 7), I am not sure I will take the effort to solve it.

Best, Hans
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

Phil23
Posts: 273
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Cumulusutils

Post by Phil23 » Thu 26 Sep 2019 6:17 am

HansR wrote:
Thu 26 Sep 2019 3:36 am
Phil, you had offered to try Windows 8 (amongst others), could you offer some insight here?
Probably something that's been lost in communications is the point that my live Weather PC is running Window 8 (8.1) & a fairly old beast, but kept updated.
It Runs Cumulusutils from a batch file that runs daily as an external program.
It then also uses DOS FTP to upload the files along with a Merged dayfile that contains both Live & Historic data.
Capture.JPG
Regards SysInfo on the various O/S's, this is what I get returned.
Bearing in mind that only the Win8 PC has the PWS attached.

Win7

Code: Select all

<pre>
Cumulus uptime: <#ProgramUpTime>
Weather station: Fine Offset

Windows

OS Name:                   Microsoft Windows 7 Professional 
OS Version:                6.1.7601 Service Pack 1 Build 7601
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Workstation
OS Build Type:             Multiprocessor Free
Original Install Date:     12/08/2011, 5:39:57 PM
System Boot Time:          18/09/2019, 9:10:50 AM
System Manufacturer:       Gigabyte Technology Co., Ltd.
System Model:              H67A-UD3H-B3
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 42 Stepping 7 GenuineIntel ~3400 Mhz
BIOS Version:              Award Software International, Inc. F6, 7/07/2011
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-au;English (Australia)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+10:00) Canberra, Melbourne, Sydney
Total Physical Memory:     16,367 MB
Available Physical Memory: 6,262 MB
Virtual Memory: Max Size:  40,915 MB
Virtual Memory: Available: 27,231 MB
Virtual Memory: In Use:    13,684 MB
</pre>
<p><small><p style= "font-size:11px;">CumulusUtils Version 0.9.0 - <a style="text-decoration:none;color:black;" href=https://meteo-wagenborgen.nl/wp/tag/fwi/ target="_blank">&copy; Hans Rottier</a><br/>generated at 26/09/2019 16:01</p></small></p>
Win8

Code: Select all

<pre>
Cumulus uptime: <#ProgramUpTime>
Weather station: Davis Vantage Pro2

Total number of data packets received: <#DavisTotalPacketsReceived>
Number of missed data packets: <#DavisTotalPacketsMissed>
Longest streak of consecutive packets received: <#DavisMaxInARow>
Number of packets received with CRC errors: <#DavisNumCRCerrors>
The console firmware version: <#DavisFirmwareVersion>
Number of times the console resynchronised with the transmitter: <#DavisNumberOfResynchs>
The console battery condition in volts: <#battery> V
The transmitter battery condition: <#txbattery>

Windows

OS Name:                   Microsoft Windows 8.1
OS Version:                6.3.9600 N/A Build 9600
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Original Install Date:     27/09/2016, 4:45:09 PM
System Boot Time:          26/07/2019, 6:32:38 AM
System Manufacturer:       Hewlett-Packard
System Model:              HP Pavilion g6 Notebook PC
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: AMD64 Family 21 Model 16 Stepping 1 AuthenticAMD ~2700 Mhz
BIOS Version:              Insyde F.26, 21/02/2013
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume1
System Locale:             en-au;English (Australia)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+10:00) Canberra, Melbourne, Sydney
Total Physical Memory:     3,560 MB
Available Physical Memory: 1,760 MB
Virtual Memory: Max Size:  4,200 MB
Virtual Memory: Available: 1,902 MB
Virtual Memory: In Use:    2,298 MB
</pre>
<p><small><p style= "font-size:11px;">CumulusUtils Version 0.9.0 - <a style="text-decoration:none;color:black;" href=https://meteo-wagenborgen.nl/wp/tag/fwi/ target="_blank">&copy; Hans Rottier</a><br/>generated at 26/09/2019 16:05</p></small></p>
Win10

Code: Select all

<pre>
Cumulus uptime: <#ProgramUpTime>
Weather station: Fine Offset

Windows

OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.17134 N/A Build 17134
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Original Install Date:     22/11/2018, 6:16:04 PM
System Boot Time:          12/09/2019, 5:37:25 PM
System Manufacturer:       System manufacturer
System Model:              System Product Name
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 158 Stepping 9 GenuineIntel ~3400 Mhz
BIOS Version:              American Megatrends Inc. 1010, 28/03/2018
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume2
System Locale:             en-au;English (Australia)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+10:00) Canberra, Melbourne, Sydney
Total Physical Memory:     32,711 MB
Available Physical Memory: 26,634 MB
Virtual Memory: Max Size:  37,575 MB
Virtual Memory: Available: 29,462 MB
Virtual Memory: In Use:    8,113 MB
</pre>
<p><small><p style= "font-size:11px;">CumulusUtils Version 0.9.0 - <a style="text-decoration:none;color:black;" href=https://meteo-wagenborgen.nl/wp/tag/fwi/ target="_blank">&copy; Hans Rottier</a><br/>generated at 26/09/2019 16:14</p></small></p>
You do not have the required permissions to view the files attached to this post.
Image

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

Re: Cumulusutils

Post by HansR » Thu 26 Sep 2019 6:44 am

That is great Phil! Thanks. It's clear now: all windows systems support CumulusUtils and the sysinfo output is the same over all versions. Good to know. And yes, now that you mention it, you did say you ran Windows 8 for the pws :)

Well, this concludes it @PaulMy, I can only draw one conclusion: you must update your machine. As far as I can see Windows 8 does not inhibit the execution of CumulusUtils and the software is not the problem. Hope you can do something with this? You can also migrate to CumulusMX on the rPi of course. When you completed that, I'll see your links, OK?

Best, Hans
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

User avatar
kocher
Posts: 84
Joined: Sat 19 Apr 2014 7:57 pm
Weather Station: Davis Vantage Pro2+
Operating System: Windows 10
Location: San Sebastian - Spain
Contact:

Re: Cumulusutils

Post by kocher » Thu 26 Sep 2019 10:28 am

First of all I must thank Hans for this brilliant and original work, and I send greetings and thanks to Betel.

cumulusMX (v.3050) is installed on a machine with Windows10 Pro.


I just installed the latest version of Cumulusutils in the cumulusMX directory. To take a test, I have added it to external cumulusMX programs in the section of:

Internet settings >> External programs >> Program: cumulusutils.exe
Internet settings >> External programs >> Program parameters: pwsFWI

The program has worked (found the dayfile.txt file) and created the cumulusutils.log file.

I find the final part of the file interesting:

"DayfileValue.SetValues fails: La cadena representa un DateTime no admitido en el calendario System.Globalization.GregorianCalendar.
DayfileValue.SetValues fails: Need latest dayfile.txt filled correctly with data
26/09/2019 11:50:00 Dayfile deconstructor: Closing file and ending program"
You do not have the required permissions to view the files attached to this post.
Image

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

Re: Cumulusutils

Post by HansR » Thu 26 Sep 2019 10:59 am

Version 0.9.1 is now on-line.

@kocher: Thanks for the nice words and indeed interesting :D I'll look into it.
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

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

Re: Cumulusutils

Post by HansR » Thu 26 Sep 2019 12:04 pm

@kocher:

It actually is a correct message. I'll explain.
First the messages from the logfile:
  • "DayfileValue.SetValues fails: La cadena representa un DateTime no admitido en el calendario System.Globalization.GregorianCalendar. " - This message comes from the run-time system in an exception claiming an invalid date within the gregorian calendar which is valid at runtime on your system (as it is with most people btw).
  • The last two lines come from cumulusutils claiming it found an error in dayfile.txt which inhibits it from continuing, so it exits.
Then the big question: what went wrong?
The last line from dayfile in the logfile is:

Code: Select all

DayfileValue Constructor done for line:
18/11/13,30.6,0,68:15,8.6,09:15,11.8,17:35,1008.4,17:10,1014.2,00:15,11.4,68:15,19.2,20.9,11.4,1.8,17:40,11,68:15,95,68:15,0.10,0.0,12.0,17:35,12.1,19:40,7.5,00:05,5.2,18:30,14.4,18:15,11.1,68:15,7.3,68:15,135,8.2,0.0,74,13:55,3,14:30
Now you have to analyse this line for illegal date/time value. I know it by hart by now, but if you want to know, check the wiki. To make a shortcut: it is the 4th field 03 (D): Time of highest wind gust which has a value of 68 hrs and 15 minutes. And that is correctly invalid. Someone - most likely you ;) - at some time edited this field. To correct it, you have to set it to a legal time. Watch out: this line has more illegal 68:15 entries.

NOTE: When editing dayfile.txt, follow the advice from the wiki.
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

User avatar
PaulMy
Posts: 1956
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Cumulusutils

Post by PaulMy » Thu 26 Sep 2019 1:43 pm

Probably something that's been lost in communications is the point that my live Weather PC is running Window 8 (8.1) & a fairly old beast, but kept updated.
Thanks Phil for posting. I can see the difference in SysInfo output between your updated Win 8.1 and my not-updated Win 8.

Great work by Hans in developing and sharing.

As to the RPi option, that is another task awaiting.

Much work ahead for me :o

Enjoy,
Paul

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

Re: Cumulusutils

Post by HansR » Thu 26 Sep 2019 2:32 pm

Good luck with the work Paul, no doubt I'll see you on the rPi side of CumulusMX ;)
Hans
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

Post Reply