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

Realtime.txt FTP

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
Adrian Hudson
Posts: 223
Joined: Mon 03 Jan 2011 4:27 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 7
Location: Willand, mid Devon.
Contact:

Realtime.txt FTP

Post by Adrian Hudson »

I run my own webserver server, separate from my weather PC where Cumulus runs. I use FTP to send the realtime.txt file to the server just like if it were a remote web server.

Occasionally I reboot the web server machine and cumulus simply logs FTP errors until it the webserver machine comes back up. Perfect. Except for realtime.txt. This seems to be sent using a permanent ftp connection (?), which means that whereas all the other files cumulus sends start being received when the server comes back up, realtime.txt is not until cumulus is ended and restarted.

Is there any way of getting Cumulus to periodically drop the permanent ftp connection that it uses for realtime.txt?

I know this is not big problem and I could make a share and copy the files across (would Cumulus get upset if the share "went away" temporarily?) but sometimes the server gets rebooted and I know I am going to forget to restart Cumulus.
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: Realtime.txt FTP

Post by steve »

Stop Cumulus and edit cumulus.ini. In the [Station] section, add a line like:

RTdisconnectcount=50

Where 50 is an example; Cumulus will then disconnect and reconnect the realtime ftp connection after every 50 uploads.
I could make a share and copy the files across (would Cumulus get upset if the share "went away" temporarily?)
I don't know, to be honest. It just uses the standard Windows CopyFile function, so it depends on how that would handle it.
Steve
Adrian Hudson
Posts: 223
Joined: Mon 03 Jan 2011 4:27 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 7
Location: Willand, mid Devon.
Contact:

Re: Realtime.txt FTP

Post by Adrian Hudson »

Brilliant, thank you very much Steve
Post Reply