hi steve,
Thanks and congratulations on developing this wonderful app.
Now here is wat i need to do:
1.Fetch the data stored by the weather station in the history file (.dat file), at regular intervals and convert it into .txt file.
2. FTP the converted text file to the database server as soon as the file(with new data) is available (mostly same interval as above)
How can I use cumulus to resolve this? (can i..?)
even if i could just get the data in form of text file generated regularly (step1)
the weather stations used in various sites are mostly La Crosse or typical chinese models available here in NZ (WS1093..from www.scientificsales.co.nz)
Thankyou
regards
Akshay
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
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
uploading weather data to dabase server
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: uploading weather data to dabase server
Cumulus log files are just text files to begin with. You can use the 'files' tab of the internet settings to ftp them regularly (but note that the main log file changes each month).
http://wiki.sandaysoft.com/a/Monthly_log_files
http://wiki.sandaysoft.com/a/Dayfile.txt
http://wiki.sandaysoft.com/a/Monthly_log_files
http://wiki.sandaysoft.com/a/Dayfile.txt
Steve
-
akshay
- Posts: 31
- Joined: Sun 24 Jan 2010 11:28 pm
- Weather Station: Lacross, Oregon Scientific WMR-9
- Operating System: win XP pro
Re: uploading weather data to dabase server
hi Steve
thanks for the quick reply.. till i got your reply i was experimenting with the tool (as it is interesting enough)...so i already tried sending (FTP) the text file (realtime.txt) to the database server...
but it was not succesful and error log shows :
26/01/2010 1:13:37 a.m. : FTP Connect Timeout
26/01/2010 1:13:37 a.m. : FTP Connect Error, Error code = 426
what might be the prob...plz suggest
as mentioned in the documentation i did check the "use ftp active mode" in web settings
also tried the blank directory path or the one without a leading slash....and with both ports 21 and 22
Also we were using heavy weather for one of the La Crosse models, which i was worried would not work with cumulus...but i stopped the heavy weather and tried cumulus...n its worked just fine...i guess it wont be a prob if the weather station is connected via a serial port..
many thanks for ur help
akshay
thanks for the quick reply.. till i got your reply i was experimenting with the tool (as it is interesting enough)...so i already tried sending (FTP) the text file (realtime.txt) to the database server...
but it was not succesful and error log shows :
26/01/2010 1:13:37 a.m. : FTP Connect Timeout
26/01/2010 1:13:37 a.m. : FTP Connect Error, Error code = 426
what might be the prob...plz suggest
as mentioned in the documentation i did check the "use ftp active mode" in web settings
also tried the blank directory path or the one without a leading slash....and with both ports 21 and 22
Also we were using heavy weather for one of the La Crosse models, which i was worried would not work with cumulus...but i stopped the heavy weather and tried cumulus...n its worked just fine...i guess it wont be a prob if the weather station is connected via a serial port..
many thanks for ur help
akshay
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: uploading weather data to dabase server
FTP error 426 is "Connection closed, transfer aborted", i.e. the server is closing the connection. You could try turning on the ftp log, but I don't know if that will help; you may need to look at the server logs.akshay wrote: 26/01/2010 1:13:37 a.m. : FTP Connect Timeout
26/01/2010 1:13:37 a.m. : FTP Connect Error, Error code = 426
Steve
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: uploading weather data to dabase server
You don't actually say if you are using Cumulus to ftp the file - and if you are, have you ever successfully uploaded other files with Cumulus ? (eg. realtime.txt, web pages)
......................Imagine, what you will KNOW tomorrow !
-
akshay
- Posts: 31
- Joined: Sun 24 Jan 2010 11:28 pm
- Weather Station: Lacross, Oregon Scientific WMR-9
- Operating System: win XP pro
Re: uploading weather data to dabase server
yes i am using cumulus to FTP files, that why i mentioned the settings i tried..."active ftp mode n all"....infact i am able to ftp files using other software like filezilla...but i really want cumulus to work...as it can be a single solution to everything
also i tried tweeting the weather info..n gladly that worked like a charm...
thanks
akshay
also i tried tweeting the weather info..n gladly that worked like a charm...
thanks
akshay
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: uploading weather data to dabase server
Can we see a screen shot of your Configuration, Internet...both tabs
thanks
thanks
-
akshay
- Posts: 31
- Joined: Sun 24 Jan 2010 11:28 pm
- Weather Station: Lacross, Oregon Scientific WMR-9
- Operating System: win XP pro
Re: uploading weather data to dabase server
please find the snapshots attached...
thanks
akshay
thanks
akshay
You do not have the required permissions to view the files attached to this post.
- daj
- Posts: 2041
- Joined: Tue 29 Jul 2008 8:00 pm
- Weather Station: WH1081
- Operating System: Pi & MX
- Location: SW Scotland
- Contact:
Re: uploading weather data to dabase server
It may be the your FTP server does not support unsecure FTP and only sFTP.
Have you connected using another FTP client (such as Filezilla)?
Port 21 is the norm. I've never seen port 22 used for FTP
Have you connected using another FTP client (such as Filezilla)?
Port 21 is the norm. I've never seen port 22 used for FTP
-
akshay
- Posts: 31
- Joined: Sun 24 Jan 2010 11:28 pm
- Weather Station: Lacross, Oregon Scientific WMR-9
- Operating System: win XP pro
Re: uploading weather data to dabase server
hi david,
thanks for your reply...
YA the SFTP did strike me, so i did check, the server works fine with unsecure FTP
As mentioned in my earlier post i am able to FTP using filezilla..
i got the data uploaded over web server using cumulus but still not able to ftp text files to my database server..
about ports i have tried with both 21 and 22...u r right 22 is not an ftp port its 20 and 21 ..i did try them
thanks
akshay
thanks for your reply...
YA the SFTP did strike me, so i did check, the server works fine with unsecure FTP
As mentioned in my earlier post i am able to FTP using filezilla..
i got the data uploaded over web server using cumulus but still not able to ftp text files to my database server..
about ports i have tried with both 21 and 22...u r right 22 is not an ftp port its 20 and 21 ..i did try them
thanks
akshay