Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

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

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
vr34
Posts: 19
Joined: Wed Jan 13, 2010 12:43 pm
Weather Station: Aercus Instruments WS3083
Operating System: Windows 7, CumulusMX build 3043
Location: South of France
Contact:

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

Postby vr34 » Mon Sep 11, 2017 11:08 am

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 Sep 15, 2017 11:03 am, edited 3 times in total.

User avatar
steve
Cumulus Author
Posts: 26252
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

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

Postby steve » Mon Sep 11, 2017 11:16 am

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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

vr34
Posts: 19
Joined: Wed Jan 13, 2010 12:43 pm
Weather Station: Aercus Instruments WS3083
Operating System: Windows 7, CumulusMX build 3043
Location: South of France
Contact:

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

Postby vr34 » Mon Sep 11, 2017 7:44 pm

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 Sep 11, 2017 8:03 pm, edited 1 time in total.

User avatar
steve
Cumulus Author
Posts: 26252
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

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

Postby steve » Mon Sep 11, 2017 8:00 pm

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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

vr34
Posts: 19
Joined: Wed Jan 13, 2010 12:43 pm
Weather Station: Aercus Instruments WS3083
Operating System: Windows 7, CumulusMX build 3043
Location: South of France
Contact:

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

Postby vr34 » Tue Sep 12, 2017 11:23 am

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: 19
Joined: Wed Jan 13, 2010 12:43 pm
Weather Station: Aercus Instruments WS3083
Operating System: Windows 7, CumulusMX build 3043
Location: South of France
Contact:

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

Postby vr34 » Thu Sep 14, 2017 9:13 am

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: 19
Joined: Wed Jan 13, 2010 12:43 pm
Weather Station: Aercus Instruments WS3083
Operating System: Windows 7, CumulusMX build 3043
Location: South of France
Contact:

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

Postby vr34 » Thu Sep 14, 2017 1:14 pm

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 Sep 14, 2017 1:53 pm, edited 1 time in total.

User avatar
steve
Cumulus Author
Posts: 26252
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

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

Postby steve » Thu Sep 14, 2017 1:50 pm

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
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

User avatar
rogerthn
Posts: 141
Joined: Thu Apr 11, 2013 6:31 pm
Weather Station: Oregon Scientific WMR88
Operating System: Raspbian GNU/Linux 8
Location: Trollhättan Sweden
Contact:

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

Postby rogerthn » Thu Sep 14, 2017 4:11 pm

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


Return to “Cumulus MX”

Who is online

Users browsing this forum: Denpat and 5 guests