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

A couple of questions from a CMX beginner

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
VSWeather
Posts: 8
Joined: Wed 09 Dec 2020 7:00 am
Weather Station: GW1000
Operating System: Ubuntu 20.04

A couple of questions from a CMX beginner

Post by VSWeather »

Hi

I have searched around a bit in this forum and don't think I can find answers to my questions.

So here they come.
What are the benefits of using MySql as a data source?
Is Mark Crossley's template available for download, it seems very informative.
Is it possible to import data from any other datasources, if yes, any data description?

Thanks
Gert
jlmr731
Posts: 227
Joined: Sat 27 Aug 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Wickliffe, Ohio
Contact:

Re: A couple of questions from a CMX beginner

Post by jlmr731 »

As far as SQL its not a data source for CumulusMX, Its a storage base. There may be many reasons to why, so the best would be a its searchable, works well with web site to pull data from and im sure there are many other use cases. yes CMX does store all the data in text files so a database is not needed some just may prefer to have a second way to retrieve data.

Only Mark can tell you, but with a bit of work you can customize your own.

What data source do you want to import from? This would be easier to answer if we knew.
VSWeather
Posts: 8
Joined: Wed 09 Dec 2020 7:00 am
Weather Station: GW1000
Operating System: Ubuntu 20.04

Re: A couple of questions from a CMX beginner

Post by VSWeather »

Hi

Thanks for the prompt answer.

I can export to .csv files.

Rgds
Gert
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: A couple of questions from a CMX beginner

Post by mcrossley »

VSWeather wrote: Tue 09 Feb 2021 9:15 pm Is Mark Crossley's template available for download, it seems very informative.
No, but the source for many of the pages are available either from my web site scripts page, or posts on this forum.
VSWeather
Posts: 8
Joined: Wed 09 Dec 2020 7:00 am
Weather Station: GW1000
Operating System: Ubuntu 20.04

Re: A couple of questions from a CMX beginner

Post by VSWeather »

Hi
If I look in the data folder, many files are updated frequently, so maybe it's not so easy to import into thes files.

Is it more easy to convert to MySQL and then import to the database from the .csv file?

Thanks
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: A couple of questions from a CMX beginner

Post by HansR »

@VSWeather: whatever you choose or whatever you do with the data, the only datastore with high integrity is the logfiles. As soon as the MySQL database becomes unreachable, data are no longer stored there and you need to refill missing data from the logfiles with one of existing tools. In several ways the SQL as a data source for presentation is flawed and requires constant (technical) attention.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
VSWeather
Posts: 8
Joined: Wed 09 Dec 2020 7:00 am
Weather Station: GW1000
Operating System: Ubuntu 20.04

Re: A couple of questions from a CMX beginner

Post by VSWeather »

Hi HansR

Thanks for the answer, it is good to know.

I’ll stay with the the logfiles as the primary datasource and try to see if I can import into MySql. Then I can use Grafana as an additional presentation.

I also guess that there is no easy Way to import into the logfiles from a CSC file?

Gert
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: A couple of questions from a CMX beginner

Post by HansR »

VSWeather wrote: Sat 13 Feb 2021 8:49 am I also guess that there is no easy Way to import into the logfiles from a CSC file?
I would not import external data (where does the CSC file come from?) straight into the logfiles unless you really know what you are doing. Check the Wiki for the format of the logfiles. Any error will break the reading of the logfiles. Especially the Dayfile will cause problems. The Monthly file will only cause problems in the current month and for any (third Party) software using those files.

With respect to import there are two tools to check out. Look into the Wiki or this recent thread where also @sutne points to his solution.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Post Reply