cloudy

Author Topic: consolewd not calling fetch2300  (Read 2920 times)

0 Members and 1 Guest are viewing this topic.

Offline andynz

  • Posts: 20
consolewd not calling fetch2300
« on: August 29, 2010, 02:45:20 AM »
Hi All

I have had a Lacrosse 2308 running ok on XP Weather Display for a many years now but have changed the OS over to Ubuntu 9.1.  I have been trying to get consolewd working.  Initially I was getting the "Toggling com port - failed to wake up so".  So after spending some time going through the threads I have tried fetch2300.  running ./fetch2300 produces what looks like the correct data from the 2308 which is a good start.  But I can't get ./GoWdconsole.sh to work with fetch2300.  I have set the weather station to 2310=60 in the config flile and also tried setting the com port to either 1 or 2 ( I read 2 would help make fetch2300 work?).

Any advice on getting the output of fetch2300 into wdconsole?  I am using:
Weather Display for Linux console version Version on 21 April 2010 - 01:58:19
Weather Display for Linux GUI version Version on 22 August 2010 - 23:51:05

Cheers
Andy

Offline Weather Display

  • Posts: 65,573
Re: consolewd not calling fetch2300
« Reply #1 on: August 29, 2010, 03:03:51 AM »
have you also set to use fetch2300 ?
make sure to set the com port number different to what fetch2300 needs to use
and also set the open2300.conf com port correctly

Offline andynz

  • Posts: 20
Re: consolewd not calling fetch2300
« Reply #2 on: August 29, 2010, 03:18:53 AM »
Hi Brian

Thanks for the quick reply.  Where is the option to use fetch2300?  I can't see it in the config.txt file.

This from my config.txt file:
"Weather station type=60  // Irox=59,WMR100=232,WMR968=8,WMR918=3,Davis VP=31,Davis WMMII=4, WH1081=166,2310=60,WXT510=190,3600=61,Davis IP=32, OWWfile=71"
and
"Comport number (e.g 1)=2"
My actual com port is 1

and have set "open2300.conf" to "/dev/ttyS0" which is the default.  I assume open2300.conf is the config for fetch2300?

Cheers
Andy
« Last Edit: August 29, 2010, 03:41:11 AM by andynz »

Offline andynz

  • Posts: 20
Re: consolewd not calling fetch2300
« Reply #3 on: August 31, 2010, 08:10:58 PM »
Hi Brian and all

Could you let me know where to set use fetch2300 option?  I have set weather station type as 60 in config.txt is this how you enable fetch2300?

See my previous post for a few more details.

Cheers
Andy

Offline Weather Display

  • Posts: 65,573
Re: consolewd not calling fetch2300
« Reply #4 on: September 01, 2010, 01:05:27 AM »
my bad
it works with fetch3600, for that station type

i should work directly with the 2300, no need to use fetch2300

you should see info about waking up the 2300 in the console log

Offline andynz

  • Posts: 20
Re: consolewd not calling fetch2300
« Reply #5 on: September 01, 2010, 05:34:17 AM »
Where is the console log kept?  Can you please tell me how I can enable fetch3600 to try that too?

Cheers
Andy

Offline Weather Display

  • Posts: 65,573
Re: consolewd not calling fetch2300
« Reply #6 on: September 01, 2010, 06:07:46 AM »
but you dont want to run fetch3600
as I meant that is used for the station type that works with (La crosse 3600)

the console log is the terminal output screen

consolewd works with a 2300 station without the need to use fetch2300
as long as you have the com port setup correctly in consolewd via the config file and your com port has the correct permissions, etc

Offline andynz

  • Posts: 20
Re: consolewd not calling fetch2300
« Reply #7 on: September 02, 2010, 01:51:08 AM »
I made sure the comport ttyS0 is 777 and I get the following "failed to wake up" error when running ./wdconsole.  Running ./fetch2300 works fine for getting data from the 2308
.
root@BACKUP:/home/andy/consolewdfiles# ./consolewd
Weather station type is a 2310
Davis com method
OWW file location= <-
program location= /home/andy/consolewdfiles/<-
Davis VP IP data logger port=  <
Davis VP IP data logger IP=   <-
Latitude= -36.0
Longitude= -174.6
Station name =Totara Road
Daily rain startup= 0.0
Monthly rain startup= 0.0
wunderground username =
wunderground password =
wunderground utc =-5
Barooffset= 0.0
Comport number= 1
Davis com method 1
Yes Revb Davis VP
Davis rain gauge .01 inch
mysql username =
mysql server =
mysql databasename =
mysql tablename =
Will do mysql metric
mysql time interval = 300
cwop station id =
cwop call sign = -1 // -1 is default (you do not have a Ham call si
cwop latitude=
cwop longitude=
FTP server =
FTP username =
FTP port = 21
FTPremote dir =
Will do ftp passive
remote file =
FTP time interval = 60
 wu =Y
Will save logfile
logfile metric
Custom file name = wx.html
Custom file name 2=
Custom file name 3=
Custom file name 4=
Custom file name 5=
Tag units in celsius
wind units = kts
baro metric= Y
rain metric= Y
Will run cron files
Custom log out = customlogout.txt
utc hour=2
local hour=14
****Weather Display vers WD console 7.1****
If use this program,then please consider sending a PayPal donation to info@weather-display.com (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
Comport /dev/ttyS0 opened
Toggling comport
 2310 failed to wake up
Restoring the tty configuration

Offline andynz

  • Posts: 20
Re: consolewd not calling fetch2300
« Reply #8 on: September 03, 2010, 02:35:12 AM »
Hi Brian

Just to clarify from from my previous post, fetch2300 does retrieve the data ok but consolewd does not.

Cheers
Andy

Offline Weather Display

  • Posts: 65,573
Re: consolewd not calling fetch2300
« Reply #9 on: September 03, 2010, 08:10:15 PM »
i could add option then to use fetch2300

worked OK here in testing with direct connection to my 2300
but might depend on the speed of the pc, serial connection type, etc

Offline andynz

  • Posts: 20
Re: consolewd not calling fetch2300
« Reply #10 on: September 03, 2010, 08:17:09 PM »
Hi Brian

PC and serial seem ok as using fetch2300 on its own for my 2308 works fine.  I have also tried 'wview' software and this works fine too.

How do you enable fetch2300 in the config.txt file?

Cheers
Andy

Offline Weather Display

  • Posts: 65,573
Re: consolewd not calling fetch2300
« Reply #11 on: September 03, 2010, 08:59:14 PM »
Quote
How do you enable fetch2300 in the config.txt file?
as posted above I would need to add option to use fertch2300
i,e a new verion of consolewd

Offline andynz

  • Posts: 20
Re: consolewd not calling fetch2300
« Reply #12 on: September 03, 2010, 11:38:26 PM »
Ok, understand.  Could you do that for me when you have time.

Cheers
Andy

Offline Weather Display

  • Posts: 65,573
Re: consolewd not calling fetch2300
« Reply #13 on: September 04, 2010, 02:29:14 AM »
will do this on monday, or possibly tomorrow (fathers day tomorrow)
or might even get a chance this arvo.,,...

but first, run fetch2300 with > outputfile.txt at the end from a terminal window and .zip and email me the output file...

Offline Weather Display

  • Posts: 65,573
Re: consolewd not calling fetch2300
« Reply #14 on: September 04, 2010, 08:31:31 PM »
use vers 7.2
and add
use fetch2300=Y

to the config.txt

no gaurentee will work