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 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

[solved] CumulusMX + Raspberry Pi3 debian jessie + mono 3.2.8 + fine offset WS

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

Locked
vr34
Posts: 32
Joined: Wed 13 Jan 2010 12:43 pm
Weather Station: Bresser WLAN 7-in-1 (7003300)
Operating System: Raspberry OS Bullseye, CumulusMX
Location: South of France

[solved] CumulusMX + Raspberry Pi3 debian jessie + mono 3.2.8 + fine offset WS

Post by vr34 »

Hello,

I would like some help about my new configration.

All was ok before on win7/cumulusMX with my WS3083 fine offset.

Now I passed on a RPi3. I have installed mono 3.2.8 for compatibility with my fine offset WS. I copied the full folder CumulusMX from win7 to RPi3
It's nearly good. What is wrong :
1) CumuluxMX find my WS only at the first time after I unplug/plug USB on the RPi3. If I quit Cumulus and restart it, my WS is not found anymore. Same if I do it several times. I have to unplug and plug its usb and next CumulusMX start detects the WS. That means also when I reboot the RPi, the WS is not found. I definitely have to unplug plug it once.
2) the webpages are updated normally but the interface localhost:8998 shows the full layout but no data.
At each time I start CumulusMX, some of trends are empty : temperature per day, rainfall and solar per day even if data/dayfile.txt contains all the lines corresponding to the previous days. Same problem with temperature or humidities trends. The graph are not showing the previous 24h data but only some data, even if sept17log.txt contains all data.
At least, when I let running CumulusMX over night, the trends graphs are updated of the previous day data.

Could you please help me to fix this ?

Regards,
vr34
Last edited by vr34 on Fri 15 Sep 2017 11:03 am, edited 3 times in total.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX / Raspberry Pi3 debian jessie / mono 3.2.8 / fine offset WS3083

Post by steve »

I can't help with the problem of it not finding the station (except to suggest that you use a powered USB hub if you are not doing so) but regarding the problems with data display, what regional setting are you using? French?
Steve
vr34
Posts: 32
Joined: Wed 13 Jan 2010 12:43 pm
Weather Station: Bresser WLAN 7-in-1 (7003300)
Operating System: Raspberry OS Bullseye, CumulusMX
Location: South of France

Re: CumulusMX / Raspberry Pi3 debian jessie / mono 3.2.8 / fine offset WS3083

Post by vr34 »

thx steve for your message.

Indeed I can remember that in win7 I replaced comma by dot for decimal separation, keeping all other French settings. In RPi3/debian I do not know how to do that. Thus I modified settings from fr/FR to en/GB. Now the dashboard is updated and the save button does not return any error ;) Thx !
1° But still no 30 days history in daily temperature, rainfall and solar trends. data/dayfile.txt contains dots, not commas. What is wrong ?
2° Moreover, now all the new data are saved in Sep17log.txt. Before they were saved in sept.17log.txt

How can I fix that ?
- copy data from sept.17log.txt at the beginning of sep17log.txt. But I will not have any previous history anymore. Finally I do not care of the extremes data extracted from the last past years
or
- wait for the next 30 days to completely refill the daily graphs ! lol
or
- come back to fr/FR settings and replace in all log.txt files dots by commas: huge work ! (data accumulated from 2009) but no more localhost:8998 interface (?)
or
- something else that you advice ?

regards
Last edited by vr34 on Mon 11 Sep 2017 8:03 pm, edited 1 time in total.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX / Raspberry Pi3 debian jessie / mono 3.2.8 / fine offset WS3083

Post by steve »

You will have several problems if you try to use a French settings with Mono 3.2.8, and moving from French to GB is quite a bit of work, unfortunately. If your dayfile.txt contains only decimals with dots, I don't why the 30-day graphs don't work at startup. There will probably be error messages in the MXdiags files.
Steve
vr34
Posts: 32
Joined: Wed 13 Jan 2010 12:43 pm
Weather Station: Bresser WLAN 7-in-1 (7003300)
Operating System: Raspberry OS Bullseye, CumulusMX
Location: South of France

