Page 1 of 1

real time.txt problem

Posted: Tue 06 Jul 2010 10:59 pm
by speedwing
Hi all,
I have only had my website up and running for a few days now and I have noticed that my realtime gauges are stuck.
I have checked my cumulus files on my c:/ and in the webfiles/realtimet.txt it just shows the time and date that the gauges stopped working.
It seems that this file is not being updated by the program.
I have checked that the realtime box is ticked within the internet settings.
Does anyone know why the cumulus program is not updating this file.
Cheers
Paul

Re: real time.txt problem

Posted: Wed 07 Jul 2010 11:24 am
by steve
It's most likely an ftp problem. If you turn on ftp logging, the realtimeftplog.txt file may have some clues; but sometimes it isn't a lot of help. Restarting Cumulus may get it going again.

Edit: Ah, but you say it's not being updated on your PC? I don't really understand what you're saying, because the realtime.txt file doesn't live in webfiles, it lives in the Cumulus installation folder. That file isn't being updated? If so, all I can suggest is that you try restarting Cumulus, I can't think why it would have stopped updating the file.

Re: real time.txt problem

Posted: Wed 07 Jul 2010 2:31 pm
by speedwing
Ok I have removed the realtime.txt file from the webfiles folder.
I now have the realtime.txt file in culumus and it is updating.
But when I look on my website www.hawkingeweather.webspace.virginmedia.com it now shows hh:mm by the realtime gauges.
Here is what the realtimeftplog is showing.
15:25:19:707 ! HighLevelAsync 0
15:25:19:708 020346E0 TriggerDataSent 932
15:25:19:763 >|227 Entering Passive Mode (194,117,143,88,236,94).|

15:25:19:763 ! HighLevelAsync 0
15:25:19:764 TWSocket will connect to 194.117.143.88:60510
15:25:19:835 ! Data Session opened (Put)
15:25:19:836 02034DF0 TriggerDataSent 652
15:25:19:836 020346E0 TriggerDataSent 932
15:25:19:897 >|550 htdocs/realtime.txt: No such file or directory|

15:25:19:897 02034DF0 TCustomWSocket.Shutdown 1 652
15:25:19:898 ! Data Session closed
15:25:19:898 ! Next3PutAsync
15:25:29:689 020346E0 TriggerDataSent 932
15:25:29:741 >|200 Type set to A|

15:25:29:741 ! HighLevelAsync 0
15:25:29:742 020346E0 TriggerDataSent 932
15:25:29:797 >|227 Entering Passive Mode (194,117,143,88,183,218).|

15:25:29:797 ! HighLevelAsync 0
15:25:29:815 TWSocket will connect to 194.117.143.88:47066
15:25:29:882 ! Data Session opened (Put)
15:25:29:883 02034DF0 TriggerDataSent 652
15:25:29:883 020346E0 TriggerDataSent 932
15:25:29:949 >|550 htdocs/realtime.txt: No such file or directory|

15:25:29:950 02034DF0 TCustomWSocket.Shutdown 1 652
15:25:29:951 ! Data Session closed
15:25:29:951 ! Next3PutAsync

Any ideas Steve?

Re: real time.txt problem

Posted: Wed 07 Jul 2010 2:40 pm
by steve
15:25:19:897 >|550 htdocs/realtime.txt: No such file or directory|

You need to check that the directory that you have configured in Cumulus is correct for your hosting. It is possible for 'normal' ftp to work by chance even if you get it wrong, while realtime ftp does not, because of the different way that Cumulus uses the directory in each case. For normal ftp, it changes directory, while for realtime it just does a 'put' with the full path name as above. Because your normal ftp is working, my guess would be that you don't need anything at all for the directory.

Re: real time.txt problem

Posted: Wed 07 Jul 2010 3:29 pm
by speedwing
Thanks Steve,
I removed htdocs from the address box within the cumulus internet settings and now its update lovely.
Many thanks for you time.
Paul
PS how can I get my website onto the cumulus members map?
www.hawkingeweather.webspace.virginmedia.com :D

Re: real time.txt problem

Posted: Wed 07 Jul 2010 4:12 pm
by steve
speedwing wrote:PS how can I get my website onto the cumulus members map?
There's a link to the request form at the bottom of the map page.

Re: real time.txt problem

Posted: Mon 12 Jul 2010 4:13 am
by mikeflight
I posted this question over in the realtime area but it occurs to me that my problem has nothing to do with realtime....it has to do with how Cumulus generates date and time information.

For instance, because my realtime.txt file has the wrong date format my guages page has the general data upload time for the page as mm/dd/yy, which is what I want, but the real time wind guages just an inch below shows the date as dd/mm/yy.

My realtime.txt file has the date as dd/mm/yy. I want it mm/dd/yy. This is set correctly on my computer as well as on the weather station. Is there an .ini or .xml or something I can change to force Cumulus to generate the realtime.txt date as mm/dd/yy so it matches everything else I've got running?

Re: real time.txt problem

Posted: Mon 12 Jul 2010 7:38 am
by steve
The date format in the realtime.txt file is fixed... hold on a minute... deja vu! ;)

At least I know which application it is you're talking about now. I don't think the Flash gauges have the option to change the date format. They're not very good and I don't propose to keep developing them. I think someone did work out a way to change it, though, by overlaying the date in the required format over the top, or something like that.
it has to do with how Cumulus generates date and time information
In general, Cumulus uses a fixed format in log files, so that software knows what to expect, and the PC settings for display and web tags. In some cases it uses its own 'fixed' format for display, e.g. the all time records "24 October 2004" style. For the current date and time there are a number of web tags which allow you to construct the date in various formats. It's not all 100% consistent, and ideally there would be more options for configuring the formats, but I need to find a source of days with more than 24 hours in them :)