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

Partially working Cumulus after porting from Windows to Raspberry PI 3

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
tomron
Posts: 15
Joined: Thu 08 Sep 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by tomron »

Hello!

I run Cumulus MX on a Notebook now for more than 6 months. My station is a Fine Offset WH1080 weather station.
Cumulus was sending data to a privat website and to weather underground and several other community sites similar to WU.

Some days ago I purchased a Raspberry PI 3 and installed the lastest Raspian (RASPBIAN JESSIE WITH DESKTOP, Version: July 2017
Release date: 2017-07-05, Kernel version: 4.9)

Mono complete package 3.2.8 is installed and working
Image

I managed to connect to the PI with Putty, WinSCP and Remote Desktop which is all working now.
As next step I ported my entire Cumulus MX folder from my Windows Notebook to the PI.

Cumulus connects to my station and seams to work properly:
Image


but only seams....
Image

gauges are dead:
Image

but charts are displaying actual data of my station!!
Image

but not on current data....
Image

but again proper data at Today and Yesterdays page
Image

Datalogs are working...
Image

Station settings:
Image

but I can not save them...
Image


surprise surprise Weather Underground is working....!!!
Image

BUT! not on my private Website
Image


I am now at the end of my own knowledge, maybe someone can assist me at this issue?

Best Regards
Tom
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: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by rogerthn »

Can you share your Start_CumulusMX?
Image
tomron
Posts: 15
Joined: Thu 08 Sep 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by tomron »

Code: Select all

cd /
cd /home/pi/Desktop/CumulusMX/
sudo mono CumulusMX.exe
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: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by steve »

Have you looked at the MX FAQ post? There is an entry specifically for the problem where the Dashboard, Now, and Gauges pages do not work.

The problem with saving the settings is probably because of an invalid value in Cumulus.ini, perhaps a decimal with a comma.
Steve
tomron
Posts: 15
Joined: Thu 08 Sep 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by tomron »

no I didn't, I will look it up!
tomron
Posts: 15
Joined: Thu 08 Sep 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by tomron »

ok there was one coma in the Cumulus.ini which I have removed.

--> no effect

than I switched from sockets to ajax like stated in the announcement 3032. This change takes effect and the now page is now working. So it seams the the sockets made this problem up!

is there a hint for the Pi to change the socket problem?
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: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by steve »

The only other suggestion I have is as in the MX FAQ, make sure you have no non-ASCII characters in Cumulus.ini

I'm afraid I have no suggestions regarding getting web sockets working, it could be one of many things. It has always worked fine for me so I have never had to try to fix it.
Steve
tomron
Posts: 15
Joined: Thu 08 Sep 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by tomron »

I found one main issue!!!

After setting back the language from German to English and then restarting the Pi all pages like now, dashboard, gauges are working as they supposed to work :D :bash:

But the private website is still not updating the gauges, whereas trends and now are displaying actual data.

The terminal throws the following exception:

Code: Select all

*** web tag error - see MXdiags file ***

Code: Select all

Web tag error
Exception: i=583 len=7939
inputText.Length=7939
token=recordsbegandate
System.FormatException: String was not recognized as a valid DateTime.
at System.DateTime.Parse (System.String s, IFormatProvider provider, DateTimeStyles styles) [0x00000] in <filename unknown>:0 
at System.DateTime.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0 
at System.DateTime.Parse (System.String s) [0x00000] in <filename unknown>:0 
at . (System.Collections.Generic.Dictionary`2 ) [0x00000] in <filename unknown>:0 
at . (System.String , System.Collections.Generic.Dictionary`2 ) [0x00000] in <filename unknown>:0 
at CumulusMX.Cumulus. (System.String , System.String& ) [0x00000] in <filename unknown>:0 
at . () [0x00000] in <filename unknown>:0 
Web tag error
Exception: i=631 len=7939
inputText.Length=7939
token=recordsbegandate
System.FormatException: String was not recognized as a valid DateTime.
at System.DateTime.Parse (System.String s, IFormatProvider provider, DateTimeStyles styles) [0x00000] in <filename unknown>:0 
at System.DateTime.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0 
at System.DateTime.Parse (System.String s) [0x00000] in <filename unknown>:0 
at . (System.Collections.Generic.Dictionary`2 ) [0x00000] in <filename unknown>:0 
at . (System.String , System.Collections.Generic.Dictionary`2 ) [0x00000] in <filename unknown>:0 
at CumulusMX.Cumulus. (System.String , System.String& ) [0x00000] in <filename unknown>:0 
at . () [0x00000] in <filename unknown>:0 
the list goes on and on
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: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by steve »

Now that you have changed your locale, your Cumulus start date in Cumulus.ini is not in a format the system recognises. You will need to stop Cumulus end edit Cumulus.ini, and change the StartDate= line so that it matches something which your system now recognises.
Steve
tomron
Posts: 15
Joined: Thu 08 Sep 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by tomron »

ok I've changed that, there were some comma errors in the July data log, I removed all lines but the update on my private website is still only partially working...
tomron
Posts: 15
Joined: Thu 08 Sep 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by tomron »

After all, I upgraded now to a virgin 3043 version and copied my Cumulus.ini to 3043.
restarted Cumulus and now all pages on the privat site are working....

I guess there is much trouble with the comma and dot at different languages...

is it possible to convert the history data from my previous Cumulus version?
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: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by steve »

tomron wrote:is it possible to convert the history data from my previous Cumulus version?
Yes. Assuming you are now using UK-style settings, you would need to edit all of your data files to first change the commas to dots, and then change the semicolons to commas. The names of the monthly log files may also need to be changed.
Steve
tomron
Posts: 15
Joined: Thu 08 Sep 2016 3:40 pm
Weather Station: WS1080
Operating System: Win10

Re: Partially working Cumulus after porting from Windows to Raspberry PI 3

Post by tomron »

Thanks for your support!
Locked