Re: CumulusMX / Raspberry Pi3 debian jessie / mono 3.2.8 / fine offset WS3083

Post by vr34 »

Thx steve for your reactivity.

Now I am happy as the interface localhost:8998 works fine, my webpages are updated and past 24h data are displayed even if I stop and start again CumulusMX.
The transition was a bit hard but I succeeded :D from a netbook+win7+cumulus1.9 last week to my new Pi3+debianJessie+mono3.2.8+cumulusMX !

Indeed there are error messages in the last MXdiags file :
1) GetRainfallTotals: Error on line 1 of dayfile.txt: Argument is out of range.
Parameter name: index
2) Error at line 227 of data/dayfile.txt : Argument is out of range.
Parameter name: index
I will try to fix them.
3) and several lines Error uploading web/... because I decided to reduce the number of pages available in the bottom navigation bar of my weather website. Thus I suppressed them from CumulusMX/web folder (gaugesT.htm and monthlyrecordT.htm). By the way, is it possible to avoid these error messages by selecting in the interface what pages should be uploaded ? Maybe the simpliest way is to upload all files anyway, even if I do not display them on the website.

Thx again for your help and the communities of Raspberry and Fine Offset WS.

Regards


EDIT: my USB problem is resolved. Previously I installed Weewx that was running as a deamon at each reboot if my Pi ! I removed it and now CumulusMX find my fine offset WS every time (quit/start CumulusMX) ;)
vr34
Posts: 32
Joined: Wed 13 Jan 2010 12:43 pm
Weather Station: Bresser WLAN 7-in-1 (7003300)
Operating System: Raspberry OS Bullseye, CumulusMX
Location: South of France

Re: CumulusMX + Raspberry Pi3 debian jessie + mono 3.2.8 + fine offset WS

Post by vr34 »

My problem of dayfile is solved :)

Coming from French win7, the decimal separator is the comma.
Now my WS is plugged on my new Raspberry Pi3
As my fine offset is recognize only with mono 3.2.8 and as this mono release runs better with English settings of debian, I choosed en-GB.

dayfile.txt created by the French settings of my win7 was :
decimal separator : comma
fields separator : semicolon

dayfile.txt created by raspdebian with en-GB settings :
decimal separator : dot
fields separator : comma

Hopefully, text editors can replace all characters at once ;)
vr34
Posts: 32
Joined: Wed 13 Jan 2010 12:43 pm
Weather Station: Bresser WLAN 7-in-1 (7003300)
Operating System: Raspberry OS Bullseye, CumulusMX
Location: South of France

Re: CumulusMX + Raspberry Pi3 debian jessie + mono 3.2.8 + fine offset WS

Post by vr34 »

Much easier :D :

sudo mono CumulusMX.exe -lang fr-FR

This parameter induces:
in dayfile.txt and all month log files (ex sept.17log.txt):
decimal separator : comma
fields separator : semicolon

in htm web files:
names of months in French (MMMM in thisyearT.htm, recordT.htm, ...)
decimal separator : comma

in localhost:8998 interface:
decimal separator: comma
Last edited by vr34 on Thu 14 Sep 2017 1:53 pm, edited 1 time in total.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX + Raspberry Pi3 debian jessie + mono 3.2.8 + fine offset WS

Post by steve »

You may have problems using French settings with Mono 3.2.8. I know that someone else had their system set to GB but ran MX using a 'foreign' setting and claimed that it works, but it is not clear to me how that can be the case. I can't guarantee that all of the features are working correctly. If they are, then that's obviously very good.
Steve
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: CumulusMX + Raspberry Pi3 debian jessie + mono 3.2.8 + fine offset WS

Post by rogerthn »

I am running Wheezy with en_GB.UTF-8 as default Locale with sv_SE.UTF-8 installed as well.
Mono version 3.2.8
I am starting CumulusMX with sudo mono CumulusMX.exe -lang sv-SE
All seems to be OK :lol:
Image
Locked