Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024

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

web hosting on local server

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.
guzzuk
Posts: 7
Joined: Wed 31 Dec 2008 8:39 am

web hosting on local server

Post by guzzuk »

hi all

just got the usb weather station from maplin and am trying to get the data online
i've got a server running 24/7 at home that hosts my email and webcam and want to get the weather data on it
how do i get cumulus to store the data locally instead of over ftp?

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

Re: web hosting on local server

Post by steve »

If you tick 'auto update' and supply an interval, it will generate the files (in the web folder) but not attempt to ftp them. You would then need to devise some method for copying them to where you wanted them.

Steve
guzzuk
Posts: 7
Joined: Wed 31 Dec 2008 8:39 am

Re: web hosting on local server

Post by guzzuk »

steve
thats works, is there anyway to get it to save the web data anywhere else?

cant work out why its doesnt work over ftp to my local server thou (on the same drive)
thanks
andy
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: web hosting on local server

Post by steve »

I'm afraid not. I could allow a location to be specified, it would just be a bit tedious and time-consuming changing all the code to use that instead of the application directory.

Steve
guzzuk
Posts: 7
Joined: Wed 31 Dec 2008 8:39 am

Re: web hosting on local server

Post by guzzuk »

got it working by using ip to the local pc thou realtime only writes to the program files directory and not to the website?

any thoughts?

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

Re: web hosting on local server

Post by steve »

You mean it's generating the realtime.txt file but the ftp isn't working? Have you put a trailing slash on the directory? That might cause it to fail, because you end up with a filename with two slashes in it. I'm stripping trailing slashes in the latest builds.

If you can't work out why it's not working, turn on the ftp logging.

Steve
guzzuk
Posts: 7
Joined: Wed 31 Dec 2008 8:39 am

Re: web hosting on local server

Post by guzzuk »

No trailing slashes. It writes normal web pages to FTP thou not the realtime.txt file? I'll try the logging
Thanks
TgT
Posts: 132
Joined: Thu 26 Jun 2008 5:51 am
Weather Station: Davis VP2 + Solar
Operating System: A20 TV box + CumulusMX
Location: Slov.Konjice, Slovenia
Contact:

Re: web hosting on local server

Post by TgT »

realtime.txt its not uploaded to FTP, you must add it manually in Files tab.
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: web hosting on local server

Post by steve »

TgT wrote:realtime.txt its not uploaded to FTP, you must add it manually in Files tab.
No no no! It's uploaded automatically if you tick 'enable realtime'. If it's not being uploaded there's some sort of problem.

Steve
User avatar
aadal
Posts: 168
Joined: Tue 04 Nov 2008 8:07 pm
Weather Station: WH 1080
Location: Skodje
Contact:

Re: web hosting on local server

Post by aadal »

No no no! It's uploaded automatically if you tick 'enable realtime'. If it's not being uploaded there's some sort of problem.
Not working here i tryed all adjustments but not.
I get from ftp log:

Code: Select all

00:14:43:688 ! HighLevelAsync 0
00:14:43:688 TWSocket will connect to 216.193.201.61:60096
00:14:43:877 ! Data Session opened (Put)
00:14:43:877 04335240 TriggerDataSent 620
00:14:43:877 04334B30 TriggerDataSent 968
00:14:44:065 >|550 weather/realtime.txttmp: No such file or directory|

00:14:44:065 04335240 TCustomWSocket.Shutdown 1 620
00:14:44:066 ! Data Session closed
00:14:44:066 ! Next3PutAsync
00:14:44:066 ! HighLevelAsync 0
00:14:44:066 04334B30 TriggerDataSent 968
00:14:44:268 >|550 weather/realtime.txttmp: No such file or directory|
Working great! when i added it manualy and realtime is 5 sec. :D
  • Windows Vista
Image

Image
User avatar
aadal
Posts: 168
Joined: Tue 04 Nov 2008 8:07 pm
Weather Station: WH 1080
Location: Skodje
Contact:

