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

MX interface gauges show feet, want meter

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

MX interface gauges show feet, want meter

Post 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
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: MX interface gauges show feet, want meter

Post by freddie »

Hi Magnus, there is a recent topic about this.
Freddie
Image
MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

Re: MX interface gauges show feet, want meter

Post 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,
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: MX interface gauges show feet, want meter

Post by freddie »

What is your CloudBaseInFeet set to in Cumulus.ini?
Freddie
Image
MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

Re: MX interface gauges show feet, want meter

Post by MagnusGallstad »

CloudBaseInFeet=1
MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

Re: MX interface gauges show feet, want meter

Post 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 ?
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: MX interface gauges show feet, want meter

Post by freddie »

I think only in the .ini file. Make sure MX is stopped before editing.
Freddie
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: MX interface gauges show feet, want meter

Post 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.
MagnusGallstad
Posts: 25
Joined: Sat 14 Apr 2012 7:24 am
Weather Station: Oregon WMR200
Operating System: Raspberry pi 4
Location: Sweden

Re: MX interface gauges show feet, want meter

Post by MagnusGallstad »

Thanks alot ...
Post Reply