Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Diary access

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Diary access

Post by PaulMy »

In Cumulus1 the entries in the Weather Diary are saved in \data\log.xml and I have snow data since Nov 21, 2008.
When I started to also run CumulusMX on another computer a couple years ago I copied that log.xml from Cumulus1 to the CumulusMX\data folder.
In the winter I have been adding the snow information every morning in both versions. Cumulus1 log.xml file is current to today with all my daily entries.
However CumulusMX log.xml has the latest entry as 20201223 (Dec 23, 2020), yet when I go to the Weather Diary calendar there is an entry for each date up until today, and the calendar dates are all coloured red which indicates an entry has been made. Any thoughts on why the CumulusMX log.xml no longer has the diary entries?

CumulusMX also has the diary.db file and that is dated today so presume that contains the up to date diary entries that I see from the calendar, but I can't open that. How can I access this data?

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Diary access

Post by mcrossley »

Hi Paul, it is a SQLite database file. You'll have to Google how to open it, but you can install odbc drivers to allow things like Excel or Access to open the file.
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Diary access

Post by sfws »

PaulMy wrote: Tue 26 Jan 2021 6:37 pm Cumulus1 log.xml file is current to today with all my daily entries
...
CumulusMX also has the diary.db file and that is dated today so presume that contains the up to date diary entries that I see from the calendar, but I can't open that.
You should have checked the Cumulus documentation https://cumuluswiki.org/a/Weather_Diary to find which file is used.

And of course https://cumuluswiki.org/a/Moving_from_Cumulus_1_to_MX mentions that there is no way for MX to import the C1 data, also viewtopic.php?p=139854#p139854 compares functionality.
PaulMy wrote: Tue 26 Jan 2021 6:37 pmHow can I access this data?
Do you use PHPMy Admin? If so, you might want to install PHPLiteAdmin (of course you might find configuration difficult, because I know you struggle with PHP and the configuration is in a PHP file). I often do my MX weather diary updates using that tool, rather than the admin interface edit option.

There was a post in the forum, earlier this month, about using api for reading the information in any single date in this MX database viewtopic.php?p=149525#p149525.

As Mark says, any ODBC option can connect.
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Diary access

Post by PaulMy »

@sfws, true I should have and I didn't.
I will follow Mark and your suggestion on the SQLite DB file.

Thanks,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
Post Reply