Page 2 of 2

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Fri 09 Sep 2016 5:00 pm
by reimundko
I have noted there something else. The time on the browser of the Cumulus MX is correct.
Indeed, the time on my web page is shifted about 2 hours. What can this lie with?
With the Cumulus 1 this does not happen.

http://www.wetterstation-bechen.de

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Fri 09 Sep 2016 5:59 pm
by BigOkie
Check your station time? I don't know if the FO stations include time synchronization so not sure.

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Fri 09 Sep 2016 6:12 pm
by steve
I can't see anything wrong in the diags files, at the end of the file Cumulus is apparently reading data from the station, but the file just ends without Cumulus apparently being closed down properly.

The time shown on the 'last station update' is two hours earlier than the 'last Cumulus update' time because the clock on your Raspberry Pi is two hours earlier than the clock on the machine that you are running the browser on. This is presumably also the reason your web site shows the wrong time, if that's what you're saying.

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Fri 09 Sep 2016 7:00 pm
by reimundko
My last diag File. 20.59 no Data

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Fri 09 Sep 2016 7:15 pm
by reimundko
steve wrote:I can't see anything wrong in the diags files, at the end of the file Cumulus is apparently reading data from the station, but the file just ends without Cumulus apparently being closed down properly.

The time shown on the 'last station update' is two hours earlier than the 'last Cumulus update' time because the clock on your Raspberry Pi is two hours earlier than the clock on the machine that you are running the browser on. This is presumably also the reason your web site shows the wrong time, if that's what you're saying.

Thank you. The Time is now correct of the Raspberry.

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Fri 09 Sep 2016 7:16 pm
by steve
It was still reading data at 18:56:26, which was presumably 20:56:26 because your clock is wrong.

2016-09-09 18:58:36.060 Data read - 02-2C-05-01-42-B4-00-85-26-00-03-00-0A-C7-01-00-05-33-15-01-22-4E-01-7B-26-0E-18-00-0C-9B-01-00
2016-09-09 18:58:36.060 2020: 02 2C 05 01 42 B4 00 85 26 00 03 00 0A C7 01 00

I'm afraid that's all I can say.

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Fri 09 Sep 2016 7:23 pm
by reimundko
Okay. Now so there I have correctly put the clock, should it run through now?
I still have a problem. How can I begin Cumulus by myself, as soon as Raspberry starts?
sudo/etc/init.d/sudo mono CumulusMX.exe

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Fri 09 Sep 2016 7:31 pm
by steve
reimundko wrote:Okay. Now so there I have correctly put the clock, should it run through now?
I have no idea - from what I can tell, it was already working perfectly well.
I still have a problem. How can I begin Cumulus by myself, as soon as Raspberry starts?
sudo/etc/init.d/sudo mono CumulusMX.exe
You could start by reading the 'sticky' thread which describes the Cumulus Stop/Start/Restart script, which I believe will allow that. It appears near the top of the list of topics when you view the MX section of the forum. You will find that there is a lot of information available in the forum, the FAQ, and the wiki.

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Sat 10 Sep 2016 8:58 am
by reimundko
Now so the software runs through 1 day. Lay maybe, nevertheless, with the time.
One more question.
On the PC with Windows 10 I have correct announcements.
But on the Raspberry I have at the temperature a difference of 2 degrees centigrade.
What could this lie with?

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Sat 10 Sep 2016 9:01 am
by steve
reimundko wrote:But on the Raspberry I have at the temperature a difference of 2 degrees centigrade.
A difference where? Compared to what?

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Thu 15 Sep 2016 3:38 pm
by reimundko
Please can you show, where is the Fehler?

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Thu 15 Sep 2016 3:46 pm
by steve
Do you mean this -

Web tag error
Exception: i=1334 len=37398
inputText.Length=37398
token=DaysSinceRecordsBegan
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=31854 len=37398
inputText.Length=37398
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

It means that the StartDate value in Cumulus.ini is not in a format that your system can decode as a date. It is set to this:

2016-09-15 17:30:33.300 Cumulus start date: Freitag, 9. September 2016

but your system is running on UK settings, so you will need to change it to something like:

StartDate=09/09/2016

It looks like your data logs also have values which were written with commas for decimals and semicolons for separators, which are now invalid with UK settings:

2016-09-15 17:30:34.750 Error at line 1 of data/Sep16log.txt : Input string was not in the correct format
2016-09-15 17:30:34.751 Please edit the file to correct the error
2016-09-15 17:30:34.751 Loaded 0 entries to recent data list
2016-09-15 17:30:34.760 Error at line 1 of data/dayfile.txt : Unknown char: ;
2016-09-15 17:30:34.760 Please edit the file to correct the error

Re: Raspberry PI3 Cumulux no Connect to FineOffset

Posted: Thu 15 Sep 2016 5:41 pm
by reimundko
Ok thank you