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

How to feed live weather data into Cumulus

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.
Post Reply
meteohub
Posts: 4
Joined: Wed 10 Jun 2009 6:20 am
Weather Station: meteohub

How to feed live weather data into Cumulus

Post by meteohub »

I am looking for an option to feed weather data from smartbedded "direct connect kit" (link: http://www.smartbedded.com/wiki/index.p ... t_Kit_-_PC) into Cumulus. Does Cumulus allow for "weather station plugins" or is it able to read data via a TCP/IP socket connection?

I can change the Windows readout-program for the kit to deliver any format of data, but it is unclear to me how to feed that to Cumulus. Is there something like a generic data interface with Cumulus?

Any idea is welcome!
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: How to feed live weather data into Cumulus

Post by steve »

meteohub wrote:is it able to read data via a TCP/IP socket connection?
It is, using the Davis protocol.

Alternatively, you could use the 'easyweather.dat' method; some information here: https://cumulus.hosiene.co.uk/viewtopic.php?f=4&t=4344
Steve
meteohub
Posts: 4
Joined: Wed 10 Jun 2009 6:20 am
Weather Station: meteohub

Re: How to feed live weather data into Cumulus

Post by meteohub »

Thanks for the hints.

Simulating the strange Davis Loop protocol is clearly not an option. As I take from your answer, Cumulus does not have a plugin Mechanism where it is able to start a readout program as a child process and reading data from that via piping from stdin (which would be the natural way in Linux). I hoped something like that and a standard protocol how data has to look like being transfered that way to Cumulus would be aready there. That would make adding new kinds of station very easy and portable. Could be XML or something you prefer, I know I should stop dreaming now ;-)

l can produce a file containing data in "easyweather.dat" format containing the fields marked in the thread you pointed me to, but this will lack UV and solar data. Apart from that, how do I get the data feeded into Cumulus?
Will I point it to a file from which it starts reading? What will Cumulus do exactly? Opening the file, reading last record, and then, waiting for an update on the file or closing and deleting it and watching for the file to show up with new data? Do I have to define update Intervals in Cumulus? That is still very unclear to me.

Would be great if you might comment with a bit more tech detail. Thank you.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: How to feed live weather data into Cumulus

Post by steve »

Look at the easyweather.dat settings in the station settings. It opens and reads the last line of the file you specify at the interval you specify, and when the date/time changes, it uses the last record in the file as new data.

This interface is just a hack. It would be very nice if I had the time to add a proper 'general' interface to Cumulus, and all the other things that people seem to think it should have. I'm sure your commercial products do everything that anyone could possibly want, but I'm just a humble part-time hobbyist ;)
Steve
meteohub
Posts: 4
Joined: Wed 10 Jun 2009 6:20 am
Weather Station: meteohub

Re: How to feed live weather data into Cumulus

Post by meteohub »

Thanks for your support.

My products are far from serving all the demands my customers do have, so we are for sure in the same part-time developer boat ;-) Nevertheless, for Meteohub I did such a general plugin effort, to get rid of all the very special feeding needs (1-wire stations, etc...). I justified the plugin effort to myself as it took some burden from my developer shoulder on the long run.

I will do the easyweather-thing. As you explained it, it will work, while not being the most elegant thing on earth. Thanks again for your time and valuable advice!
Post Reply