Page 1 of 1

Possibility of custom serial stream?

Posted: Mon 13 Jul 2015 9:57 am
by Things
I'm in the process of DIY'ing a weather station, as my old cheapy eBay one kicked the bucket a while back, and I've always found the update times to be so slow on the cheaper stations.

I've read through the FAQ's and wiki, but couldn't really find anything in particular about this.

Is there any way for Cumulus to support just a generic serial datastream? Or perhaps pull data from a file instead? I can easily modify my code to match an existing protocol for input, however I'm not sure if they're actually published anywhere. At the moment the limits of my sensors seem to be about a 2 second update rate. I've used Cumulus with my cheap station in the past and it's worlds ahead of the garbage they send with it, so I'd love to be able to use it for my custom station too if I can.

Cheers

Re: Possibility of custom serial stream?

Posted: Mon 13 Jul 2015 10:44 am
by steve
The ways that people have used to interface their self-built stations to Cumulus are by emulating a station which Cumulus supports, which is the best way, or by getting Cumulus to read an 'easyweather.dat' file, see http://wiki.sandaysoft.com/a/EasyWeather_Format

The station protocols that I am aware of being used in this way are the Davis protocol (published on their web site) and the Fine Offset protocol (not officially published, as far as I am aware, but available unofficially in various places - there may be a copy in the wiki).

It's possible that at some point in the future I will add support for a custom serial stream input, but I have no idea when that might be.

Re: Possibility of custom serial stream?

Posted: Tue 14 Jul 2015 2:42 am
by Things
Interesting, wouldn't have thought Davis would publish their protocol. Good to know.

Although a fair few of the commands seem to be pretty useless, I'm assuming Cumulus only really looks for the current data and high/low data? But I can check this pretty easily anyway by seeing what it's sending :)

Cheers

Re: Possibility of custom serial stream?

Posted: Tue 14 Jul 2015 9:24 am
by AllyCat
Hi,

Welcome to the forum; I don't think that the Davis protocol is all that "simple". :(

But to avoid reinventing the wheel, have you seen the Weatherduino project?

Cheers, Alan.

Re: Possibility of custom serial stream?

Posted: Thu 16 Jul 2015 6:45 am
by Things
Yeah, it's a pretty neat project. That said I'd like to use some better, newer hardware and try get update rates as quickly as I can, and I'm looking at perhaps removing the need for a computer at all. Just waiting on a bit more money to go further with it :)