Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

realtimegaugesT.txt not uploading

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
enzoweb
Posts: 11
Joined: Thu 20 Sep 2012 2:56 am
Weather Station: WH3081
Operating System: Windows XP SP3
Location: Australia

realtimegaugesT.txt not uploading

Post by enzoweb » Sat 21 Mar 2015 6:37 am

Hi,

would appreciate some help :) -

my realtimegaugesT.txt file is not uploading via ftp to my web folder, so the SS gauges are displaying but are not registering the information.

The website is http://www.andyhorne.com/weather/gauges-ss.htm

The default cumulus one works (http://www.andyhorne.com/weather).

The guages-ssT.htm file gets uploaded, but the txt one doesn't. I've tried to rename it to htm as suggested in another post, but that doesn't work either.


Images are here, with the ftp log, the internet files config etc : https://www.dropbox.com/sh/tqtnx2utnra2 ... 64yVa?dl=0

Thanks.

water01
Posts: 1487
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: realtimegaugesT.txt not uploading

Post by water01 » Sat 21 Mar 2015 7:30 am

Could be it is just truncated but that first image seems to be saying the source directory is Cunulus instead of Cumulus?

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

Re: realtimegaugesT.txt not uploading

Post by steve » Sat 21 Mar 2015 8:38 am

One thing I can see that is wrong is in your gauges.js:

realTimeURL_Cumulus: '/web/weather/realtimegauges.txt', //*** Cumulus Users: Change to your location of the realtime file ***

That looks like a path on the ftp server rather than the web server. But the file doesn't seem to be there anyway. You could turn on ftp logging briefly and look at the realtimeftplog.txt, that should give some clues.
Steve

enzoweb
Posts: 11
Joined: Thu 20 Sep 2012 2:56 am
Weather Station: WH3081
Operating System: Windows XP SP3
Location: Australia

Re: realtimegaugesT.txt not uploading

Post by enzoweb » Sat 21 Mar 2015 9:46 am

Hi,

thanks - the line is truncated, it does say 'Cumulus'.

I tried a couple of variations of the realtime entry in the gauges.js file; the web server directory is 'web\weather' , the cumulus user root directory is 'weather', I tried both.

I turned on ftp logging, it doesn't generate a log. It had some entries from earlier testing that just said 'Aborting!', but no log is generated at the moment.

Edit: I found an ftp log, I've copied it to the dropbox folder - it has entries for the other files, but the realtime one is not listed.

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

Re: realtimegaugesT.txt not uploading

Post by steve » Sat 21 Mar 2015 12:04 pm

Realtime uploads are in realtimeftplog.txt. If it isn't generating one, then it's not attempting to do realtime uploads at all. Have you configured it correctly to do those? Can you show a screenshot of the files/options tab, please?
Steve

enzoweb
Posts: 11
Joined: Thu 20 Sep 2012 2:56 am
Weather Station: WH3081
Operating System: Windows XP SP3
Location: Australia

Re: realtimegaugesT.txt not uploading

Post by enzoweb » Sun 22 Mar 2015 1:34 am

Aha! That was it - I didn't have the 'Enable Realtime' options checked in the main configuration page.

So I now have the realtime.txt and realtimegauges.txt files there, but the Steel Series are still not correct, I think I need to edit the gauges.js file again.

Edit: Yes, that was it, now working fine, thanks for the help.

Donation on the way :), I appreciate the effort that you put in, thanks.

Post Reply