Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4021) - 04 May 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Cutils v7 migration

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Nossie
Posts: 364
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: Cutils v7 migration

Post by Nossie »

So the example .def file is just that, create a copy and rename it to CutilsMenu.def and then you can add and change things as you like.


Here is mine just FYI

Code: Select all

;
; CumulusUtils Menu definitions for Website- Part of CumulusUtils
;
; © Copyright 2022 Hans Rottier <hans.rottier@gmail.com>
;
; Author:      Hans Rottier <hans.rottier@gmail.com>
; Project:     CumulusUtils meteo-wagenborgen.nl
; Date:        22-09-2022
; Version:     Goes with CumulusUtils version 6.12 and up
;
; This file is  part of the distribution and for version 6.12 has limited functionality
; Users may modify this file to change the order of the menu items
; Later versions will include menu item additions
;
Home
Reports

Graphs
;  Item Extra Report extrasensorscharts.txt EndItem

Records
Extra
Misc
  Item MET Forecast Internal https://www.metoffice.gov.uk/weather/maps-and-charts/uk-weather-map#?bbox=[[54.665914357196506,-7.088997074091104],[56.638129591742754,-2.158882327997354]]&model=ukmo-ukv&layer=weather-symbols&timestep=1665061200000 EndItem
;  Item AWEKAS Forecast Internal https://stationsweb.awekas.at/forecast.php?id=27077&teh=c&lng=en&weh=mp&s=1 EndItem
Maps
  Item Sat24 IR Internal https://api.sat24.com/animated/EU/infraPolair/3/W_dot_%20Europe%20Standard%20Time/3820315 EndItem
  Item Thunderstorms Internal https://map.blitzortung.org/#7.8/55.761/-4.576 EndItem
  Item MET Office Warnings  Internal https://www.metoffice.gov.uk/weather/warnings-and-advice/uk-warnings EndItem
  Item Global Winds Internal https://earth.nullschool.net/#current/wind/surface/level/orthographic=-1.12,54.84,12863/loc=-4.5092,55.6856 EndItem
  Item Windy Internal https://embed.windy.com/embed2.html?lat=55.621&lon=-4.510&detailLat=55.656&detailLon=-4.412&zoom=11&level=surface&overlay=wind&product=ecmwf&menu=&message=true&marker=&calendar=now&pressure=true&type=map&location=coordinates&detail=true&metricWind=mph&metricTemp=%C2%B0C&radarRange=-1 EndItem

Observations
;  Item ./wu.png External https://www.wunderground.com/dashboard/pws/IKILMA84?cm_ven=localwx_pwsdash EndItem
   Item Windy Stations External https://www.windy.com/station/pws-f05c14fe?55.6856,-4.5092,8 EndItem
   Item Weather Underground External https://www.wunderground.com/dashboard/pws/IKILMA84?cm_ven=localwx_pwsdash EndItem
   Item WoW MET Office External https://wow.metoffice.gov.uk/observations/details/20221005wtxma4nr9ye65f7oyyb96sc6fr EndItem
   Item Weather Cloud External https://app.weathercloud.net/d5288401610#profile EndItem
;   Item AWEKAS External https://stationsweb.awekas.at/index.php?id=27077&teh=c&lng=en&weh=km&s=1 EndItem
Feedback
   Item Forum External https://forum.StewartonWeather.com EndItem
;  Item Waterstanden External https://waterinfo.rws.nl/#!/kaart/waterhoogte/ EndItem
;  Item TopoNL External https://topotijdreis.nl EndItem
;  Item Hoogtekaart External https://ahn.arcgisonline.nl/ahnviewer/ EndItem
;  Item CropMap External https://www.esa.int/ESA_Multimedia/Images/2018/05/Crop_map EndItem
;  Item Separator EndItem
;  Item Waterstanden (Int) Internal https://waterinfo.rws.nl/#!/kaart/waterhoogte/ EndItem
;  Item TopoNL (Int) Internal https://topotijdreis.nl EndItem

