IMPORTANT! The server may go down soon - possibly permanently. Please read the latest post in Announcements and News

I strongly advise all users using my server for their web site to make alternative arrangements.

Outgoing mail is disabled because of the malware on the server. No new forum registrations are currently possible, and mail to the forum administrator will not work.

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

Headless start on a Pi

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
User avatar
steve
Cumulus Author
Posts: 26700
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Headless start on a Pi

Postby steve » Sun Jan 18, 2015 1:25 pm

What is the date format in your today.ini?
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 since I have retired from my day job

henkg
Posts: 99
Joined: Sun Jul 24, 2011 8:53 am
Weather Station: WH3080 (Alecto WS-5000 ECO)
Operating System: Raspbian Wheezy on RPI B+
Location: Zeeland, Netherlands

Re: Headless start on a Pi

Postby henkg » Mon Jan 19, 2015 6:08 am

steve wrote:What is the date format in your today.ini?

[General]
Date=01/18/2015
Timestamp=01/19/2015 06:50:00
CurrentYear=2015
CurrentMonth=1
CurrentDay=18


Part of dayfile.txt: 05/01/15,6.1,225,08:29,0.0,08:45

Part of Month.ini:
[General]
Date=01/18/2015 00:00:00


Part of Alltime.ini:
[Temperature]
hightempvalue=12
hightemptime=01/10/2015 11:45:56
lowtempvalue=0



In the Wiki example for today.ini I see:
[General]
Date=29/09/2012
Timestamp=29/09/2012 11:50:00
CurrentYear=2012
CurrentMonth=9
CurrentDay=13


Should I swap day and month in Date and Timestamp of today.ini?
(And will this affect historical data?)

BTW: From the very first beta, I never used the -lang parameter. I started this beta without any (Cumulus1) data. I did not change the RPI Raspbian locale en_GB.UTF8 UTF8 either.
Image

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

Re: Headless start on a Pi

Postby steve » Mon Jan 19, 2015 9:02 am

Your dates are in US format, so you can't use the data files when using UK settings. All of the .ini data files will be the same.
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 since I have retired from my day job

henkg
Posts: 99
Joined: Sun Jul 24, 2011 8:53 am
Weather Station: WH3080 (Alecto WS-5000 ECO)
Operating System: Raspbian Wheezy on RPI B+
Location: Zeeland, Netherlands

Re: Headless start on a Pi

Postby henkg » Mon Jan 19, 2015 10:22 am

Thanks. I will stick with US then.
As a test:
I will do a clean install of 3010 without the -lang, just to see what date format is used. And after that, copy my data and run CMX without and with the -lang US parameter. And post the results of course ...
Image

henkg
Posts: 99
Joined: Sun Jul 24, 2011 8:53 am
Weather Station: WH3080 (Alecto WS-5000 ECO)
Operating System: Raspbian Wheezy on RPI B+
Location: Zeeland, Netherlands

Re: Headless start on a Pi

Postby henkg » Mon Jan 19, 2015 5:19 pm

About locales, just to let you know (tested with 3010):
Clean new install: Without –lang: Invariant language
Clean new install: With –lang en-GB: English (United Kingdom)

With my existing data, I started with 3002, not specifying the –lang parameter, no previous data / settings from Cumulus1:
Without -lang: Invariant language
With –lang en-US: English (United States)

Re-reading your announcement post, that’s exactly what you wrote. I should have read better ....
Image


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 2 guests