Page 1 of 1

Homemade weather station question

Posted: Wed 05 Jan 2022 11:22 pm
by nansmico
I have built my own weather station using an Arduino and a Raspberry pi. The Arduino is outdoors with the weather sensors and communicates via wireless to the pi. I have configured the Raspberry pi with Cumulus MX and displays the web pages nicely and looks like it's working properly as far as I can tell. I don't have any data going to it because I'm not sure how to do this since there is no option to select for a homemade weather station. Can someone explain to me what file needs to be updated in order for the web pages to show the data? At the moment the Arduino has been programmed to output realtime.txt format to the pi. Can this file be used?

Re: Homemade weather station question

Posted: Thu 06 Jan 2022 11:48 am
by mcrossley
Probably the simplest way would be to use the EasyWeather station. This just reads a file for input, see - https://cumuluswiki.org/a/EasyWeather_Format

Re: Homemade weather station question

Posted: Sun 14 May 2023 11:34 am
by IainA_42
I have a RPi pico based station which can send the data to a Raspberry Pi3A running CumulusMX (from the pre-built RPi image). I can take that data and rearrange it into any format necessary, but what I'm missing is where should that data actually be for CumulusMX to read it?

Re: Homemade weather station question

Posted: Sun 14 May 2023 7:17 pm
by water01
You configure it as a Davis Station see here https://www.meteocercal.info/forum/thre ... l#pid16032 (you may have to subscribe to the forum to see it).

Also look at this Topic viewtopic.php?t=12083 where Werk_AG has documented the software and hardware. I have also PMd him to see if he will help.

Re: Homemade weather station question

Posted: Tue 16 May 2023 10:36 pm
by Werk_AG
Hi water01

I agree with mcrossley, probably the easier solution is use EasyWeather station.

Configuring it as Davis Station would imply implementing on the Arduino the capability to emulate the Davis protocol, as WeatherDuino does.

Re: Homemade weather station question

Posted: Tue 23 May 2023 4:07 pm
by IainA_42
OK, not making myself clear so starting from scratch....
I have data from my weather station; I can take that data and write it into a file in Easyweather.dat format. Where should that file be placed in the filesystem (I'm running it on a Raspberry Pi) for Cumulus to read the file.
If I understand the setup correctly, Cumulus will read the file at one minute intervals (default) to update the dashboard. (And store the data in a database??)
At the moment it doesn't seem to read the file which is in the /home/cmx directory, although that is where I have specified the file to be.

Re: Homemade weather station question

Posted: Tue 23 May 2023 4:38 pm
by mcrossley
I understood it could be anywhere on your filesystem that is accessible to CMX. You just need to provide the absolute full path and filename.

Re: Homemade weather station question

Posted: Tue 23 May 2023 8:01 pm
by watsonm
I create my own data stream based on the Ecowitt data protocol and send it to:

"http://CMX_IP:8998/station/ecowitt"

I used to use easweather.dat format but have long since deleted any old files relating to this . You could try using the url above first ....

However I found that the ECowitt format was a lot more useful to me . The following link may help if you wish to give it a try. (dont forget to switch to http(ecowitt) in settings -> station setting->general)

viewtopic.php?p=169042#p169042

Re: Homemade weather station question

Posted: Thu 25 May 2023 3:32 pm
by IainA_42
Ok, so I have a file in the right location but Cumulus doesn't seem to be referencing it. I note the wiki says the station type should be "Easyweather (using .dat file)". I don't see an entry like that in the stations list.

Note the point about Ecowitt but that just seems a a whole new lot of stuff to get to grips with at the moment!

Re: Homemade weather station question

Posted: Thu 25 May 2023 3:52 pm
by mcrossley
The station type is just "EasyWeather"

Re: Homemade weather station question

Posted: Wed 31 May 2023 6:57 am
by IainA_42
OK, think I'm sorted now! Most of my problems seem to stem from me using three different machines to put the system together and trying to read files on the wrong machine. Once I got my brain into gear it all looks much better!