ToggleDashboard
About
Notice the ; for commented out lines but you could just remove them - the main thing Paul is that what you are modifying is just an example.
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
PaulMy
Posts: 3866
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Cutils v7 migration

Post by PaulMy »

Thanks, that helped a lot. After much trial-and-errors, ended successfully!

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
HansR
Posts: 5985
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Cutils v7 migration

Post by HansR »

PaulMy wrote: Thu 04 Apr 2024 8:54 pm The v7 home page has [User] [NL] and [Map] tabs. I want to edit these and have renamed MAP and started to edit the content in CUsermenu-example.txt. Where can I remove, rename and edit the User and NL tabs?
http://www.komokaweather.com/cumulusmx4/index.html
Hi Paul,

Indeed you should use CutilsMenu-example-for-use.def and move that to CUsermenu.def

The CutilsMenu-example.txt ( :!: ) (there is no def file for CUsermenu-example) is for the old SYSTEM-1 menu system. I will remove that file for the final release, system-1 is strongly disadvised and it serves no purpose anymore.

Thanks for the observation.

Cheers,
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Nossie
Posts: 364
Joined: Tue 16 Aug 2022 8:01 pm
Weather Station: Ecowitt 2551
Operating System: Raspberry Pi5 Debian Bookworm
Location: Stewarton, East Ayrshire UK
Contact:

Re: Cutils v7 migration

Post by Nossie »

Great to see Paul :)


Thanks Hans - that beta has fixed the co2 issue.
Ian.

http://www.StewartonWeather.com
Containerised Cumulus[MX] 3.28.0 (build: 3269) ● CumulusUtils Version 6.23.0● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
User avatar
HansR
Posts: 5985
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Cutils v7 migration

Post by HansR »

@Ian: Good and thanks for helping out Paul, I did not read beyond Pauls original message :bash:
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
PaulMy
Posts: 3866
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Cutils v7 migration

Post by PaulMy »

I am still running 2 instances of CMXv3 with CUtils v6.23.6 but these will eventually be stopped and converted to CMXv4.
I've updated the CutilsMenu.def menu but have a small thing...

I was successful to get another CMXv4 working with CUtils v7.0.0 and the CutilsMenu.def http://www.komokaweather.com/cumulusmx4 ... n=Overview

I have updated the v6.23.6 to the same CutilsMenu.def and that also works well. However in both there is an additional menu tab.
For one v6.23.6 install there is an extra [Uploads] and [Maps] tab http://www.komokaweather.com/cumulusmx/index.html
For the other v6.23.6 install there is an extra [User Menu] tab http://www.komokaweather.com/cumulusmxwll/index.html
These appears to be a carry over from the previous CUsermenu that had these extra tabs but the new CutilsMenu.def does not have these two tabs, and all 3 installs have the identical CutilsMenu.def in \utils. I have done a website run several times for both the v6.23.6 installs.

Just live with it for the time being, or did I do something wrong/missed something?

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
HansR
Posts: 5985
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Cutils v7 migration

Post by HansR »

All your sites re unreachable for me a.t.m. @paul, I'll check again tomorrow and we'll contact in the afternoon (my time) / morning (your time)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5985
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Cutils v7 migration

Post by HansR »

@Paul: unfortunately all those links are inaccessible (see screenshot of what I see). I unlocked all blocking possibilities for ads/trackers, malware and scams but it remains no go.

