Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.2.4 build 3060 - 10 December 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

    User avatar
    pernaczy
    Posts: 124
    Joined: Thu 15 Nov 2012 5:42 pm
    Weather Station: Fine Offset WH 2080, TFA Spring
    Operating System: Windows 7
    Location: Niesiolowice, Northern Poland
    Contact:

    Re: Cumulusutils

    Post by pernaczy » Sun 17 Nov 2019 6:31 am

    Phil23 wrote:
    Sun 17 Nov 2019 4:41 am

    But I will bet you a 6 pack of Beer that the Betel will know the answer. :lol:
    Another 6 pack of Beer from me is on the table.
    Piotr
    The day when I have learned something is not the lost one.

    Image

    User avatar
    HansR
    Posts: 453
    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 » Sun 17 Nov 2019 6:53 am

    Well @beteljuice, if ever there was a challenge 8-)
    https://meteo-wagenborgen.nl / Cumulus (3.1.2-b3055)
    Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
    Raspbian GNU/Linux 10 (buster) / Linux 4.19.75-v7+ armv7l
    Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:45:47 UTC 2019)

    Phil23
    Posts: 346
    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 » Sun 17 Nov 2019 7:32 am

    He needs a poke with a stick some days... :lol:
    Image

    User avatar
    HansR
    Posts: 453
    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 » Sun 17 Nov 2019 11:00 am

    Any new users of CumulusUtils I would like to ask to stick to the run frequencies advised in the README. Especially the new Maps module uses internet resources and a minute frequency is not, really NOT, required. It uses internet resources, even if the xml is not really large, and high run frequency has no added value. Maps requires a daily run or manually as required.

    Thank you.

    Cheers, Hans
    https://meteo-wagenborgen.nl / Cumulus (3.1.2-b3055)
    Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
    Raspbian GNU/Linux 10 (buster) / Linux 4.19.75-v7+ armv7l
    Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:45:47 UTC 2019)

    User avatar
    HansR
    Posts: 453
    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 » Sun 17 Nov 2019 1:57 pm

    Version 1.9.4 is online
    Last alive date and some error handling added.
    MapBox references removed and prepared for Open Street Map only.
    https://meteo-wagenborgen.nl / Cumulus (3.1.2-b3055)
    Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
    Raspbian GNU/Linux 10 (buster) / Linux 4.19.75-v7+ armv7l
    Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:45:47 UTC 2019)

    User avatar
    PaulMy
    Posts: 2009
    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 » Sun 17 Nov 2019 3:34 pm

    Hi Hans,
    Updated to v1.9.4 and all looks good
    http://www.komokaweather.com/komokaweather-ca/wxFWI.php
    http://www.komokaweather.com/komokaweather-ca/wxMap.php

    I will need to correct my dayfile highRainRate though...
    http://www.komokaweather.com/komokaweat ... xTop10.php

    Enjoy,
    Paul

    User avatar
    HansR
    Posts: 453
    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 » Sun 17 Nov 2019 3:50 pm

    PaulMy wrote:
    Sun 17 Nov 2019 3:34 pm
    I will need to correct my dayfile highRainRate though...
    http://www.komokaweather.com/komokaweat ... xTop10.php
    :lol: that's not a one off error... what is going on over there :?

    And btw: your sysinfo.txt needs to be processed ;)
    (thnx for getting utils their own menu choice)

    NOTE: CumulusUtils now has the same version number as where Cumulus 1 froze :clap:
    https://meteo-wagenborgen.nl / Cumulus (3.1.2-b3055)
    Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
    Raspbian GNU/Linux 10 (buster) / Linux 4.19.75-v7+ armv7l
    Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:45:47 UTC 2019)

    User avatar
    beteljuice
    Posts: 2792
    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 » Sun 17 Nov 2019 6:47 pm

    the beteljuice is in hospital, very not well and not attached to his normal, but failing like me, tech sources.

    I am second guessing that you are talking about code writing code in an object that requires quotes ?

    If you hard code with quotes and the object or entire instance fails..... = wrong quotes / too many / few quotes = ESCAPE the quote (s) that's causing the grief !

    regardless ... <a href=>Website</a> This is a bad thing :bash:

    ... but it does give me a clue how things are stitched.

    For your links you can try:

    Code: Select all

    \'//www.weerstationtzandt.nl\' target=\'_new\' // play safe, use different quotes and esc
    \"//www.weerstationtzandt.nl\" target=\"_new\" // use same quotes escaped
    '//www.weerstationtzandt.nl' target='_new' // use single quotes only because not used elsewhere
    Image
    ......................Imagine, what you will KNOW tomorrow !

    User avatar
    HansR
    Posts: 453
    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 » Sun 17 Nov 2019 8:31 pm

    @beteljuice:
    beteljuice wrote:
    Sun 17 Nov 2019 6:47 pm
    the beteljuice is in hospital, very not well and not attached to his normal, but failing like me, tech sources.
    Sorry to hear though it was not unannounced. You sound worse than you made believe some time ago, hope you get well soon.
    Missing the suggestions and challenges. Situation as is, I must do with your best second guessing ;)
    beteljuice wrote:
    Sun 17 Nov 2019 6:47 pm
    I am second guessing that you are talking about code writing code in an object that requires quotes ?
    Partly because the generated code is - and has - been tried and tested without being generated of course.
    beteljuice wrote:
    Sun 17 Nov 2019 6:47 pm
    If you hard code with quotes and the object or entire instance fails..... = wrong quotes / too many / few quotes = ESCAPE the quote (s) that's causing the grief !

    regardless ... <a href=>Website</a> This is a bad thing :bash:
    :shock: Sorry for that ;) but that can be repaired and it is not the issue.
    beteljuice wrote:
    Sun 17 Nov 2019 6:47 pm
    ... but it does give me a clue how things are stitched.
    Don't flatter me... and btw it's work in progress.
    beteljuice wrote:
    Sun 17 Nov 2019 6:47 pm
    For your links you can try:

    Code: Select all

    \'//www.weerstationtzandt.nl\' target=\'_new\' // play safe, use different quotes and esc
    \"//www.weerstationtzandt.nl\" target=\"_new\" // use same quotes escaped
    '//www.weerstationtzandt.nl' target='_new' // use single quotes only because not used elsewhere
    The single quotes is the only thing which has not been tried yet (I did learn from the pwsFWI exercise you know). Will do. The other options have been tried but don't work.

    Current problem is, I can't just experiment because a guy from Sheffield is running the Maps module on a minute frequency and he does not react to email nor my message here in the forum. Kind of hostage of my own design. This means I can't just edit the file because he will override it before I can test the results. Anyway, that's life. If he will not respond guess I have to block him out rigorously.

    So it won't be tested quickly but you'll see it when it works.
    Thanks for taking the trouble to respond despite not in the best of shapes. Get better soon, your mood will no doubt improve with it. We're missing you here. :!:
    https://meteo-wagenborgen.nl / Cumulus (3.1.2-b3055)
    Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
    Raspbian GNU/Linux 10 (buster) / Linux 4.19.75-v7+ armv7l
    Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:45:47 UTC 2019)

    User avatar
    beteljuice
    Posts: 2792
    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 » Sun 17 Nov 2019 8:34 pm

    thought, I don't know what format it is actually set in ...

    so assuming var = "string";

    Code: Select all

    var = "\'//www.weerstationtzandt.nl\' target=\'_new\'";
    Image
    ......................Imagine, what you will KNOW tomorrow !

    User avatar
    HansR
    Posts: 453
    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 » Sun 17 Nov 2019 9:14 pm

    @beteljuice: I did not check the library for the prototypes but yes, I assume it is a string parameter of the function.

    However, you can sleep quietly because the single quotes did the trick. I should have known: javascript ugh...
    After my answer I blocked the high frequency stalker, edited my own maps.txt and it worked. I'll create a release tomorrow.
    Thnx, sleep well :clap:

    And btw: you'll have to travel the world to get your beers in Poland and Australia or they come and visit you ;)
    Last edited by HansR on Sun 17 Nov 2019 9:20 pm, edited 1 time in total.
    https://meteo-wagenborgen.nl / Cumulus (3.1.2-b3055)
    Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
    Raspbian GNU/Linux 10 (buster) / Linux 4.19.75-v7+ armv7l
    Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:45:47 UTC 2019)

    User avatar
    beteljuice
    Posts: 2792
    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 » Sun 17 Nov 2019 9:17 pm

    Welcome ... signing out ;)
    Image
    ......................Imagine, what you will KNOW tomorrow !

    User avatar
    HansR
    Posts: 453
    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 » Mon 18 Nov 2019 10:12 am

    Version 1.9.5 is online
    It contains the fix discussed above so websites are now opened in another tab or window.
    Please note my remark on the run frequency of the Maps module.
    https://meteo-wagenborgen.nl / Cumulus (3.1.2-b3055)
    Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
    Raspbian GNU/Linux 10 (buster) / Linux 4.19.75-v7+ armv7l
    Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:45:47 UTC 2019)

    User avatar
    kocher
    Posts: 92
    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 » Mon 18 Nov 2019 4:57 pm

    Greetings to all

    Beteljuice, I hope you will soon regain your spirits and health. ;)

    I think that starting tonight I join the Maps group, so we will already be 2 users in Spain

    Saludos desde San Sebastian, Spain
    Image

    User avatar
    HansR
    Posts: 453
    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 » Tue 19 Nov 2019 7:48 am

    @kocher:
    Did not see you on the map this morning. Everything OK with your updated server?

    @Paul:
    I noticed the discussion in the MX board. Without interfering there I have a CumulusUtils specific reaction here.

    Indeed, the FTP is executed before the external program (which is surprising because the external program is a FTP feature - why?). As a consequence I have the resulting files uploaded on the 10 minute frequency (so they are uploaded too often). It worked and I did not pay attention anymore. But I will now, indeed it is not correct, the files should only upload once at generation time. I think of including the upload in the Utils program itself so the user would not have to think about handling the upload.

    Would you - or anybody else - be interested in an automatic upload by CumulusUtils itself at generation time (so if you run maps, the maps.txt is uploaded to the website immediately)? Would a feature like this be required to be optional?

    Beside that, as CumulusUtils is becoming more heavy at every update, be aware that especially Maps and SysInfo are taking seconds to execute because of OS and internet interactions, in contrast to the data modules which are very fast: top10, pwsfwi and graphs execute together in less than a second (depending on amount of data of course). This may be a reason to start executing CumulusUtils outside of Cumulus external program feature. I already use crontab which gives more control on frequency and time of run. I am not aware of a Windows equivalent of crontab. Anybody?

    Timing btw is in the log file (search on 'timing').

    Best, Hans
    https://meteo-wagenborgen.nl / Cumulus (3.1.2-b3055)
    Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
    Raspbian GNU/Linux 10 (buster) / Linux 4.19.75-v7+ armv7l
    Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:45:47 UTC 2019)

    Post Reply