Re: web hosting on local server

Post by aadal »

aadal wrote:
No no no! It's uploaded automatically if you tick 'enable realtime'. If it's not being uploaded there's some sort of problem.
Not working here i tryed all adjustments but not.
I get from ftp log:

Code: Select all

00:14:43:688 ! HighLevelAsync 0
00:14:43:688 TWSocket will connect to 216.193.201.61:60096
00:14:43:877 ! Data Session opened (Put)
00:14:43:877 04335240 TriggerDataSent 620
00:14:43:877 04334B30 TriggerDataSent 968
00:14:44:065 >|550 weather/realtime.txttmp: No such file or directory|

00:14:44:065 04335240 TCustomWSocket.Shutdown 1 620
00:14:44:066 ! Data Session closed
00:14:44:066 ! Next3PutAsync
00:14:44:066 ! HighLevelAsync 0
00:14:44:066 04334B30 TriggerDataSent 968
00:14:44:268 >|550 weather/realtime.txttmp: No such file or directory|
Working great! when i added it manualy and realtime is 5 sec. :D
But i see from log stil try the realtime not working:

Code: Select all

00:22:30:362 ! Next3PutAsync
00:22:30:362 ! HighLevelAsync 0
00:22:30:363 ! HighLevelAsync done
00:22:30:363 ! HighLevelAsync 0
00:22:30:364 04334B30 TriggerDataSent 968
00:22:30:555 >|350 File or directory exists, ready for destination name|

00:22:30:555 ! HighLevelAsync 0
00:22:30:555 04334B30 TriggerDataSent 968
00:22:30:763 >|250 Rename successful|

00:22:30:763 ! HighLevelAsync 0
00:22:30:763 ! HighLevelAsync done
00:22:33:325 04334B30 TriggerDataSent 968
00:22:33:524 >|200 Type set to A|

00:22:33:524 ! HighLevelAsync 0
00:22:33:524 04334B30 TriggerDataSent 968
00:22:33:711 >|227 Entering Passive Mode (216,193,201,61,234,170).|

00:22:33:711 ! HighLevelAsync 0
00:22:33:711 TWSocket will connect to 216.193.201.61:60074
00:22:33:898 ! Data Session opened (Put)
00:22:33:898 04335240 TriggerDataSent 1356
00:22:33:898 04334B30 TriggerDataSent 968
00:22:34:088 >|550 weather/realtime.txttmp: No such file or directory|

00:22:34:088 04335240 TCustomWSocket.Shutdown 1 1356
00:22:34:088 ! Data Session closed
00:22:34:088 ! Next3PutAsync
00:22:34:088 ! HighLevelAsync 0
00:22:34:088 04334B30 TriggerDataSent 968
00:22:34:289 >|550 weather/realtime.txttmp: No such file or directory|

00:22:34:290 04334B30 TriggerDataSent 968
00:22:34:476 >|200 Type set to A|

00:22:34:476 ! HighLevelAsync 0
00:22:34:477 04334B30 TriggerDataSent 968
00:22:34:674 >|227 Entering Passive Mode (216,193,201,61,234,135).|

00:22:34:674 ! HighLevelAsync 0
00:22:34:675 TWSocket will connect to 216.193.201.61:60039
  • Windows Vista
Image

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

Re: web hosting on local server

Post by steve »