But try to remove the CUsermenu.txt from the server directory. It could interfere if you use both menu systems at the same time. Your menu does not have anything to do with me not seeing your site I assume.
    Schermafbeelding 2024-04-06 163420.png
    You do not have the required permissions to view the files attached to this post.
    Hans

    https://meteo-wagenborgen.nl
    CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
    User avatar
    Dador
    Posts: 216
    Joined: Thu 24 Nov 2011 2:22 pm
    Weather Station: Davis VP2 Plus & Ecowitt
    Operating System: Windows 10
    Location: Rybnik, Poland
    Contact:

    Re: Cutils v7 migration

    Post by Dador »

    HansR wrote: Sat 06 Apr 2024 2:39 pm @Paul: unfortunately all those links are inaccessible (see screenshot of what I see). I unlocked all blocking possibilities for ads/trackers, malware and scams but it remains no go.
    Interesting.
    Any country restrictions?
    All links work fine for me.
    User avatar
    PaulMy
    Posts: 3866
    Joined: Sun 28 Sep 2008 11:54 pm
    Weather Station: Davis VP2 Plus 24-Hour FARS
    Operating System: Windows8 and Windows10
    Location: Komoka, ON Canada
    Contact:

    Re: Cutils v7 migration

    Post by PaulMy »

    @Hans write:
    Indeed you should use CutilsMenu-example-for-use.def and move that to CUsermenu.def
    Which file (name) should I use CutilsMenu.def or CUsermenu.txt?
    Neither of these files are on my webserver and I think that is ok.

    I have tried a website run using the v7 included CUsermenu-example.txt after renaming it to CUsermenu.def in the CumulusMX4\utils folder and the tabs on the home page are Home, About, Reports, Graphs, Records, Extras, Misc, Toggle Dashboard, Print and they all work. But none of the new tabs that would have the navigation items in the example file - like Waterstanden.txt and European Forest Fire Information System, etc. If I could get this working then I should be able to edit for my preferred sites/links. I am drawing a blank :oops:

    Enjoy,
    Paul
    VP2+
    C1 www.komokaweather.com/komokaweather-ca
    MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
    MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
    MX https:// komokaweather.com/cumulusmx4/index.htm
    Image
    User avatar
    HansR
    Posts: 5985
    Joined: Sat 20 Oct 2012 6:53 am
    Weather Station: GW1100 (WS80/WH40)
    Operating System: Raspberry OS/Bookworm
    Location: Wagenborgen (NL)
    Contact:

    Re: Cutils v7 migration

    Post by HansR »

    @Paul: indeed I confused myself and everybody else :oops:

    I think I best point to the wiki.
    The file CutilsMenu-example-for-use.def in the distri is a good starting point with all possibilities shown.

    The file you use operational must be CutilsMenu.def which must reside in the utils directory (like CutilsCharts.def).
    The system-1 file (CUsermenu.txt exists on the server (but please remove it when you use system-2)

    Hope this clarifies.
    Hans

    https://meteo-wagenborgen.nl
    CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
    User avatar
    PaulMy
    Posts: 3866
    Joined: Sun 28 Sep 2008 11:54 pm
    Weather Station: Davis VP2 Plus 24-Hour FARS
    Operating System: Windows8 and Windows10
    Location: Komoka, ON Canada
    Contact:

    Re: Cutils v7 migration

    Post by PaulMy »

    Hi Hans,
    I think I best point to the wiki.
    The file CutilsMenu-example-for-use.def in the distri is a good starting point with all possibilities shown.

    The file you use operational must be CutilsMenu.def which must reside in the utils directory (like CutilsCharts.def).
    all resolved now. I've used only my edited CutilsMenu.def in both \CumulusMX\utils and remote webserver. Both CMXv3 and CMXv4 installs now show the menu as I expect. Quite easy when it sinks in, and a read of the Wiki also helps.

    Thanks for your patience.

    Enjoy,
    Paul
    You do not have the required permissions to view the files attached to this post.
    VP2+
    C1 www.komokaweather.com/komokaweather-ca
    MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
    MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
    MX https:// komokaweather.com/cumulusmx4/index.htm
    Image
    User avatar
    HansR
    Posts: 5985
    Joined: Sat 20 Oct 2012 6:53 am
    Weather Station: GW1100 (WS80/WH40)
    Operating System: Raspberry OS/Bookworm
    Location: Wagenborgen (NL)
    Contact:

    Re: Cutils v7 migration

    Post by HansR »

    Pfff...

    And I see your site when using my 5g connection on the phone so it must be somewhere in my wifi :groan:
    Hans

    https://meteo-wagenborgen.nl
    CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
    Post Reply