IMPORTANT! The server may go down soon - possibly permanently. Please read the latest post in Announcements and News

FTP is broken. I strongly advise all users using my server for their web site to make alternative arrangements.

Outgoing mail is disabled because of the malware on the server. No new forum registrations are currently possible, and mail to the forum administrator will not work.

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Extend easyweather.dat with more two fields for Solar and UV

Discussion and questions about Cumulus weather station software version 1. This section and its subforums are the main place to get help with Cumulus. Anything which is not specific to the type of weather station goes in here; for anything specific to a type of weather station, please use the appropriate subforum. Use the 'website development' section for any questions relating to creating or running a web site for Cumulus data. Discussion of the stations themselves in these sections is fine.
User avatar
Werk_AG
Posts: 182
Joined: Sun Jan 13, 2013 8:04 pm
Weather Station: WeatherDuino Pro2
Operating System: Windows 7
Location: Cercal CDV - Portugal

Re: Extend easyweather.dat with more two fields for Solar an

Postby Werk_AG » Mon Feb 25, 2013 7:25 pm

steve wrote:It needs to be flexible; I'm thinking that the user should tell Cumulus what format their data is in (by some yet to be decided mechanism), rather than the other way around. Then it works for just about any format produced by other software without the user having to manipulate the data.


Hi Steve

Are you thinking in something like was been done in WSDL?
Creating a serie of generic messages like this:

Examples (optional checksums ommitted)
All examples use channel 1, random code F7 and good battery (status=0)
======================================
GEN:t1F70-02836 = Temperature -28.36C

GEN:T1F70+034100240 = Temperature +34.1C, humidity 24.0%

GEN:h1F700980 = Humidity 98.0%

GEN:W1F70021112118090 = Avg wind 2.1m/s at 112deg, gust 11.8m/s at 090 degrees (east).

GEN:R1F70021370098832005544000103 = rain rate 21.37mm/hr, total 988.32mm, 55.44mm today, 1.03mm this hour

GEN:U1F700830 = UV index 8.3

==============================

WSDL can read this directly from Arduino, don't need to use the RS232 Data Logger.

Still think that extend the fields of the easywether.dat file will be o lot more easy. Cumulos is already able to process all important data via easywether.dat, only lacks Solar Rad and UV data

People who may be interested in this type of injecting data into Cumulos, are users of systems with Arduino or the like, and easily format the output in their systems as needed.
This last weekend I adapted my Arduino code to output received data in easyweather.dat (Cumulos) or WSDL format (stil with a problem with rain data) . Now I can output to one or the other.

Regards
Image

User avatar
steve
Cumulus Author
Posts: 26692
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Extend easyweather.dat with more two fields for Solar an

Postby steve » Mon Feb 25, 2013 7:30 pm

I'm thinking of something like the easyweather.dat file, but where the order of the fields, and the separator between them, is configurable.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

User avatar
Werk_AG
Posts: 182
Joined: Sun Jan 13, 2013 8:04 pm
Weather Station: WeatherDuino Pro2
Operating System: Windows 7
Location: Cercal CDV - Portugal

Re: Extend easyweather.dat with more two fields for Solar an

Postby Werk_AG » Mon Feb 25, 2013 9:21 pm

I understood. Thus, each data should be preceded by an identifier that allows Cumulos to identify the type of data ... temperature, humidity, rain, etc, etc ...

Something like:

IH - Indoor Humidity, IT - Indoor Temperature

IHxxxx,ITxxxx,OHxxxx,OTxxxx,DPxxxx,WCxxxx, ... and so on for the other data fields ?

This can be very flexible. It's like the solution used in WSDL, except all the data will be written sequentially in one single line.
Identifiers can be more complex, to identify sensors of the same type (ex: Out. Temp. 1, Out. Temp. 2).
Define the identifiers, lenght of the fields an units, requires some thinking about...

Thanks for taking attention to this matter. There are several forum posts that suggest that this matter may be of interest to Cumulus
Image


Return to “Cumulus 1”

Who is online

Users browsing this forum: No registered users and 5 guests