Fresh install of Ubuntu Server 14.04 (32bit).
Weather Station: Davis Weather Monitor II
History: This same PC in the past ran XP and a very old version of Weather Display. It also ran Ui-View for APRS.
Primary purpose of PC: Act as an APRS I-Gate and local Digipeater, also to gather weather station data and pass on to APRS.
As XP was old and tired, I have migrated most of my computers to Ubuntu or Centos depending upon application needs.
Installed consoleWD to get the Davis Weather Monitor II data. Primary need is to build the wxnow.txt file.
I spent a few hours yesterday trying to get consoleWD to give me data…No success.
I have read the last few years of posts on this forum…
Computer has a serial port on the MB that is ttyS0 and an add in PCI card with serial ports on ttyS4 and ttyS5
- I can talk to other devices (used an old modem and minicom to confirm) on all three serial ports.
With the attached config.txt file and only changing the “comport number” line from =/dev/ttyS0 to =/dev/ttyS4 I get the following results.
- NOTE that in BOTH cases when starting consoleWD the program shows to be opening /dev/ttyS0
starting consoleWD as non-root with ./GoWdconsole.sh I get:
[sudo] password for mcheavens:
Weather station type is a Davis WMII
OWW file location= ←
program location= /packages/weatherwdconsole/<-
Davis VP IP data logger port= 22222<
Davis VP IP data logger IP= 192.168.2.3<-
Latitude= 37.6
Longitude= -107.8
Station name =Columbine
Daily rain startup= 0.0
Monthly rain startup= 0.0
wunderground username =
wunderground password =
wunderground utc =-7
Dir offset= 0
Barooffset= 0.0
Davis com method d
No 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 = KC5EVE-15 // -1 is default (you do not have a Ham
cwop latitude=
cwop longitude=
FTP server =
FTP username =
FTP port = 21
FTPremote dir =
FTPremote dir wx.html=
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=
wind units = mph
baro metric= N
rain metric= N
Will run cron files
Custom log out = customlogout.txt
will update wxnow.txt
wxnow.txt dir=/packages/<-
WOW id=<-
WOW pass=<-
Modified rain gauge= <
windfinder id=<-
windfinder pass=<-
utc hour=14
local hour=8
Weather Display vers WD_console_10.1
If use this program,then please consider sending a PayPal donation to info@weath
er-display.com (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
Comport /dev/ttyS0 opened
setting baud rate to 2400 ->0
ser_read error Resource temporarily unavailable
requesting data
ser_read error Resource temporarily unavailable
requesting data
ser_read error Resource temporarily unavailable
-----(repeating)--------
Starting as root with ./consolewd:
[root@CO-GX260 /packages/weatherwdconsole] # ./consolewd
Weather station type is a Davis WMII
OWW file location= ←
program location= /packages/weatherwdconsole/<-
Davis VP IP data logger port= 22222<
Davis VP IP data logger IP= 192.168.2.3<-
Latitude= 37.6
Longitude= -107.8
Station name =Columbine
Daily rain startup= 0.0
Monthly rain startup= 0.0
wunderground username =
wunderground password =
wunderground utc =-7
Dir offset= 0
Barooffset= 0.0
Davis com method d
No 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 = KC5EVE-15 // -1 is default (you do not have a Ham
cwop latitude=
cwop longitude=
FTP server =
FTP username =
FTP port = 21
FTPremote dir =
FTPremote dir wx.html=
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=
wind units = mph
baro metric= N
rain metric= N
Will run cron files
Custom log out = customlogout.txt
will update wxnow.txt
wxnow.txt dir=/packages/<-
WOW id=<-
WOW pass=<-
Modified rain gauge= <
windfinder id=<-
windfinder pass=<-
utc hour=14
local hour=8
Weather Display vers WD_console_10.1
If use this program,then please consider sending a PayPal donation to info@weath
er-display.com (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
Opened
Opening the serial port /dev/ttyS0
Saving serial configuration
Serial port /dev/ttyS0 opened File desc = 3
Comport /dev/ttyS0 opened
setting speed to 2400
setting baud rate to 2400 ->0
ser_read : Entering
ser_read error Resource temporarily unavailable
Read size -1 :
ser_read : Exiting
requesting data
Write size 1 : 4c
Write size 1 : 4f
Write size 1 : 4f
Write size 1 : 50
Write size 1 : ff
Write size 1 : ff
Write size 1 : 0d
ser_read : Entering
ser_read error Resource temporarily unavailable
Read size -1 :
ser_read : Exiting
requesting data
Write size 1 : 4c
Write size 1 : 4f
Write size 1 : 4f
Write size 1 : 50
Write size 1 : ff
Write size 1 : ff
Write size 1 : 0d
ser_read : Entering
------(repeating)-------
Changed config.txt comport line to: /dev/ttyS4 (NOTE that comport still shows to be opening /dev/ttyS0) !!!
[mcheavens@CO-GX260 /packages/weatherwdconsole] $ ./GoWdconsole.sh
Weather station type is a Davis WMII
OWW file location= ←
program location= /packages/weatherwdconsole/<-
Davis VP IP data logger port= 22222<
Davis VP IP data logger IP= 192.168.2.3<-
Latitude= 37.6
Longitude= -107.8
Station name =Columbine
Daily rain startup= 0.0
Monthly rain startup= 0.0
wunderground username =
wunderground password =
wunderground utc =-7
Dir offset= 0
Barooffset= 0.0
Davis com method d
No 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 = KC5EVE-15 // -1 is default (you do not have a Ham
cwop latitude=
cwop longitude=
FTP server =
FTP username =
FTP port = 21
FTPremote dir =
FTPremote dir wx.html=
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=
wind units = mph
baro metric= N
rain metric= N
Will run cron files
Custom log out = customlogout.txt
will update wxnow.txt
wxnow.txt dir=/packages/<-
WOW id=<-
WOW pass=<-
Modified rain gauge= <
windfinder id=<-
windfinder pass=<-
utc hour=14
local hour=8
Weather Display vers WD_console_10.1
If use this program,then please consider sending a PayPal donation to info@weath
er-display.com (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
Comport /dev/ttyS0 opened
setting baud rate to 2400 ->0
ser_read error Resource temporarily unavailable
requesting data
ser_read error Resource temporarily unavailable
requesting data
ser_read error Resource temporarily unavailable
-----(repeating)—
NOTE: Notice that Comport still says /dev/ttyS0 opened!!!
And as root:
[root@CO-GX260 /packages/weatherwdconsole] # ./consolewd
Weather station type is a Davis WMII
OWW file location= ←
program location= /packages/weatherwdconsole/<-
Davis VP IP data logger port= 22222<
Davis VP IP data logger IP= 192.168.2.3<-
Latitude= 37.6
Longitude= -107.8
Station name =Columbine
Daily rain startup= 0.0
Monthly rain startup= 0.0
wunderground username =
wunderground password =
wunderground utc =-7
Dir offset= 0
Barooffset= 0.0
Davis com method d
No 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 = KC5EVE-15 // -1 is default (you do not have a Ham
cwop latitude=
cwop longitude=
FTP server =
FTP username =
FTP port = 21
FTPremote dir =
FTPremote dir wx.html=
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=
wind units = mph
baro metric= N
rain metric= N
Will run cron files
Custom log out = customlogout.txt
will update wxnow.txt
wxnow.txt dir=/packages/<-
WOW id=<-
WOW pass=<-
Modified rain gauge= <
windfinder id=<-
windfinder pass=<-
utc hour=14
local hour=8
Weather Display vers WD_console_10.1
If use this program,then please consider sending a PayPal donation to info@weath
er-display.com (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
Opened
Opening the serial port /dev/ttyS0
Saving serial configuration
Serial port /dev/ttyS0 opened File desc = 3
Comport /dev/ttyS0 opened
setting speed to 2400
setting baud rate to 2400 ->0
ser_read : Entering
ser_read error Resource temporarily unavailable
Read size -1 :
ser_read : Exiting
requesting data
Write size 1 : 4c
Write size 1 : 4f
Write size 1 : 4f
Write size 1 : 50
Write size 1 : ff
Write size 1 : ff
Write size 1 : 0d
ser_read : Entering
ser_read error Resource temporarily unavailable
Read size -1 :
ser_read : Exiting
requesting data
Write size 1 : 4c
Write size 1 : 4f
Write size 1 : 4f
Write size 1 : 50
Write size 1 : ff
Write size 1 : ff
Write size 1 : 0d
ser_read : Entering
------(repeating)------
Suggestions?
config.txt (3.98 KB)