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 4019) - 03 April 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

Data confusion

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: Data confusion

Post by haeb »

Hi Steve,

O.K. i need a new mono. I have got mono 3.10.0 running now and everything seems to be O.K.

I don't ask why did it work before the accidentally run of cmx and what did change since then... :-)

Regards
Horst
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: Data confusion

Post by haeb »

Hi Steve,

it seemed quite O.K.! But now - i am using Mono 3.10.0 and CMX 3026 - i do have commas in my logged data. I am using the same locales than before the accident. Which settings have to be adjusted?

Regards
Horst
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Data confusion

Post by steve »

Sorry, I don't understand. Mono 3.10.0 is (apparently) OK with decimal commas. If the locale you are using (and supply to MX on the command line, just to be sure it uses the correct locale) uses decimal commas, then that's what MX will use. There are no settings in MX for this.
Steve
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: Data confusion

Post by haeb »

Hi Steve,

i have used CMX and mono 3.6.0 up to 07/30 with the locale parameter -lang de-DE. My Raspi also had the locale setting LANG=de_DE.UTF-8. CMX wrote dots in my data files.

On 07/24 i had an accident which led to commas in some data files of cumulus. I have changed all commas to dots. Then mono were changed to 3.10.0 which seemed to work.

But, since the day mono was changed, CMX writes commas in my data files and the older values have dots (look attachment 371.0 should be 31.7).

Now what should i do:
Change all dots in all settings and data files to commas?
Change any settings in mono?
Change the -locale de-DE?

Thanks for your patience
Horst
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Data confusion

Post by steve »

Using a German locale with a version of Mono which correctly handles decimal commas will give you decimal commas in the data logs, this is the way it is intended to work, and if everything else was working as it should be, this is how it would work. I made it clear from the start that there were issues with decimal commas on Linux, mainly because of older versions of Mono. The ini files will always use decimal points. The user interface may display commas in some places and decimal points in others, depending on where the values were formatted and whether the package used supports decimal commas or not. The use of decimal commas in displays is not always under my control, sorry.

How you want to move forward is entirely up to you. Having mixed decimal points and decimal commas in your data logs is probably not a situation that you want to be in, as demonstrated in your example.
Steve
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: Data confusion

Post by jank »

haeb wrote: i have used CMX and mono 3.6.0 up to 07/30 with the locale parameter -lang de-DE. My Raspi also had the locale setting LANG=de_DE.UTF-8. CMX wrote dots in my data files.
Horst, may I ask you a question which is not completelöy clear for me.
My system:
Raspberry Pi: Raspberry Pi 2 Model B
System Language is: de_DE.UTF-8 and Language used in CumulusMX is: German
Version of Mono is Mono JIT compiler version 4.0.2 (Stable 4.0.2.5/c99aa0c Wed Jun 24 10:33:52 UTC 2015)
Here is an excerpt from my Data Logs
03.08.15;16:30;31,6;38;15,5;7;14;118;0,0;0,0;1015,1;1269,1;24,6;52;6;31,6;31,6;0,0;0;0,00;0,00;32,2;852;0,0;180;0,0;0,0
03.08.15;16:40;31,8;37;15,3;2;6;166;0,0;0,0;1015,1;1269,1;24,6;52;0;31,8;31,8;0,0;0;0,00;0,00;33,2;826;0,0;0;0,0;0,0

You are using a 3.x Mono Version, so I assume, you are having a Raspberry Pi B with 512MB RAM?
when I started witzh my Raspberry Pi and CumulusMX, I had similar problems with dots and commas and also the problem with -- >371.0 should be 31.7
I switched to a Raspberry Pi 2 and installed the new Mono version and fixed all Problems step by step, also by modifying old Data, created in the past years from my Windows System.
I have mor Problems anymore.
Jan
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
Locked