Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

Possible future Cumulus direction

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
me_54m
Posts: 2
Joined: Sat 27 Apr 2013 10:01 pm
Weather Station: Maplin N96GY
Operating System: Windows XP
Location: West Yorkshire, UK.

Re: Possible future Cumulus direction

Post by me_54m »

I think this is a great idea.

A raspberry pi would be ideal for me - I'm seriously considering buying one in anticipation! :)
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Possible future Cumulus direction

Post by steve »

Progress is slow as I have lots of other things occupying my time (e.g. this forum). I've now got a Beaglebone Black, so I'll be looking to get something running on that too.
Steve
User avatar
g4ilo
Posts: 15
Joined: Wed 22 May 2013 10:08 am
Weather Station: Nevada WH3080
Operating System: Windows XP
Location: Cockermouth
Contact:

Re: Possible future Cumulus direction

Post by g4ilo »

Steve, I note from the start of this thread that you are a disenchanted Delphi developer. I just wondered if you had heard of Lazarus. It's a clone of Delphi based on Free Pascal that is cross platform and open source. I was a hobbyist programmer using Delphi since the 16-bit version 1, but I switched to Lazarus several years ago and never regretted it.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Possible future Cumulus direction

Post by steve »

Yes, I've used Lazarus/FPC for a few things. It's pretty good, and seems to be heading in the right direction, unlike Delphi. I've considered porting the engine part of Cumulus, but for now I'm happier with C# and .NET/Mono.
Steve
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Possible future Cumulus direction

Post by steve »

I've been having another play with Lazarus/FPC today, and after a bit of a struggle I have some test code which builds on Windows, Linux (on the Raspberry Pi) and OS X, reading data from a FO station using the HIDAPI C library, which I also built for the three platforms. It would be much easier to port the 'engine' part of the existing code to Free Pascal, so I think I'll continue along this path a little further and see what happens...
Steve
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Possible future Cumulus direction

Post by mcrossley »

Thanks for the update Steve.
Dave
Posts: 28
Joined: Sun 05 Jul 2009 3:41 pm
Weather Station: Vantage Pro 2

Re: Possible future Cumulus direction

Post by Dave »

I didn't want to quote your original response to this thread to save space, but what you described sounds like a great plan Steve. I've actually been playing around coding a custom GUI with Python and Pygame lately that I want to use for a large LCD display in our office and had not even begun to consider how I was going to feed it real time data yet. I thought about using a stand-alone industrial LCD display as hardware, but using a RPi rig would keep the cost way down. Bring on your new Cumulus "engine"! :D
User avatar
kasper58
Posts: 25
Joined: Tue 12 Jul 2011 5:17 am
Weather Station: Fine Offset (SS), TempestWX
Operating System: Windows 10 on Desktop
Location: New Zealand
Contact:

Re: Possible future Cumulus direction

Post by kasper58 »

Hi Steve
Hows the development of the Cumulus on the Pi going.
Regards Warren
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Possible future Cumulus direction

Post by steve »

I've had a version running on a Raspberry Pi non-stop for a few weeks now, reading data from my Fine Offset station, and uploading to a web site without any problems. I still have quite a bit of code to port/rewrite, and it has no user interface yet. There's a little bit more information on another thread somewhere.
Steve
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Possible future Cumulus direction

Post by mcrossley »

An old thread, sorry to resurrect it but...

Did you make a decision on the local database to use? MySQL doesn't really work that well on the Pi, so I'm trying SQLite.

My original Pi LAMP (Linux, Apache, MySQL, PHP) installation has morphed into LNSP (Linux, nginx, SQLite, PHP) in the quest for small footprint.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Possible future Cumulus direction

Post by steve »

I'm using an in-memory SQLite database for the 'recent' data (the stuff for the <#Recent...> web tags). It doesn't have an external database as yet, but when I eventually add a local database for 'permanent' data storage, it will almost certainly use SQLite (as Cumulus 2 did). Adding support for MySQL is tricky/expensive for closed-source software, using the Oracle libraries at least. But MariaDB looks good and is compatible with MySQL. It doesn't have the licensing issues that MySQL has, and so if/when I add support for a remote database, I'll probably use that.
Steve
davidrg
Posts: 3
Joined: Fri 09 Nov 2012 10:36 am
Weather Station: Vantage Vue
Operating System: Windows 7; Linux
Location: New Zealand

Re: Possible future Cumulus direction

Post by davidrg »

steve wrote:I'm using an in-memory SQLite database for the 'recent' data (the stuff for the <#Recent...> web tags). It doesn't have an external database as yet, but when I eventually add a local database for 'permanent' data storage, it will almost certainly use SQLite (as Cumulus 2 did). Adding support for MySQL is tricky/expensive for closed-source software, using the Oracle libraries at least. But MariaDB looks good and is compatible with MySQL. It doesn't have the licensing issues that MySQL has, and so if/when I add support for a remote database, I'll probably use that.
PostgreSQL is another option. Faster, more reliable/featured/mature and better documented database engine with none of the licensing problems. I'm not sure what the current state of .net support is but I believe Microsoft is planning on supporting it in Entity Framework 7 (along with SQL Server and SQLite) instead of MySQL. Part of their whole "we're cool with linux" open source ASP.net vNext/.net core runtime thing.

Although PostgreSQL has such a nice SQL dialect its a pity to hide it behind an ORM :)
Post Reply