I exchanged the old Davis datalogger with RSR232 with the Meteo Pi Ethernet
<https://www.meteo-shopping.com/en/software-and-datalogger/570-meteo-pi-ethernet-for-vantage-pro-2vantage-vue.html>.
I modified my weewx.conf:
[Vantage]
# This section is for the Davis Vantage series of weather stations.
# Connection type: serial or ethernet
# serial (the classic VantagePro)
# ethernet (the WeatherLinkIP or Serial-Ethernet bridge)
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/ttyUSB0
# If the connection type is ethernet, an IP Address/hostname is
required:
host = 192.168.10.180
######################################################
# 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 type of LOOP packet to request: 1 = LOOP1; 2 = LOOP2; 3 = both
loop_request = 3
# 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 = 1
# How long to wait for a response from the station before giving up (in
# seconds; must be greater than 2)
timeout = 6
# How long to wait before trying again (in seconds)
wait_before_retry = 2.0
# How many times to try before giving up:
max_tries = 10
# Vantage model Type: 1 = Vantage Pro; 2 = Vantage Pro2
model_type = 2
# The driver to use:
driver = weewx.drivers.vantage
I made a restart of my weewx and got this output in the log-file:
Aug 19 11:49:12 testx weewx[101533] DEBUG __main__: Initializing engine
Aug 19 11:49:12 testx weewx[101533] DEBUG weewx.drivers.vantage: Driver
version is 3.5.2
Aug 19 11:49:12 testx weewx[101533] DEBUG weewx.drivers.vantage: Option
loop_request=3
Aug 19 11:49:12 testx weewx[101533] DEBUG weewx.drivers.vantage: Opened up
ethernet host 192.168.10.180 on port 22222. timeout=6.0, tcp_send_delay=0.5
Aug 19 11:49:14 testx weewx[101533] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:49:15 testx weewx[101533] ERROR weewx.drivers.vantage: send_data:
no <ACK> received from Vantage console
Aug 19 11:49:15 testx weewx[101533] ERROR weewx.drivers.vantage:
_determine_hardware; retry #0: 'No <ACK> received from Vantage console'
Aug 19 11:49:15 testx weewx[101533] ERROR weewx.drivers.vantage: send_data:
no <ACK> received from Vantage console
Aug 19 11:49:15 testx weewx[101533] ERROR weewx.drivers.vantage:
_determine_hardware; retry #1: 'No <ACK> received from Vantage console'
Aug 19 11:49:16 testx weewx[101533] DEBUG weewx.drivers.vantage: Hardware
type is 16
Aug 19 11:49:16 testx weewx[101533] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed. CRC error
Aug 19 11:49:16 testx weewx[101533] ERROR weewx.drivers.vantage: Unable to
pass CRC16 check while getting data
Aug 19 11:49:18 testx weewx[101533] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:49:20 testx weewx[101533] DEBUG weewx.drivers.vantage: ISS ID is 1
Aug 19 11:49:20 testx weewx[101533] DEBUG weewx.drivers.vantage: Hardware
name: Vantage Pro2
Aug 19 11:49:21 testx weewx[101533] DEBUG weewx.wxservices: Calculations
for LOOP packets: {'pressure': 'prefer_hardware', 'altimeter':
'prefer_hardware', 'appTemp': 'prefer_hardware', 'barometer':
'prefer_hardware', 'cloudbase': 'prefer_hardware', 'dewpoint':
'prefer_hardware', 'ET': 'prefer_hardware', 'heatindex': 'prefer_hardware',
'humidex': 'prefer_hardware', 'inDewpoint': 'prefer_hardware',
'maxSolarRad': 'prefer_hardware', 'rainRate': 'prefer_hardware',
'windchill': 'prefer_hardware', 'windrun': 'prefer_hardware', 'windDir':
'software', 'windGustDir': 'software'}
Aug 19 11:49:21 testx weewx[101533] DEBUG weewx.wxservices: Calculations
for archive records: {'pressure': 'prefer_hardware', 'altimeter':
'prefer_hardware', 'appTemp': 'prefer_hardware', 'barometer':
'prefer_hardware', 'cloudbase': 'prefer_hardware', 'dewpoint':
'prefer_hardware', 'ET': 'prefer_hardware', 'heatindex': 'prefer_hardware',
'humidex': 'prefer_hardware', 'inDewpoint': 'prefer_hardware',
'maxSolarRad': 'prefer_hardware', 'rainRate': 'prefer_hardware',
'windchill': 'prefer_hardware', 'windrun': 'prefer_hardware', 'windDir':
'software', 'windGustDir': 'software'}
Aug 19 11:49:21 testx weewx[101533] INFO weewx.wxservices: StdWXCalculate
will use data binding wx_binding
Aug 19 11:49:21 testx weewx[101533] INFO __main__: Starting up weewx
version 4.10.2
Aug 19 11:49:23 testx weewx[101533] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:49:23 testx weewx[101533] DEBUG weewx.drivers.vantage: Getting
archive packets since 2023-08-19 11:33:00 CEST (1692437580)
Aug 19 11:49:25 testx weewx[101533] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:49:26 testx weewx[101533] DEBUG weewx.drivers.vantage: Retrieving
0 page(s); starting index= 0
Aug 19 11:49:28 testx weewx[101533] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:49:28 testx weewx[101533] DEBUG weewx.drivers.vantage: Requesting
200 LOOP packets.
Aug 19 11:49:30 testx weewx[101533] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:49:30 testx weewx[101533] ERROR weewx.drivers.vantage: send_data:
no <ACK> received from Vantage console
Aug 19 11:49:30 testx weewx[101533] ERROR weewx.drivers.vantage: LOOP batch
try #1; error: No <ACK> received from Vantage console
Aug 19 11:49:32 testx weewx[101533] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:49:32 testx weewx[101533] ERROR weewx.drivers.vantage: send_data:
no <ACK> received from Vantage console
Aug 19 11:49:32 testx weewx[101533] ERROR weewx.drivers.vantage: LOOP batch
try #2; error: No <ACK> received from Vantage console
Aug 19 11:49:34 testx weewx[101533] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:49:34 testx weewx[101533] ERROR weewx.drivers.vantage: send_data:
no <ACK> received from Vantage console
Aug 19 11:49:34 testx weewx[101533] ERROR weewx.drivers.vantage: LOOP batch
try #3; error: No <ACK> received from Vantage console
Aug 19 11:49:34 testx weewx[101533] ERROR weewx.drivers.vantage: LOOP max
batch errors (3) exceeded.
Aug 19 11:49:35 testx weewx[101533] CRITICAL __main__: Caught WeeWxIOError:
LOOP max batch errors (3) exceeded.
Aug 19 11:49:35 testx weewx[101533] CRITICAL __main__: **** Waiting 60
seconds then retrying...
I had the same error as with the old usb to RS232 converter !
I changed the value "*loop_request*" from 3 to 1 and made a restart of
weewx.
Aug 19 11:51:21 testx weewx[101618] DEBUG __main__: Initializing engine
Aug 19 11:51:21 testx weewx[101618] DEBUG weewx.drivers.vantage: Driver
version is 3.5.2
Aug 19 11:51:21 testx weewx[101618] DEBUG weewx.drivers.vantage: Option
loop_request=1
Aug 19 11:51:21 testx weewx[101618] DEBUG weewx.drivers.vantage: Opened up
ethernet host 192.168.10.180 on port 22222. timeout=6.0, tcp_send_delay=0.5
Aug 19 11:51:23 testx weewx[101618] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:51:23 testx weewx[101618] DEBUG weewx.drivers.vantage: Hardware
type is 16
Aug 19 11:51:26 testx weewx[101618] DEBUG weewx.drivers.vantage: ISS ID is 1
Aug 19 11:51:26 testx weewx[101618] DEBUG weewx.drivers.vantage: Hardware
name: Vantage Pro2
Aug 19 11:51:27 testx weewx[101618] DEBUG weewx.wxservices: Calculations
for LOOP packets: {'pressure': 'prefer_hardware', 'altimeter':
'prefer_hardware', 'appTemp': 'prefer_hardware', 'barometer':
'prefer_hardware', 'cloudbase': 'prefer_hardware', 'dewpoint':
'prefer_hardware', 'ET': 'prefer_hardware', 'heatindex': 'prefer_hardware',
'humidex': 'prefer_hardware', 'inDewpoint': 'prefer_hardware',
'maxSolarRad': 'prefer_hardware', 'rainRate': 'prefer_hardware',
'windchill': 'prefer_hardware', 'windrun': 'prefer_hardware', 'windDir':
'software', 'windGustDir': 'software'}
Aug 19 11:51:27 testx weewx[101618] DEBUG weewx.wxservices: Calculations
for archive records: {'pressure': 'prefer_hardware', 'altimeter':
'prefer_hardware', 'appTemp': 'prefer_hardware', 'barometer':
'prefer_hardware', 'cloudbase': 'prefer_hardware', 'dewpoint':
'prefer_hardware', 'ET': 'prefer_hardware', 'heatindex': 'prefer_hardware',
'humidex': 'prefer_hardware', 'inDewpoint': 'prefer_hardware',
'maxSolarRad': 'prefer_hardware', 'rainRate': 'prefer_hardware',
'windchill': 'prefer_hardware', 'windrun': 'prefer_hardware', 'windDir':
'software', 'windGustDir': 'software'}
Aug 19 11:51:27 testx weewx[101618] INFO weewx.wxservices: StdWXCalculate
will use data binding wx_binding
Aug 19 11:51:27 testx weewx[101618] INFO __main__: Starting up weewx
version 4.10.2
Aug 19 11:51:29 testx weewx[101618] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:51:30 testx weewx[101618] DEBUG weewx.drivers.vantage: Getting
archive packets since 2023-08-19 11:33:00 CEST (1692437580)
Aug 19 11:51:31 testx weewx[101618] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:51:32 testx weewx[101618] DEBUG weewx.drivers.vantage: Retrieving
0 page(s); starting index= 0
Aug 19 11:51:34 testx weewx[101618] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:51:34 testx weewx[101618] DEBUG weewx.drivers.vantage: Requesting
200 LOOP packets.
Aug 19 11:51:36 testx weewx[101618] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
Aug 19 11:54:16 testx weewx[101618] DEBUG weewx.drivers.vantage: Requesting
200 LOOP packets.
Aug 19 11:54:17 testx weewx[101618] DEBUG weewx.drivers.vantage:
Successfully woke up Vantage console
I have now a successful connection with this configuration !
Regards Matthias
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/1740b83d-bb2c-41c1-a0f0-cfa0d95f26d9n%40googlegroups.com.