A new third party IP logger (WiFiLogger) has recently become available for
the Vantage Pro series. It has received rave reviews from users and
apparently behaves in most ways like a superset of the Davis WeatherLink IP
logger. With a little difficulty (not weewx or hardware problems), I have
installed one of the new loggers in my VP2 (previously communicating with
weewx, running on a RPi, without problems via a USB connection) and (I
think!) I have made the appropriate changes in weewx.conf as if the new
logger were an instance of the Weatherlink IP. It seems to be happily
downloading and storing archive records, but it is consistently erroring
out on LOOP records. The relevant section of my weewx.conf file is:
[Vantage]
# This section is for the Davis Vantage series of weather stations.
# Connection type: serial or ethernet
# serial (the classic VantagePro)
# ethernet (the WeatherLinkIP)
type = ethernet
# If the connection type is serial, a port must be specified:
# Debian, Ubuntu, Redhat, Fedora, and SuSE:
# /dev/ttyUSB0 is a common USB port name
# /dev/ttyS0 is a common serial port name
# BSD:
# /dev/cuaU0 is a common serial port name
# port = /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A9049074-if00-port0
# If the connection type is ethernet, an IP Address/hostname is
required:
host = 192.168.1.3
######################################################
# The rest of this section rarely needs any attention.
# You can safely leave it "as is."
######################################################
# Serial baud rate (usually 19200)
baudrate = 19200
# TCP port (when using the WeatherLinkIP)
tcp_port = 22222
# TCP send delay (when using the WeatherLinkIP):
tcp_send_delay = 0.5
# The id of your ISS station (usually 1). If you use a wind meter
connected
# to a anemometer transmitter kit, use its id
iss_id = 6
# How long to wait for a response from the station before giving up (in
# seconds; must be greater than 2)
timeout = 4
# How long to wait before trying again (in seconds)
wait_before_retry = 1.2
# How many times to try before giving up:
max_tries = 4
# Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2
model_type = 2
# The driver to use:
driver = weewx.drivers.vantage
##############################################################################
A single cycle of error messages from /var/syslog is:
Feb 13 14:12:17 raspberrypi2 weewx[4775]: engine: retrying...
Feb 13 14:12:17 raspberrypi2 weewx[4775]: engine: Using configuration file
/etc/weewx/weewx.conf
Feb 13 14:12:17 raspberrypi2 weewx[4775]: engine: Loading station type
Vantage (weewx.drivers.vantage)
Feb 13 14:12:21 raspberrypi2 weewx[4775]: engine: StdConvert target unit is
0x1
Feb 13 14:12:21 raspberrypi2 weewx[4775]: wxcalculate: The following values
will be calculated: barometer=prefer_hardware, windchill=prefer_hardware,
dewpoint=prefer_hardware, appTemp=prefer_hardware,
rainRate=prefer_hardware, windrun=prefer_hardware,
heatindex=prefer_hardware, maxSolarRad=prefer_hardware,
humidex=prefer_hardware, pressure=prefer_hardware,
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware,
cloudbase=prefer_hardware
Feb 13 14:12:21 raspberrypi2 weewx[4775]: wxcalculate: The following
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Feb 13 14:12:21 raspberrypi2 weewx[4775]: engine: Archive will use data
binding wx_binding
Feb 13 14:12:21 raspberrypi2 weewx[4775]: engine: Record generation will be
attempted in 'hardware'
Feb 13 14:12:21 raspberrypi2 weewx[4775]: engine: Using archive interval of
300 seconds (specified by hardware)
Feb 13 14:12:21 raspberrypi2 weewx[4775]: engine: Using binding
'wx_binding' to database 'weewx.sdb'
Feb 13 14:12:21 raspberrypi2 weewx[4775]: manager: Starting backfill of
daily summaries
Feb 13 14:12:21 raspberrypi2 weewx[4775]: restx: StationRegistry:
Registration not requested.
Feb 13 14:12:21 raspberrypi2 weewx[4775]: restx: Wunderground: Posting not
enabled.
Feb 13 14:12:21 raspberrypi2 weewx[4775]: restx: PWSweather: Posting not
enabled.
Feb 13 14:12:21 raspberrypi2 weewx[4775]: restx: CWOP: Posting not enabled.
Feb 13 14:12:21 raspberrypi2 weewx[4775]: restx: WOW: Posting not enabled.
Feb 13 14:12:21 raspberrypi2 weewx[4775]: restx: AWEKAS: Posting not
enabled.
Feb 13 14:12:21 raspberrypi2 weewx[4775]: engine: Starting up weewx version
3.9.1
Feb 13 14:12:22 raspberrypi2 weewx[4775]: engine: Clock error is -0.41
seconds (positive is fast)
Feb 13 14:12:23 raspberrypi2 weewx[4775]: engine: Starting main packet loop.
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: LOOP try #1; error:
vantage: Expected 99 characters; got zero instead
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: Unable to wake up console
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: LOOP try #2; error:
Unable to wake up Vantage console
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: Unable to wake up console
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: LOOP try #3; error:
Unable to wake up Vantage console
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: Unable to wake up console
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: LOOP try #4; error:
Unable to wake up Vantage console
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: LOOP max tries (4)
exceeded.
Feb 13 14:13:25 raspberrypi2 weewx[4775]: engine: Main loop exiting.
Shutting engine down.
Feb 13 14:13:25 raspberrypi2 weewx[4775]: vantage: ip-write error: [Errno
32] Broken pipe
Feb 13 14:13:25 raspberrypi2 weewx[4775]: engine: Caught WeeWxIOError: Max
tries exceeded while getting LOOP data.
Feb 13 14:13:25 raspberrypi2 weewx[4775]: **** Waiting 60 seconds then
retrying...
It almost looks as if weewx is still trying to get the LOOP records from
the (virtual) serial port.
Can anyone who is using weewx with a VP2, either via a Weatherlink IP or
via a new WiFiLogger, shed any light on this?
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.