Page 1 of 1
MX interface gauges show feet, want meter
Posted: Sat 25 Apr 2020 2:10 pm
by MagnusGallstad
Hello !
How to do for change cloudgauge in interface to show in meter , its now in feet ?
Second question .....
In cumulus 1 ... I use webtag #cloudbase, and that shows value in meter
but from mx it shows in feet
/Magnus
Re: MX interface gauges show feet, want meter
Posted: Sat 25 Apr 2020 2:43 pm
by freddie
Hi Magnus, there is a
recent topic about this.
Re: MX interface gauges show feet, want meter
Posted: Sat 25 Apr 2020 3:16 pm
by MagnusGallstad
Hello Freddie, I been looking in that topic, but ....
This lines is in my interface/js
125 cloudbasevalue: inp.Cloudbase,
126 cloudbaseunit: inp.CloudbaseUnit,
I cant see any difference from what Mr mcrossley wrote in
viewtopic.php?p=134136#p134136
cloudbasevalue: inp.Cloudbase,
cloudbaseunit: inp.CloudbaseUnit,
Re: MX interface gauges show feet, want meter
Posted: Sat 25 Apr 2020 3:40 pm
by freddie
What is your CloudBaseInFeet set to in Cumulus.ini?
Re: MX interface gauges show feet, want meter
Posted: Sat 25 Apr 2020 3:53 pm
by MagnusGallstad
CloudBaseInFeet=1
Re: MX interface gauges show feet, want meter
Posted: Sat 25 Apr 2020 3:56 pm
by MagnusGallstad
I can see in my old cumulus 1 ini file that this value is set to 0
But where in cumulus MX interface is it possible to change this ? , or is it only possible ti edit ini file ?
Re: MX interface gauges show feet, want meter
Posted: Sat 25 Apr 2020 4:00 pm
by freddie
I think only in the .ini file. Make sure MX is stopped before editing.
Re: MX interface gauges show feet, want meter
Posted: Sat 25 Apr 2020 4:06 pm
by mcrossley
It's an odd one that, I've just looked at the code, it can only be set in the ini file, and defaults to feet for everyone.
A quick change I could make is to make it default to the same as the Altitude setting, which gives the choice of feet or metres. You would still be able to override it in the ini file, but it would make sense to at least make a guess at the correct default.
Scrap that, not do-able. It would have to be a setting in the interface.
Re: MX interface gauges show feet, want meter
Posted: Sat 25 Apr 2020 4:10 pm
by MagnusGallstad
Thanks alot ...