Page 3 of 3

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Fri 27 Nov 2015 12:12 pm
by steve
It's the standard mono that gets installed by default when starting from a fresh OS install. Just follow the instructions without doing the 'install a later version of mono' optional part. As you've said you'll use English settings, you don't need that optional install anyway. I have assumed that's what you did (even thought you didn't say) as you have mono 4.2 installed.

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Fri 27 Nov 2015 12:33 pm
by jarom
steve wrote:It's the standard mono that gets installed by default when starting from a fresh OS install.
So I have fresh OS installed
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux
but
pi@raspberrypi:~ $ mono -V
bash: mono: command not found

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Fri 27 Nov 2015 12:37 pm
by steve
So now you need to follow the instructions and install the mono-complete package. I think that is 'jessie' that you have installed, so the version of mono you get may not be 3.2.8, but whatever version you get it should work as long as it is not 4.2.x.

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Fri 27 Nov 2015 1:30 pm
by jarom
Success! It works!
So let's summarize for such a Linux lama as I'm ;)
First - install the fresh version of NOOBS
Important - do not change the default language version. Should stay "GB" (it resolving decimal comma issue).

Second - install the mono-complete package
In the command line type:

Code: Select all

sudo apt-get update && sudo apt-get upgrade


and (when process of update and upgrade finished):

Code: Select all

sudo apt-get install mono-complete
When process of installation finished - check version on mono:

Code: Select all

mono -V
You should have:

Code: Select all

Mono JIT Compiler version 3.2.8 (Debian  3.2.8+dfsg - 10)
That's all - the system is right prepare to install CumulusMX.

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Fri 27 Nov 2015 5:18 pm
by jarom
Cumulus works well locally, but on the Internet web pages there are some issues

1. On the gauges.htm

error: NotFound

on the settings/extra web files I have:
Local filename:
/home/pi/CumulusMX/web/realtimegaugesT.txt
remote finelame:
public_html/realtimegauges.txt

What I have to change?

2. On the historical records there are a mistakes in notation - like this:
High Apparent Temperature -759467899799347.0 °C at 12:54
Low Apparent Temperature -669859743118286.0 °C at 16:59
Low Wind Chil l -555886030197144.0 °C at 08:21
High Heat Index 139999997615814.0 °C at 12:54
or for exaple:
Wind Run 303193359375.0 km
This because a changing of notation I presume, but how to change it to the right / new format?

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Fri 27 Nov 2015 5:57 pm
by steve
jarom wrote:remote finelame:
public_html/realtimegauges.txt

What I have to change?
Hard to say, as I don't know how your web space is arranged, or what other settings you have selected for that file, and you haven't given a link to your Cumulus MX web site.
This because a changing of notation I presume, but how to change it to the right / new format?
It's in the instructions. If you're using ini files from Cumulus 1 and they contain commas for decimals, you need to edit them to use full stops (periods) for decimals before you can use them with Cumulus MX. If you were using Polish settings with Cumulus 1 and you are now using GB settings, then your data logs will also all need editing, as your C1 files will be using commas for decimals and semicolons for list separators. GB settings use full stops for decimals and commas for list separators.

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Sun 06 Dec 2015 6:39 pm
by jarom
Hi Steve,
I've been out of my home a few days.Now I can return to the "rapberry problem" :)
the path to realtimegaugesT.txt on my raspberry Pi is:

Code: Select all

/home/pi/CumulusMX/web/realtimegaugesT.txt
the _root level on my web serwer is public_html/ (same place as gauges.htm and another htm files are)

So I adress realitimegauges file like this:
LOCAL FILENAME:

Code: Select all

/home/pi/CumulusMX/web/realtimegaugesT.txt
REMOTE FILENAME:

Code: Select all

/public_html/realtimegauges.txt

(I marked just PROCESS REALTIME FTP)

right now my test page is here: http://cumulus.ehost.pl/index.htm
and as you can see on the gauges page I have: "parseerror SyntaxError unespected token <


P.S.
The issue with decimal is solved by replacing , into . in data/.ini files.

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Sun 06 Dec 2015 6:44 pm
by steve
I don't get that error viewing your gauges page, they successfully loaded and displayed a set of data from the file. But the data file hasn't been updated now for a few minutes.

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Sun 06 Dec 2015 6:55 pm
by steve
...and now it is updating.

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Sun 06 Dec 2015 7:58 pm
by jarom
Ok i works! Yahooo! With those settings (where public_html/ is a _root level on my server)
:)

Thank you a lot Steve! Now I can prepare new skin for CumulusMX web and Polish language version. Where I can find languages strings?

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Sun 06 Dec 2015 8:06 pm
by steve
jarom wrote:Where I can find languages strings?
For the items that are internal to Cumulus that can currently be translated, see http://wiki.sandaysoft.com/a/Strings.ini

If you want to translate the UI or web pages, you just edit those directly (the UI is in 'interface' and the web site templates (with a 'T' in the name) are in 'web')

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Mon 07 Dec 2015 1:57 am
by jarom
Steve
Thanks alot for your help and forbearance. Now Cumulus MX works on my Raspberry Pi and I hope I will stay with this hardware configuration for a long time.
After over two years I could switch off my old laptop. No more fan noise!
Thank you also for this

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Sat 12 Dec 2015 3:39 pm
by jarom
Sorry, I can't find any stings.ini or samplestrings.ini file in the CumulusMX folder.

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Sat 12 Dec 2015 4:02 pm
by steve
You could construct one from the information in the wiki. But I've attached one to this message; I'll include it in the next build.

Re: Raspberry pi 2 mirror of a system with Cumulus MX workin

Posted: Sat 12 Dec 2015 7:09 pm
by jarom
Thank you Steve once again.
Everything works. In the attachement there are Polish language version of the strings.ini file and language.min.js.
It could be useful for future users.