aadal wrote:00:14:44:065 >|550 weather/realtime.txttmp: No such file or directory|
It looks like you have the directory wrong. Cumulus constructs the file name from <directory> + '/' + realtime.txttmp (because you're using rename), and then does a 'put' from the point where you log in. So 'weather/realtime.txttmp' must be the wrong path for your ftp server. Realtime.txt upload works fine for me (and lots of others). If you log in with command line ftp, what directories do you have to go through to get to your 'weather' directory?

Steve
User avatar
aadal
Posts: 168
Joined: Tue 04 Nov 2008 8:07 pm
Weather Station: WH 1080
Location: Skodje
Contact:

Re: web hosting on local server

Post by aadal »

It looks like you have the directory wrong. Cumulus constructs the file name from <directory> + '/' + realtime.txttmp (because you're using rename), and then does a 'put' from the point where you log in. So 'weather/realtime.txttmp' must be the wrong path for your ftp server. Realtime.txt upload works fine for me (and lots of others). If you log in with command line ftp, what directories do you have to go through to get to your 'weather' directory?

Steve
Running nice here now, after some reading with my hosting.
The problem was that i am running Web/FTP Subaccounts the address to web is http://www.aadal.biz/~weather/ but to the FTP it was ftp://sicily.globat.com/ thise because the subaccounts.

Code: Select all

13:38:32:295 ! HighLevelAsync 0
13:38:32:295 ! HighLevelAsync done
13:38:35:783 04334B30 TriggerDataSent 944
13:38:36:078 >|200 Type set to A|

13:38:36:219 ! HighLevelAsync 0
13:38:36:220 04334B30 TriggerDataSent 944
13:38:36:408 >|200 PORT command successful|

13:38:36:408 ! HighLevelAsync 0
13:38:36:408 04334B30 TriggerDataSent 944
13:38:36:785 ! Data Session requested
13:38:36:785 04335240 TCustomWSocket.Shutdown 1 968
13:38:36:786 ! Data Session opened
13:38:36:786 >|150 Opening ASCII mode data connection for /realtime.txttmp|

13:38:36:786 04335240 TriggerDataSent 692
13:38:36:786 DataSocketPutDataSent 219
13:38:36:786 DataSocketPutDataSent 0
13:38:36:786 04335240 TriggerDataSent 692
13:38:36:786 DataSocketPutDataSent 0
13:38:36:786 04335240 TCustomWSocket.Shutdown 1 692
13:38:36:786 04335240 TCustomWSocket.Shutdown 1 692
13:38:36:983 ! Data Session closed
13:38:36:983 ! Next3PutAsync
13:38:36:983 04335240 TCustomWSocket.Shutdown 1 692
13:38:37:186 >|226 Transfer complete|

13:38:37:186 ! Next3PutAsync
13:38:37:186 ! HighLevelAsync 0
13:38:37:186 ! HighLevelAsync done
13:38:37:186 ! HighLevelAsync 0
13:38:37:187 04334B30 TriggerDataSent 944
13:38:37:373 >|350 File or directory exists, ready for destination name|

13:38:37:373 ! HighLevelAsync 0
13:38:37:373 04334B30 TriggerDataSent 944
13:38:37:562 >|250 Rename successful|

13:38:37:562 ! HighLevelAsync 0
13:38:37:562 ! HighLevelAsync done
Thanks again Steve :D
  • Windows Vista
Image

Image
guzzuk
Posts: 7
Joined: Wed 31 Dec 2008 8:39 am

Re: web hosting on local server

Post by guzzuk »

hmmm, still no joy

08:51:44:624 00E959C0 TCustomWSocket.Shutdown 1 696
08:51:47:609 >|200 Type set to A.|

08:51:47:609 00E952B0 TriggerDataSent 648
08:51:47:609 ! HighLevelAsync 0
08:51:47:624 >|200 PORT Command successful.|

08:51:47:624 ! HighLevelAsync 0
08:51:47:624 >|550 realtime.txt: Cannot create file.|

it manages to create all the other files ok?
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: web hosting on local server

Post by steve »

guzzuk wrote:08:51:47:624 >|550 realtime.txt: Cannot create file.|
That appears to be attempting to upload the realtime.txt file straight into the directory that you start off in when you log in with ftp. Is that correct?

It's hard for me to diagnose problems like this when everybody's hosting is different. I am reasonably confident that the code in Cumulus is correct, most people have no problems.

Steve
Post Reply