Page 3 of 4

Re: v7.2.0 b1

Posted: Thu 12 Sep 2024 1:45 am
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

Re: v7.2.0 b1

Posted: Thu 12 Sep 2024 1:55 am
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.

Re: v7.2.0 b1

Posted: Wed 18 Sep 2024 2:30 pm
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.

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 1:52 am
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

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 8:19 am
by mcrossley
I think they do if you switch on HTML mode.

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 8:26 am
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?

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 9:15 am
by mcrossley

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 9:25 am
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.

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 9:31 am
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.

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 9:35 am
by mcrossley
If the pages are UTF-8 though (?) you could just use the extended character ² ?

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 10:45 am
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

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 10:53 am
by mcrossley
Horses for courses. I prefer the smaller extended character, I use that on my web site.

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 11:08 am
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.

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 11:38 am
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.

Re: v7.2.0 b1

Posted: Thu 19 Sep 2024 11:47 am
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 ;)