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 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Sharing wx data between two Raspberry pi's

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Sharing wx data between two Raspberry pi's

Post by falkunmalti »

Hi
My current setup includes CumulusMX running on a rpi3 on the second floor where WWVB connectivity is best (for syncing my WMR200 clock with WWVB). MX also connects to Weatherunderground and my weather website to send weather data out to the internet. I also plan to send the weather data out to aprs via a tnc-pi2 running on another rpi3 located in the basement. How can I set things up so that the daily information from MX gets sent out also to my aprs? Both rpi's will be on the same network. I uses to do this with Cumulus 1 but then all software was running on the same machine. Thanks for any help. Please ask if you need more clarification.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Sharing wx data between two Raspberry pi's

Post by steve »

How were you sending aprs data using Cumulus 1? Using the text file generated by Cumulus whose name I have completely forgotten? If so, you need a way to copy that file to the other Pi - a Linux expert can probably help you with that.
Steve
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Sharing wx data between two Raspberry pi's

Post by falkunmalti »

steve wrote:How were you sending aprs data using Cumulus 1? Using the text file generated by Cumulus whose name I have completely forgotten? If so, you need a way to copy that file to the other Pi - a Linux expert can probably help you with that.
Yes with Cumulus 1 I used to point aprsis to the file wxnow.txt which resides in the Cumulus main directory. I am thinking that creating a shared directory (or sharing the Cumulus directory) and then pointing to that should do it. Thanks.
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Sharing wx data between two Raspberry pi's

Post by falkunmalti »

falkunmalti wrote:
steve wrote:How were you sending aprs data using Cumulus 1? Using the text file generated by Cumulus whose name I have completely forgotten? If so, you need a way to copy that file to the other Pi - a Linux expert can probably help you with that.
Yes with Cumulus 1 I used to point aprsis to the file wxnow.txt which resides in the Cumulus main directory. I am thinking that creating a shared directory (or sharing the Cumulus directory) and then pointing to that should do it. Thanks.
Steve, could you please confirm if the filename is realtime.txt residing in the CumulusMX main directory, Thanks.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Sharing wx data between two Raspberry pi's

Post by steve »

No, I think you were right, the aprs file is wxnow.txt
Steve
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Sharing wx data between two Raspberry pi's

Post by falkunmalti »

steve wrote:No, I think you were right, the aprs file is wxnow.txt
Steve, the aprs file wxnow.txt is in Cumulus 1 and resides in the main directory. In CumulusMX, which is what I was asking about, there is a file called realtime.txt which seems to be the same format and content as wxnow.txt in Cumulus 1. Please confirm if I am right and if not where I am mistaken. Thank you.
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Sharing wx data between two Raspberry pi's

Post by laulau »

Hi,
In both Cumulus1 and CumulusMX i have a wxnow.txt file that contain the same data:

Code: Select all

sept. 25 2017 11:43
001/002g004t054r000p000P000h89b10199
It's not the same format in realtime.txt

Code: Select all

25/09/17 11:45:10 12.4 89 10.7 2.9 3.6 354 0.0 0.0 1019.88 N 1 km/h C mb mm 9.9 -0.12 19.0 315.4 0.0 19.5 55 12.4 +0.7 12.4 11:43 7.2 06:18 4.3 08:43 10.1 08:36 1021.03 00:44 1019.88 06:11 3.0.0 3043 7.2 12.4 14.0 0.7 0.00 181 1 0.0 8 1 0 N 219 m 12.1 0.0 563 0 
Laurent

Image
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Sharing wx data between two Raspberry pi's

Post by falkunmalti »

laulau wrote:Hi,
In both Cumulus1 and CumulusMX i have a wxnow.txt file that contain the same data:

Code: Select all

sept. 25 2017 11:43
001/002g004t054r000p000P000h89b10199
It's not the same format in realtime.txt

Code: Select all

25/09/17 11:45:10 12.4 89 10.7 2.9 3.6 354 0.0 0.0 1019.88 N 1 km/h C mb mm 9.9 -0.12 19.0 315.4 0.0 19.5 55 12.4 +0.7 12.4 11:43 7.2 06:18 4.3 08:43 10.1 08:36 1021.03 00:44 1019.88 06:11 3.0.0 3043 7.2 12.4 14.0 0.7 0.00 181 1 0.0 8 1 0 N 219 m 12.1 0.0 563 0 
Not in mine though. I don't have a wxnow.txt in CumulusMX, although my weather station is connected to CumulusMX. Maybe I have to specifically enable weatherunderground in the options. I have not done that yet. Thank you.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Sharing wx data between two Raspberry pi's

Post by steve »

You don't need to enable WU, it's nothing to do with the wxnow.txt file. I don't know why you wouldn't have a wxnow.txt file,it should be creating it by default, just as with Cumulus 1 - as laulau has said. Is MX doing other things periodically, e.g. Adding entries to the sept log file?
Steve
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Sharing wx data between two Raspberry pi's

Post by falkunmalti »

steve wrote:You don't need to enable WU, it's nothing to do with the wxnow.txt file. I don't know why you wouldn't have a wxnow.txt file,it should be creating it by default, just as with Cumulus 1 - as laulau has said. Is MX doing other things periodically, e.g. Adding entries to the sept log file?
No it's just sitting there, connected to my weather station. I have been stopping and starting it quite a bit recently. When should the wxnow.txt file be created, right at the beginning? Since I am still in debug mode at the moment, I am still running my permanent station on the windows cumulus and doing testing on the MX.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Sharing wx data between two Raspberry pi's

Post by steve »

It rewrites the file once a minute. Your answer to my question isn't clear - is it or is it not writing entries to the sept log file? If not, is your station fully working - as mentioned in the FAQ, Cumulus requires a number of sensors to be working before it starts saving data.
Steve
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Sharing wx data between two Raspberry pi's

Post by falkunmalti »

steve wrote:It rewrites the file once a minute. Your answer to my question isn't clear - is it or is it not writing entries to the sept log file? If not, is your station fully working - as mentioned in the FAQ, Cumulus requires a number of sensors to be working before it starts saving data.
I guess I'm good now Steve. I have noticed several updates to wxnow.txt. Thanks for your prompt assistance to me. I truly appreciate it and thanks for a wonderful piece of software!
Locked