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

    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 » Thu 14 Nov 2019 7:58 pm

    Funny how the brain works.

    I mentioned that the GO button was on the left of the drop down & went against mental logic.
    I noted it every time I moved the mouse to it.

    Now it's on the right, and it's taken me days to realise & register it's actually changed.

    Obviously the mind was no longer sending up that red flag.

    Fires here have calmed a bit over the past 2 days, but expecting the weekend will lead to changes.

    Phil.
    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 » Fri 15 Nov 2019 1:52 pm

    Version 1.9.0 is online

    Last fix for pwsFWI, introduction of module Maps.

    @Phil: thanks for the remark, I was already wondering whether you had noticed :lol:
    And yes, the brain is a funny piece of equipment ;)

    Good to hear it has calmed down a bit, but if I understand pwsFWI well, the catastrophic warning is not over yet.
    Good luck you all over there. Hope you can keep breathing!
    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 » Fri 15 Nov 2019 3:42 pm

    Hi Hans,
    I have installed 1.9.0 and all is well www.komokaweather.com/komokaweather-ca/wxFWI.php

    This morning I had filled in my log after the previous v1.8.4 version run at midnight, and then at about 9:00 am after installing and running v1.9.0 I again looked at the page and noticed some changes in the predictions (input data and FWI). I presume this is normal and expected as the Temp, Wind, Rain, Hum, DSR forecasts change on an ongoing basis and therefore the pwsFWI predictions will change on a live basis.

    Just as a comparison today the Temp, Wind, Rain, Hum, DSR changed from the midnight run to a new 9:00 am run therefore the resulting calculated FWI prediction at the midnight run also changed at the 9:00 am run for -
    November 15: from 30.12 to 30.23
    November 16: from 31.18 to 30.18
    November 17: from 36.48 to 35.48
    November 18: from 36.40 to 29.41 (1)
    November 19: from 35.98 to 27.17
    (1) The significant input data was that no rain forecast at midnight for November 18, and at 9:00 am 3.20 forecast and that results in significant change in the FWI for November 18 and next day.

    This not questioning the program nor the FWI calculation which I think is excellent and responds to ongoing information, just making an observation as to a time factor.

    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 » Fri 15 Nov 2019 6:14 pm

    @Paul: Thnx for installing 1.9.0 so quickly.

    Wrt the changing forecasts I did ask yourweather.co.uk and they said:
    The output, with all our data in the web and other services, renews or the data refreshes twice a day (between 9 and 10 a.m. and between 9 and 10 p.m. (Spanish local hour, so one hour before in the UK).
    Which means they actually have two forecasts per day. It is a choice which you use but of course I would advice at least to run always at the same hour, preferably before 9 or after 10 a.m or p.m so that you are sure to always have the same forecast timedifference. You could run it twice but I doubt if pwsFWI prediction would improve/degrade much.
    Hope this helps.

    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 » Fri 15 Nov 2019 7:08 pm

    Version 1.9.1 is online :oops:
    That was a short lived 1.9.0, sorry for that.
    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 » Fri 15 Nov 2019 7:28 pm

    HansR wrote:
    Fri 15 Nov 2019 7:08 pm
    Version 1.9.1 is online :oops:
    That was a short lived 1.9.0, sorry for that.
    Not seeing a download link in the first post.
    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 » Fri 15 Nov 2019 7:32 pm

    Djee, it's not my day.
    Version 1.9.1 was even shorter lived, hope 1.9.2 is OK now, it's online anyway. Sorry guys. :?
    At least the XML looks OK, only Piotr has a problem with white framing through the map. Is it OK with all of you?
    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 » Fri 15 Nov 2019 7:48 pm

    It looks OK now. At least on my machine/site.

    But I noticed that Cumulus (1 and/or MX) store the latitude and longitude sometimes with a comma and sometimes with a point as decimal separator. That comes as a surprise. If you don't see your site on the map then that may be the issue. I will fix that tomorrow as today it does not seem to be the best idea.

    And yes, I noticed the colour of the flashing pointer... at Phils Backyard :(

    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 » Sat 16 Nov 2019 9:21 am

    Version 1.9.3 is online
    Note: there is a ini parameter Website to accomodate that info in the popup.
    Note: running the Map module once a day or manually as required should be enough (to save bandwith in fetching and storing the XML)

    Programmers note:
    As I may have been a professional programmer once, C# is relatively new to me, improving on the fly. Most experience has been in Assembler, PASCAL, C and SQL. When introducing the new ini parameter I ran into the problem that all users run Utils independently, so not everybody will have a Website entry in the XML when the file is already used by others. That may lead to so called NULL pointer references. Normally you prevent that by Assertions, checking etc... It normally takes some extra lines of code. So while dealing with that I encountered the most stylish language construct I have seen in a long time. All is done in one single line with the so called 'Null Coalescing operator' (??) and the Null-conditional Operator (?). It leads to only one line. Now I understand the expression: Programming is Poetry. This is absolutely beautiful:

    Code: Select all

    Website = Station.Element("Website")?.Value ?? "";
    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)

    hvd51
    Posts: 13
    Joined: Fri 13 Jul 2012 5:05 pm
    Weather Station: Davis VP2 +
    Operating System: Windows 10 Ultimate
    Location: 't Zandt, The Netherlands
    Contact:

    Re: Cumulusutils

    Post by hvd51 » Sat 16 Nov 2019 3:12 pm

    Hans,
    I have installed version 1.9.3 with the maps utility; works fine.
    Maybe an idea to transfer the maps utility to Marc for inclusion in CumulusMX?

    Harm

    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 » Sat 16 Nov 2019 3:58 pm

    Hi Hans,
    I have updated to v1.9.3 and looks good http://www.komokaweather.com/komokaweather-ca/wxMap.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 » Sat 16 Nov 2019 6:25 pm

    @Paul: Thnx! It's not in the menu yet ;)

    @Harm: Thnx, nice suggestion to include in CMX, but there are a few points to consider:
    1. CMX must be seen as a - at least - three layer system: 1) acquisition layer: drivers for the differrent weather stations 2) Storage layer: storage and dispatching of data 3) Display layer. Layer three was heavily integrated in C1. In CMX display is rudimentary and aimed for the HTML display devices. It consists of a simple (but effective) website and a system to transfer data to the display layer leaving it all to the user. In this sense CumulusUtils is a new kind of display layer, serving units to the user to use in a personalised display.
    2. The website CMX carries is a very rudimentary website, not up to modern technique and not ready for inclusion of other elements. The menu is a struggle for some;
    3. As described in point 1 and 2 it must be clear that CMX kind of abandoned the display layer, CMX is the body of layer 1 and 2. In principle that is OK, but from that point of view Maps can not be part of CMX.
    4. I am not finished yet with Utils and I am not sure I will complete it all, but my goal is to make an open ended website generator (display layer) which fits tightly into the CMX storage/data layer. As such, development will be completely independent of CMX only reacting on changes in the storage/data layer.
    From the points as described above, at some point, if Cumulus remains in public domain, my code may get public beside it. But for the moment I don't think it wise to bring modules like maps to CMX. It would be an orphan in the device driver/storage world.

    And apart from the above, I am currently looking at the licensing issues around the handling of a mapping tool like CumulusUtils Maps. There is always a permission required, even for OSM and I would like to m ove away from MapBox (if you look at my site, you will see I am already running only on StreetMaps but that requires a permission). So, all in all it is not something which can be done straightforward. I'll get back on this.

    Hope the above clarifies a bit. 8-)

    Tnx for the question.

    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)

    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 » Sat 16 Nov 2019 10:43 pm

    HansR wrote:
    Sat 16 Nov 2019 9:21 am
    Version 1.9.3 is online
    Note: there is a ini parameter Website to accomodate that info in the popup.
    Just a suggestion for the pop-up;

    Some may have a preference to have the website open in a new tab rather than leaving the map site.
    Same as you've done with the link to your Blog etc.
    _target=blank

    Could also be applied to the link to UK weather as well.

    Personally I often open links off pages with Open in New Tab, as I want to stay on the original page seeing what other info it offers.


    Cheers.
    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 1:55 am

    @phil: I did try that (btw quotes are required around blank) and the map does not display with that. You can try by adding it in he map.txt file and reloading. If you find a technique let me know. I could not get it done (in a short time so maybe I did not look good enough).

    You had said it before and I like a new tab myself but so far it does not seem possible with the leaflet library.
    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)

    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 4:41 am

    HansR wrote:
    Sun 17 Nov 2019 1:55 am
    @phil: I did try that (btw quotes are required around blank) and the map does not display with that. You can try by adding it in he map.txt file and reloading.
    Hmm,

    Had an edit in maps.txt & see what you mean.

    Map doesn't display....
    Tried wrapping in extra quotes & still couldn't find a solution that works.

    But I will bet you a 6 pack of Beer that the Betel will know the answer. :lol:
    Image

    Post Reply