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

Cumulus stops sending realtime.txt, but not othr web uploads

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
User avatar
DanielF
Posts: 184
Joined: Tue 30 Dec 2008 12:53 pm
Weather Station: Davis Vantage Vue, serial logger
Operating System: Win10Pro64
Location: Gerroa, NSW, Australia

Cumulus stops sending realtime.txt, but not othr web uploads

Post by DanielF »

I'm running Cumulus 1.8.8 build 855 on a Win2k Pro SP4 PC with a broadband connection. For several weeks now I've been using the web html file upload facility to populate a weather website (each 5 minutes), as well as the realtime.txt facility for a 'real-time' wind data display (each 45 seconds). My ticked Web Settings are (arrived-at after much trial-and-error):
Auto Update
Use FTP rename
Delete before upload
Enable Realtime

Most of the time, no problems. But...

Every now and then (twice in recent weeks), at a time when I'm asleep and not using the PC (apart from playing music in the bedroom via SqueezeCenter/Squeezebox) the transmission of realtime.txt stops, but the html uploads continue.

All I have to do (once I'm alerted to the problem, the next day) is close Cumulus and start it again, and both uploads then proceed correctly again.

Anybody experienced this, or have any idea what might cause it, and what to do to fix it?
Daniel
Gerroa ('paradise'), Australia
Gerroa weather
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: Cumulus stops sending realtime.txt, but not othr web uploads

Post by steve »

DanielF wrote:Use FTP rename
Delete before upload
There's normally not much point in using these together - 'rename' renames to an existing file, so there's no break in the file being available, and 'delete before upload' ensures that the file can't exist! Use rename (only) if your server supports it, and 'delete before upload' (only) if your server won't let you overwrite an existing file. If your server requires you to use both, it's broken.

You could try turning on the ftp logging, the log may help when it happens again.

Also, there's an option to periodically disconnect the realtime ftp connection, which can help if your service provider or your connection to it is a bit flaky, or doesn't like connections being open for long periods.
Steve
User avatar
DanielF
Posts: 184
Joined: Tue 30 Dec 2008 12:53 pm
Weather Station: Davis Vantage Vue, serial logger
Operating System: Win10Pro64
Location: Gerroa, NSW, Australia

Re: Cumulus stops sending realtime.txt, but not othr web uploads

Post by DanielF »

steve wrote:
DanielF wrote:Use FTP rename
Delete before upload
There's normally not much point in using these together...
When first setting-up this web facility, I thought I tried every combination of options before we found one that worked reliably. Now that it's on-line and used by hundreds of wind-surfers, I don't want to muck around with it any more. But if I can't fix this problem any other way I might have to. :oops:

I've turned on FTP logging, so we'll see what that turns up.
steve wrote:Also, there's an option to periodically disconnect the realtime ftp connection...
Steve, I couldn't find this option in the Internet Setup dialogue box - is it hidden somewhere else?

Thanks, as always, for your continuing support.
Daniel
Gerroa ('paradise'), Australia
Gerroa weather
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: Cumulus stops sending realtime.txt, but not othr web uploads

Post by steve »

DanielF wrote:Steve, I couldn't find this option in the Internet Setup dialogue box - is it hidden somewhere else?
Sorry - I'd forgotten that it was one of the still-undocumented ini-file only settings. In the [station] section of cumulus.ini, add a line:

RTdisconnectcount=N

where N is the desired number of realtime uploads between disconnections. So, with your realtime upload interval of 45 seconds, an N of 80 would make it disconnect once an hour.
Steve
User avatar
DanielF
Posts: 184
Joined: Tue 30 Dec 2008 12:53 pm
Weather Station: Davis Vantage Vue, serial logger
Operating System: Win10Pro64
Location: Gerroa, NSW, Australia

Re: Cumulus stops sending realtime.txt, but not othr web uploads

Post by DanielF »

Ah, that's why I couldn't find it. :D

OK, I've added that line with N=80, so we'll see how it goes from here.
Daniel
Gerroa ('paradise'), Australia
Gerroa weather
Post Reply