Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

v7.2.0 b1

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Nossie
Posts: 424
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: v7.2.0 b1

Post by Nossie »

Thanks

lsb-release was missing from the distro - after adding it, turning on verbose and running everything manually - everything I can see seems to run - but the footer still doesn't update :-/

can I have this topic split to a new topic if possible?


I've attached the new output but it's more a personal record - Hans, if you don't mind can you have a quick look over it and see if there is anything obvious to you?

I know this is not the way it should be run - but I have a file called runonce with the following and the file uploaded is out the output of that.

Code: Select all

#  utils/bin/cumulusutils.dll
#      [SysInfo][Forecast][StationMap][UserReports][MeteoCam]
#      [pwsFWI][Top10][Graphs][Yadr][Records][UserAskedData]
#      [NOAA][DayRecords][AirLink][CompileOnly][ExtraSensors]
#      | CheckOnly

sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll forecast
sleep 5
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll stationmap
sleep 5
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll userreports
sleep 5
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll NOAA
sleep 5
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll meteocam
sleep 5
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll pwsfwi
sleep 5
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll top10
sleep 5
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll graphs
sleep 5
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll yadr
sleep 5
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll records
sleep 5
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll dayrecords
sleep 5
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll extrasensors

sleep 20


sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll website
sleep 10
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll useraskeddata
sleep 10
sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll sysinfo
You do not have the required permissions to view the files attached to this post.
Ian.

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

Re: v7.2.0 b1

Post by HansR »

Hi Ian,
`
I suggest you create a new topic yourself, no need to split this.

I understand what you are doing but the logfile is from the from the ExtraSensors run. It surprises me that you have to run all separately and that the footer does not update (which means the index.html from the website run does not generate or upload).

Could you do the

Code: Select all

sudo docker exec -i MXWeather dotnet utils/bin/cumulusutils.dll website
and post that logfile?
Thanks.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

AndyKF650 wrote: Sun 08 Sep 2024 2:52 pm As an aside would it be possible to correct the units on the Home page Solar chart so that they read xx W/m2 rather than xx W/M2 which has an altogether different meaning.
That will be fixed in the next beta (and subsequent releases). But for the charts it is contained in a string in the language file as the title of the Y-axis which means I can only change the default, not any modification or translation. So if you change the translatable string YSESYaxis (yes I should have used easy readable names in the first place), you can change the text m2 to m<sup>2</sup> which will give you direct satisfaction.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

Unfortunately I have to withdraw this fix because Highcharts does NOT allow for the <sup> markup in the axis titles (it does e.g. allow e.g. <i> or <b>). I am sorry for high hopes :( :o

So the W/m2 will only be visible in the Dashboard
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: v7.2.0 b1

Post by mcrossley »

I think they do if you switch on HTML mode.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

mcrossley wrote: Thu 19 Sep 2024 8:19 am I think they do if you switch on HTML mode.
No I don't think so, I tried it on a fiddle.
Did I make an error?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: v7.2.0 b1

Post by mcrossley »

User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

mcrossley wrote: Thu 19 Sep 2024 9:15 am useHTML: true

https://jsfiddle.net/Ljhaf30b/
Aha... I used this (in version 12 of my fiddle, sorry for that):

Code: Select all

    yAxis: {
      useHTML: true,
      title: {
        text: 'test m<sup>mmm2</sup>'
      }
    },
I wasn't aware it had to be specified on a per item basis :oops:

Thanks Mark.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

I will redo the fix (see the comments by Mark above):
That will be fixed in the next beta (and subsequent releases). But for the charts it is contained in a string in the language file as the title of the Y-axis which means I can only change the default, not any modification or translation. So if you change the translatable string YSESYaxis (yes I should have used easy readable names in the first place), you can change the text m2 to m<sup>2</sup> which will give you direct satisfaction.
You will need the next version nevertheless because the yAxis title needs a useHTML switch set to true.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: v7.2.0 b1

Post by mcrossley »

If the pages are UTF-8 though (?) you could just use the extended character ² ?
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

mcrossley wrote: Thu 19 Sep 2024 9:35 am If the pages are UTF-8 though (?) you could just use the extended character ² ?
Yes, all pages and files in CUtils are UTF-8 so that would be possible.
But the output however is slightly different. For demo purposes I adjusted the fiddle to show both outputs. Temporarily you can also see it on my site as well. I prefer the somewhat larger HTML version.

It is a matter of taste. Thanks for thinking along.

[EDIT:] but for the translatable strings the user may decide for himself of course
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: v7.2.0 b1

Post by mcrossley »

Horses for courses. I prefer the smaller extended character, I use that on my web site.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: v7.2.0 b1

Post by HansR »

mcrossley wrote: Thu 19 Sep 2024 10:53 am Horses for courses.
Thanks for the lesson English :lol:
I'll think about it anyway. My new release is still a long way.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
AndyKF650
Posts: 818
Joined: Thu 20 Aug 2020 8:35 am
Weather Station: Davis VP2 Plus
Operating System: RPiv5B 64bit Linux 12 Bookworm
Location: Jersey Channel Islands
Contact:

Re: v7.2.0 b1

Post by AndyKF650 »

Hi Hans and Mark

Thanks for the update on the superscript issue. Personally I like the small 2 as the way forward.

Hans your website dashboard shows the solution.
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: v7.2.0 b1

Post by mcrossley »

HansR wrote: Thu 19 Sep 2024 11:08 am
mcrossley wrote: Thu 19 Sep 2024 10:53 am Horses for courses.
Thanks for the lesson English :lol:
I'll think about it anyway. My new release is still a long way.
I thought I'd throw that in for you ;)
Post Reply