Thank you. No joy with ttyS1 either (and yes, I did change the setting in
weewx.conf!).
Still using ttyS1, I tried
*stty sane -F /dev/ttyS1*
but it's still not working.
Restarting the daemon, then
*sudo service weewx* status yields (repeatedly, the block of messages
doesn't alter) the following:
● weewx.service - LSB: weewx weather system
Loaded: loaded (/etc/init.d/weewx; generated)
Active: active (running) since Fri 2020-11-27 15:14:37 NZDT; 5s ago
Docs: man:systemd-sysv-generator(8)
Process: 2864 ExecStart=/etc/init.d/weewx start (code=exited,
status=0/SUCCESS)
Tasks: 1 (limit: 9244)
Memory: 10.0M
CGroup: /system.slice/weewx.service
└─2882 /usr/bin/python3 /home/weewx/bin/weewxd --daemon
--pidfile=/var/run/weewx.pid /home/weewx/weewx.conf
Nov 27 15:14:41 XCY weewxd[2882]: weewx[2882] DEBUG weewx.drivers.vantage:
Retry #0 failed
Nov 27 15:14:41 XCY weewxd[2882]: weewx[2882] DEBUG weewx.drivers.vantage:
Gentle wake up of console successful
Nov 27 15:14:41 XCY weewxd[2882]: weewx[2882] ERROR weewx.drivers.vantage:
No <ACK> received from console
Nov 27 15:14:41 XCY weewxd[2882]: weewx[2882] ERROR weewx.drivers.vantage:
_determine_hardware; retry #0: 'No <ACK> received from Van>
Nov 27 15:14:41 XCY weewxd[2882]: weewx[2882] ERROR weewx.drivers.vantage:
No <ACK> received from console
Nov 27 15:14:41 XCY weewxd[2882]: weewx[2882] ERROR weewx.drivers.vantage:
_determine_hardware; retry #1: 'No <ACK> received from Van>
Nov 27 15:14:41 XCY weewxd[2882]: weewx[2882] DEBUG weewx.drivers.vantage:
Hardware type is 16
Nov 27 15:14:41 XCY weewxd[2882]: weewx[2882] ERROR weewx.drivers.vantage:
No <ACK> received from console
Nov 27 15:14:42 XCY weewxd[2882]: weewx[2882] DEBUG weewx.drivers.vantage:
Retry #0 failed
Nov 27 15:14:42 XCY weewxd[2882]: weewx[2882] DEBUG weewx.drivers.vantage:
Rude wake up of console successful
~
~
~
lines 1-20/20 (END)
And *sudo cat /proc/tty/driver/serial *yielded a similar result to the
previous: the tx:, rx:, fe: and brk: values incremented until
serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:0 rx:0 DSR|CD|RI
1: uart:16550A port:000002F8 irq:3 tx:1123 rx:1654 fe:95 brk:108 DSR|CD|RI
2: uart:unknown port:000003E8 irq:4
3: uart:unknown port:000002E8 irq:3
4: uart:unknown port:00000000 irq:0
and then they stopped incrementing, as if the daemon gave up trying to
connect.
I rebooted again and looked at /var/log/syslog again, *grep*-ing for weewx,
and got (sorry for the length here):
Nov 27 15:52:22 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:26 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 0 instead
Nov 27 15:52:26 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:52:26 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:26 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:52:26 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:26 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:52:26 XCY weewx[738] DEBUG weewx.drivers.vantage: Rude wake up of
console successful
Nov 27 15:52:30 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 0 instead
Nov 27 15:52:30 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:52:30 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:38 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:52:38 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:38 XCY weewx[738] DEBUG weewx.drivers.vantage: ISS ID is 1
Nov 27 15:52:38 XCY weewx[738] ERROR weewx.engine: Import of driver failed:
Unknown hardware type 0 (<class 'weewx.UnsupportedFeature'>)
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** Traceback
(most recent call last):
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** File
"/home/weewx/bin/weewx/engine.py", line 109, in setupStation
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: ****
self.console = loader_function(config_dict, self)
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** File
"/home/weewx/bin/weewx/drivers/vantage.py", line 39, in loader
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** return
VantageService(engine, config_dict)
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** File
"/home/weewx/bin/weewx/drivers/vantage.py", line 1898, in __init__
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: ****
Vantage.__init__(self, **config_dict[DRIVER_NAME])
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** File
"/home/weewx/bin/weewx/drivers/vantage.py", line 516, in __init__
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: ****
log.debug("Hardware name: %s", self.hardware_name)
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** File
"/home/weewx/bin/weewx/drivers/vantage.py", line 1293, in hardware_name
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** raise
weewx.UnsupportedFeature("Unknown hardware type %d" % self.hardware_type)
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: ****
weewx.UnsupportedFeature: Unknown hardware type 0
Nov 27 15:52:38 XCY weewx[738] CRITICAL __main__: Unable to load driver:
Unknown hardware type 0
Nov 27 15:52:38 XCY weewx[738] CRITICAL __main__: **** Exiting...
Nov 27 15:53:33 XCY ntpd[705]: 91.189.91.157 local addr 192.168.0.54 ->
<null>
Nov 27 15:53:36 XCY systemd-resolved[491]: Server returned error NXDOMAIN,
mitigating potential DNS violation DVE-2018-0001, retrying transaction with
reduced feature level UDP.
Nov 27 15:53:36 XCY systemd-resolved[491]: Server returned error NXDOMAIN,
mitigating potential DNS violation DVE-2018-0001, retrying transaction with
reduced feature level UDP.
Nov 27 15:53:39 XCY ntpd[705]: 91.189.94.4 local addr 192.168.0.54 -> <null>
Nov 27 15:53:42 XCY dbus-daemon[519]: [system] Activating via systemd:
service name='org.freedesktop.PackageKit' unit='packagekit.service'
requested by ':1.74' (uid=0 pid=2234 comm="/usr/bin/gdbus call --system
--dest org.freedeskto" label="unconfined")
Nov 27 15:53:42 XCY systemd[1]: Starting PackageKit Daemon...
Nov 27 15:53:42 XCY PackageKit: daemon start
Nov 27 15:53:42 XCY dbus-daemon[519]: [system] Successfully activated
service 'org.freedesktop.PackageKit'
Nov 27 15:53:42 XCY systemd[1]: Started PackageKit Daemon.
Nov 27 15:54:38 XCY ntpd[705]: 138.201.90.189 local addr 192.168.0.54 ->
<null>
amp@XCY:~$ cat ~/Desktop/var_log_syslog_1.txt | grep weewx
Nov 27 15:43:42 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:43:42 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #2;
error: No <ACK> received from Vantage console
Nov 27 15:43:42 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:43:46 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:43:50 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #1 failed
Nov 27 15:43:54 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #2 failed
Nov 27 15:43:58 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #3 failed
Nov 27 15:43:58 XCY weewx[738] ERROR weewx.drivers.vantage: Unable to wake
up console
Nov 27 15:43:58 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #3;
error: Unable to wake up Vantage console
Nov 27 15:43:58 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:44:02 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:44:06 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #1 failed
Nov 27 15:44:06 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:44:06 XCY weewx[738] DEBUG weewx.drivers.vantage: Retrieving 513
page(s); starting index= 0
Nov 27 15:44:10 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 267 chars; got 222
instead
Nov 27 15:44:10 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:44:10 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #4;
error: Timeout in get_data_with_crc16
Nov 27 15:44:10 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT max
tries (4) exceeded.
Nov 27 15:44:10 XCY weewx[738] INFO weewx.engine: Main loop exiting.
Shutting engine down.
Nov 27 15:44:10 XCY weewx[738] CRITICAL __main__: Caught WeeWxIOError: Max
tries exceeded while getting archive data.
Nov 27 15:44:10 XCY weewx[738] CRITICAL __main__: **** Waiting 60
seconds then retrying...
Nov 27 15:45:09 XCY weewx[738] INFO __main__: retrying...
Nov 27 15:45:09 XCY weewx[738] INFO __main__: Using configuration file
/home/weewx/weewx.conf
Nov 27 15:45:09 XCY weewx[738] INFO __main__: Debug is 1
Nov 27 15:45:09 XCY weewx[738] DEBUG __main__: Initializing engine
Nov 27 15:45:09 XCY weewx[738] INFO weewx.engine: Loading station type
Vantage (weewx.drivers.vantage)
Nov 27 15:45:09 XCY weewx[738] DEBUG weewx.drivers.vantage: Driver version
is 3.2.1
Nov 27 15:45:09 XCY weewx[738] DEBUG weewx.drivers.vantage: Option
loop_request=1
Nov 27 15:45:09 XCY weewx[738] DEBUG weewx.drivers.vantage: Opened up
serial port /dev/ttyS1; baud 19200; timeout 4.00
Nov 27 15:45:09 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:45:10 XCY weewx[738] DEBUG weewx.drivers.vantage: Hardware type
is 16
Nov 27 15:45:14 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 0 instead
Nov 27 15:45:14 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:45:14 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:45:14 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:45:14 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:45:22 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:45:22 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:45:26 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 1 instead
Nov 27 15:45:26 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:45:26 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:45:30 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 0 instead
Nov 27 15:45:30 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:45:30 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 4 chars; got 0 instead
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.drivers.vantage: ISS ID is 1
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.drivers.vantage: Hardware name:
Vantage Pro2
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdTimeSynch
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdTimeSynch
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdConvert
Nov 27 15:45:34 XCY weewx[738] INFO weewx.engine: StdConvert target unit is
0x1
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdConvert
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdCalibrate
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdCalibrate
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdQC
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdQC
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxservices.StdWXCalculate
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.manager: Daily summary version
is 2
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxservices.StdWXCalculate
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdWXXTypes
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdWXXTypes
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdPressureCooker
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdPressureCooker
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdRainRater
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdRainRater
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdArchive
Nov 27 15:45:34 XCY weewx[738] INFO weewx.engine: Archive will use data
binding wx_binding
Nov 27 15:45:34 XCY weewx[738] INFO weewx.engine: Record generation will be
attempted in 'hardware'
Nov 27 15:45:34 XCY weewx[738] ERROR weewx.engine: The archive interval in
the configuration file (300) does not match the station hardware interval
(60).
Nov 27 15:45:34 XCY weewx[738] INFO weewx.engine: Using archive interval of
60 seconds (specified by hardware)
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Use LOOP data in hi/low
calculations: 1
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdArchive
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdStationRegistry
Nov 27 15:45:34 XCY weewx[738] INFO weewx.restx: StationRegistry:
Registration not requested.
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdStationRegistry
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdWunderground
Nov 27 15:45:34 XCY weewx[738] INFO weewx.restx: Wunderground: Posting not
enabled.
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdWunderground
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdPWSweather
Nov 27 15:45:34 XCY weewx[738] INFO weewx.restx: PWSweather: Posting not
enabled.
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdPWSweather
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdCWOP
Nov 27 15:45:34 XCY weewx[738] INFO weewx.restx: CWOP: Posting not enabled.
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdCWOP
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdWOW
Nov 27 15:45:34 XCY weewx[738] INFO weewx.restx: WOW: Posting not enabled.
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdWOW
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdAWEKAS
Nov 27 15:45:34 XCY weewx[738] INFO weewx.restx: AWEKAS: Posting not
enabled.
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdAWEKAS
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdPrint
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdPrint
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdReport
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdReport
Nov 27 15:45:34 XCY weewx[738] INFO __main__: Starting up weewx version
4.2.0
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:45:34 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:45:34 XCY weewx[738] DEBUG weewx.drivers.vantage: Rude wake up of
console successful
Nov 27 15:45:38 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 8 chars; got 2 instead
Nov 27 15:45:38 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:45:38 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:45:38 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:45:38 XCY weewx[738] DEBUG weewx.drivers.vantage: Rude wake up of
console successful
Nov 27 15:45:42 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 8 chars; got 2 instead
Nov 27 15:45:42 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:45:42 XCY weewx[738] ERROR weewx.drivers.vantage: Max retries
exceeded while getting time
Nov 27 15:45:42 XCY weewx[738] INFO weewx.engine: Error reading time: While
getting console time
Nov 27 15:45:42 XCY weewx[738] INFO weewx.engine: Using binding
'wx_binding' to database 'weewx.sdb'
Nov 27 15:45:42 XCY weewx[738] INFO weewx.manager: Starting backfill of
daily summaries
Nov 27 15:45:42 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:45:42 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:45:46 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #1;
error: Expected to read 1 chars; got 0 instead
Nov 27 15:45:46 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:45:50 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:45:54 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #1 failed
Nov 27 15:45:58 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #2 failed
Nov 27 15:46:02 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #3 failed
Nov 27 15:46:02 XCY weewx[738] ERROR weewx.drivers.vantage: Unable to wake
up console
Nov 27 15:46:02 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #2;
error: Unable to wake up Vantage console
Nov 27 15:46:02 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:46:06 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:46:10 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #1 failed
Nov 27 15:46:14 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #2 failed
Nov 27 15:46:14 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:46:14 XCY weewx[738] DEBUG weewx.drivers.vantage:
send_data_with_crc16; try #1
Nov 27 15:46:14 XCY weewx[738] ERROR weewx.drivers.vantage: Unable to pass
CRC16 check while sending data
Nov 27 15:46:14 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #3;
error: Unable to pass CRC16 check while sending data to Vantage console
Nov 27 15:46:14 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:46:14 XCY weewx[738] DEBUG weewx.drivers.vantage: Rude wake up of
console successful
Nov 27 15:46:18 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #4;
error: Expected to read 1 chars; got 0 instead
Nov 27 15:46:18 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT max
tries (4) exceeded.
Nov 27 15:46:18 XCY weewx[738] INFO weewx.engine: Main loop exiting.
Shutting engine down.
Nov 27 15:46:18 XCY weewx[738] CRITICAL __main__: Caught WeeWxIOError: Max
tries exceeded while getting archive data.
Nov 27 15:46:18 XCY weewx[738] CRITICAL __main__: **** Waiting 60
seconds then retrying...
Nov 27 15:47:18 XCY weewx[738] INFO __main__: retrying...
Nov 27 15:47:18 XCY weewx[738] INFO __main__: Using configuration file
/home/weewx/weewx.conf
Nov 27 15:47:18 XCY weewx[738] INFO __main__: Debug is 1
Nov 27 15:47:18 XCY weewx[738] DEBUG __main__: Initializing engine
Nov 27 15:47:18 XCY weewx[738] INFO weewx.engine: Loading station type
Vantage (weewx.drivers.vantage)
Nov 27 15:47:18 XCY weewx[738] DEBUG weewx.drivers.vantage: Driver version
is 3.2.1
Nov 27 15:47:18 XCY weewx[738] DEBUG weewx.drivers.vantage: Option
loop_request=1
Nov 27 15:47:18 XCY weewx[738] DEBUG weewx.drivers.vantage: Opened up
serial port /dev/ttyS1; baud 19200; timeout 4.00
Nov 27 15:47:22 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:47:22 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:47:22 XCY weewx[738] DEBUG weewx.drivers.vantage: Hardware type
is 16
Nov 27 15:47:22 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:47:22 XCY weewx[738] DEBUG weewx.drivers.vantage: Rude wake up of
console successful
Nov 27 15:47:22 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:47:22 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:47:30 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:47:30 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:47:34 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 1 instead
Nov 27 15:47:34 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:47:34 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.drivers.vantage: ISS ID is 1
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.drivers.vantage: Hardware name:
Vantage Pro2
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdTimeSynch
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdTimeSynch
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdConvert
Nov 27 15:47:42 XCY weewx[738] INFO weewx.engine: StdConvert target unit is
0x1
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdConvert
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdCalibrate
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdCalibrate
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdQC
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdQC
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxservices.StdWXCalculate
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.manager: Daily summary version
is 2
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxservices.StdWXCalculate
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdWXXTypes
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdWXXTypes
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdPressureCooker
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdPressureCooker
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdRainRater
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdRainRater
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdArchive
Nov 27 15:47:42 XCY weewx[738] INFO weewx.engine: Archive will use data
binding wx_binding
Nov 27 15:47:42 XCY weewx[738] INFO weewx.engine: Record generation will be
attempted in 'hardware'
Nov 27 15:47:42 XCY weewx[738] ERROR weewx.engine: The archive interval in
the configuration file (300) does not match the station hardware interval
(60).
Nov 27 15:47:42 XCY weewx[738] INFO weewx.engine: Using archive interval of
60 seconds (specified by hardware)
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Use LOOP data in hi/low
calculations: 1
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdArchive
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdStationRegistry
Nov 27 15:47:42 XCY weewx[738] INFO weewx.restx: StationRegistry:
Registration not requested.
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdStationRegistry
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdWunderground
Nov 27 15:47:42 XCY weewx[738] INFO weewx.restx: Wunderground: Posting not
enabled.
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdWunderground
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdPWSweather
Nov 27 15:47:42 XCY weewx[738] INFO weewx.restx: PWSweather: Posting not
enabled.
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdPWSweather
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdCWOP
Nov 27 15:47:42 XCY weewx[738] INFO weewx.restx: CWOP: Posting not enabled.
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdCWOP
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdWOW
Nov 27 15:47:42 XCY weewx[738] INFO weewx.restx: WOW: Posting not enabled.
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdWOW
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdAWEKAS
Nov 27 15:47:42 XCY weewx[738] INFO weewx.restx: AWEKAS: Posting not
enabled.
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdAWEKAS
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdPrint
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdPrint
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdReport
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdReport
Nov 27 15:47:42 XCY weewx[738] INFO __main__: Starting up weewx version
4.2.0
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:47:42 XCY weewx[738] INFO weewx.engine: Clock error is 0.27
seconds (positive is fast)
Nov 27 15:47:42 XCY weewx[738] INFO weewx.engine: Using binding
'wx_binding' to database 'weewx.sdb'
Nov 27 15:47:42 XCY weewx[738] INFO weewx.manager: Starting backfill of
daily summaries
Nov 27 15:47:42 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:47:46 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:47:46 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:47:46 XCY weewx[738] DEBUG weewx.drivers.vantage:
send_data_with_crc16; try #1
Nov 27 15:47:46 XCY weewx[738] ERROR weewx.drivers.vantage: Unable to pass
CRC16 check while sending data
Nov 27 15:47:46 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #1;
error: Unable to pass CRC16 check while sending data to Vantage console
Nov 27 15:47:46 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:47:50 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:47:50 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:47:50 XCY weewx[738] DEBUG weewx.drivers.vantage: Retrieving 513
page(s); starting index= 3
Nov 27 15:47:54 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 267 chars; got 220
instead
Nov 27 15:47:54 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:47:54 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #2;
error: Timeout in get_data_with_crc16
Nov 27 15:47:54 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:47:54 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:47:55 XCY weewx[738] DEBUG weewx.drivers.vantage: Retrieving 513
page(s); starting index= 3
Nov 27 15:47:59 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 267 chars; got 215
instead
Nov 27 15:47:59 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:47:59 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #3;
error: Timeout in get_data_with_crc16
Nov 27 15:47:59 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:47:59 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:47:59 XCY weewx[738] DEBUG weewx.drivers.vantage: Retrieving 513
page(s); starting index= 3
Nov 27 15:48:03 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 267 chars; got 212
instead
Nov 27 15:48:03 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:48:03 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #4;
error: Timeout in get_data_with_crc16
Nov 27 15:48:03 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT max
tries (4) exceeded.
Nov 27 15:48:03 XCY weewx[738] INFO weewx.engine: Main loop exiting.
Shutting engine down.
Nov 27 15:48:03 XCY weewx[738] CRITICAL __main__: Caught WeeWxIOError: Max
tries exceeded while getting archive data.
Nov 27 15:48:03 XCY weewx[738] CRITICAL __main__: **** Waiting 60
seconds then retrying...
Nov 27 15:49:03 XCY weewx[738] INFO __main__: retrying...
Nov 27 15:49:03 XCY weewx[738] INFO __main__: Using configuration file
/home/weewx/weewx.conf
Nov 27 15:49:03 XCY weewx[738] INFO __main__: Debug is 1
Nov 27 15:49:03 XCY weewx[738] DEBUG __main__: Initializing engine
Nov 27 15:49:03 XCY weewx[738] INFO weewx.engine: Loading station type
Vantage (weewx.drivers.vantage)
Nov 27 15:49:03 XCY weewx[738] DEBUG weewx.drivers.vantage: Driver version
is 3.2.1
Nov 27 15:49:03 XCY weewx[738] DEBUG weewx.drivers.vantage: Option
loop_request=1
Nov 27 15:49:03 XCY weewx[738] DEBUG weewx.drivers.vantage: Opened up
serial port /dev/ttyS1; baud 19200; timeout 4.00
Nov 27 15:49:03 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:49:07 XCY weewx[738] ERROR weewx.drivers.vantage:
_determine_hardware; retry #0: 'Expected to read 1 chars; got 0 instead'
Nov 27 15:49:07 XCY weewx[738] DEBUG weewx.drivers.vantage: Hardware type
is 16
Nov 27 15:49:11 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 0 instead
Nov 27 15:49:11 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:49:11 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:49:19 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:49:19 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 4 chars; got 0 instead
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.drivers.vantage: ISS ID is 1
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.drivers.vantage: Hardware name:
Vantage Pro2
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdTimeSynch
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdTimeSynch
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdConvert
Nov 27 15:49:23 XCY weewx[738] INFO weewx.engine: StdConvert target unit is
0x1
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdConvert
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdCalibrate
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdCalibrate
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdQC
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdQC
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxservices.StdWXCalculate
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.manager: Daily summary version
is 2
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxservices.StdWXCalculate
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdWXXTypes
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdWXXTypes
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdPressureCooker
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdPressureCooker
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdRainRater
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdRainRater
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdArchive
Nov 27 15:49:23 XCY weewx[738] INFO weewx.engine: Archive will use data
binding wx_binding
Nov 27 15:49:23 XCY weewx[738] INFO weewx.engine: Record generation will be
attempted in 'hardware'
Nov 27 15:49:23 XCY weewx[738] ERROR weewx.engine: The archive interval in
the configuration file (300) does not match the station hardware interval
(60).
Nov 27 15:49:23 XCY weewx[738] INFO weewx.engine: Using archive interval of
60 seconds (specified by hardware)
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Use LOOP data in hi/low
calculations: 1
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdArchive
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdStationRegistry
Nov 27 15:49:23 XCY weewx[738] INFO weewx.restx: StationRegistry:
Registration not requested.
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdStationRegistry
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdWunderground
Nov 27 15:49:23 XCY weewx[738] INFO weewx.restx: Wunderground: Posting not
enabled.
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdWunderground
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdPWSweather
Nov 27 15:49:23 XCY weewx[738] INFO weewx.restx: PWSweather: Posting not
enabled.
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdPWSweather
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdCWOP
Nov 27 15:49:23 XCY weewx[738] INFO weewx.restx: CWOP: Posting not enabled.
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdCWOP
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdWOW
Nov 27 15:49:23 XCY weewx[738] INFO weewx.restx: WOW: Posting not enabled.
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdWOW
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdAWEKAS
Nov 27 15:49:23 XCY weewx[738] INFO weewx.restx: AWEKAS: Posting not
enabled.
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdAWEKAS
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdPrint
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdPrint
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdReport
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdReport
Nov 27 15:49:23 XCY weewx[738] INFO __main__: Starting up weewx version
4.2.0
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:49:23 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.drivers.vantage: Rude wake up of
console successful
Nov 27 15:49:23 XCY weewx[738] INFO weewx.engine: Clock error is -0.43
seconds (positive is fast)
Nov 27 15:49:23 XCY weewx[738] INFO weewx.engine: Using binding
'wx_binding' to database 'weewx.sdb'
Nov 27 15:49:23 XCY weewx[738] INFO weewx.manager: Starting backfill of
daily summaries
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:49:23 XCY weewx[738] DEBUG weewx.drivers.vantage: Retrieving 513
page(s); starting index= 0
Nov 27 15:49:27 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 267 chars; got 211
instead
Nov 27 15:49:27 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:49:27 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #1;
error: Timeout in get_data_with_crc16
Nov 27 15:49:27 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:49:27 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:49:27 XCY weewx[738] DEBUG weewx.drivers.vantage: Retrieving 513
page(s); starting index= 0
Nov 27 15:49:31 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 267 chars; got 218
instead
Nov 27 15:49:31 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:49:31 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #2;
error: Timeout in get_data_with_crc16
Nov 27 15:49:31 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:49:31 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:49:31 XCY weewx[738] DEBUG weewx.drivers.vantage:
send_data_with_crc16; try #1
Nov 27 15:49:31 XCY weewx[738] ERROR weewx.drivers.vantage: Unable to pass
CRC16 check while sending data
Nov 27 15:49:31 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #3;
error: Unable to pass CRC16 check while sending data to Vantage console
Nov 27 15:49:31 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:49:31 XCY weewx[738] DEBUG weewx.drivers.vantage: Rude wake up of
console successful
Nov 27 15:49:31 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:49:31 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #4;
error: No <ACK> received from Vantage console
Nov 27 15:49:31 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT max
tries (4) exceeded.
Nov 27 15:49:31 XCY weewx[738] INFO weewx.engine: Main loop exiting.
Shutting engine down.
Nov 27 15:49:31 XCY weewx[738] CRITICAL __main__: Caught WeeWxIOError: Max
tries exceeded while getting archive data.
Nov 27 15:49:31 XCY weewx[738] CRITICAL __main__: **** Waiting 60
seconds then retrying...
Nov 27 15:50:31 XCY weewx[738] INFO __main__: retrying...
Nov 27 15:50:31 XCY weewx[738] INFO __main__: Using configuration file
/home/weewx/weewx.conf
Nov 27 15:50:31 XCY weewx[738] INFO __main__: Debug is 1
Nov 27 15:50:31 XCY weewx[738] DEBUG __main__: Initializing engine
Nov 27 15:50:31 XCY weewx[738] INFO weewx.engine: Loading station type
Vantage (weewx.drivers.vantage)
Nov 27 15:50:31 XCY weewx[738] DEBUG weewx.drivers.vantage: Driver version
is 3.2.1
Nov 27 15:50:31 XCY weewx[738] DEBUG weewx.drivers.vantage: Option
loop_request=1
Nov 27 15:50:31 XCY weewx[738] DEBUG weewx.drivers.vantage: Opened up
serial port /dev/ttyS1; baud 19200; timeout 4.00
Nov 27 15:50:31 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:50:31 XCY weewx[738] DEBUG weewx.drivers.vantage: Hardware type
is 16
Nov 27 15:50:35 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 2 instead
Nov 27 15:50:35 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:50:35 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:50:39 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 1 instead
Nov 27 15:50:39 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:50:39 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:50:43 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 1 instead
Nov 27 15:50:43 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:50:43 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:50:48 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 0 instead
Nov 27 15:50:48 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:50:48 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 4 chars; got 0 instead
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.drivers.vantage: ISS ID is 1
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.drivers.vantage: Hardware name:
Vantage Pro2
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdTimeSynch
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdTimeSynch
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdConvert
Nov 27 15:50:52 XCY weewx[738] INFO weewx.engine: StdConvert target unit is
0x1
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdConvert
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdCalibrate
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdCalibrate
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdQC
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdQC
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxservices.StdWXCalculate
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.manager: Daily summary version
is 2
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxservices.StdWXCalculate
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdWXXTypes
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdWXXTypes
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdPressureCooker
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdPressureCooker
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.wxxtypes.StdRainRater
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.wxxtypes.StdRainRater
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdArchive
Nov 27 15:50:52 XCY weewx[738] INFO weewx.engine: Archive will use data
binding wx_binding
Nov 27 15:50:52 XCY weewx[738] INFO weewx.engine: Record generation will be
attempted in 'hardware'
Nov 27 15:50:52 XCY weewx[738] ERROR weewx.engine: The archive interval in
the configuration file (300) does not match the station hardware interval
(60).
Nov 27 15:50:52 XCY weewx[738] INFO weewx.engine: Using archive interval of
60 seconds (specified by hardware)
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Use LOOP data in hi/low
calculations: 1
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdArchive
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdStationRegistry
Nov 27 15:50:52 XCY weewx[738] INFO weewx.restx: StationRegistry:
Registration not requested.
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdStationRegistry
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdWunderground
Nov 27 15:50:52 XCY weewx[738] INFO weewx.restx: Wunderground: Posting not
enabled.
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdWunderground
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdPWSweather
Nov 27 15:50:52 XCY weewx[738] INFO weewx.restx: PWSweather: Posting not
enabled.
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdPWSweather
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdCWOP
Nov 27 15:50:52 XCY weewx[738] INFO weewx.restx: CWOP: Posting not enabled.
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdCWOP
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdWOW
Nov 27 15:50:52 XCY weewx[738] INFO weewx.restx: WOW: Posting not enabled.
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdWOW
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.restx.StdAWEKAS
Nov 27 15:50:52 XCY weewx[738] INFO weewx.restx: AWEKAS: Posting not
enabled.
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.restx.StdAWEKAS
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdPrint
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdPrint
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Loading service
weewx.engine.StdReport
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.engine: Finished loading service
weewx.engine.StdReport
Nov 27 15:50:52 XCY weewx[738] INFO __main__: Starting up weewx version
4.2.0
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:50:52 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.drivers.vantage: Rude wake up of
console successful
Nov 27 15:50:52 XCY weewx[738] INFO weewx.engine: Clock error is -0.13
seconds (positive is fast)
Nov 27 15:50:52 XCY weewx[738] INFO weewx.engine: Using binding
'wx_binding' to database 'weewx.sdb'
Nov 27 15:50:52 XCY weewx[738] INFO weewx.manager: Starting backfill of
daily summaries
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:50:52 XCY weewx[738] DEBUG weewx.drivers.vantage: Retrieving 513
page(s); starting index= 1
Nov 27 15:50:56 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 267 chars; got 214
instead
Nov 27 15:50:56 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:50:56 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #1;
error: Timeout in get_data_with_crc16
Nov 27 15:50:56 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:50:56 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:50:56 XCY weewx[738] DEBUG weewx.drivers.vantage: Retrieving 513
page(s); starting index= 1
Nov 27 15:51:00 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 267 chars; got 207
instead
Nov 27 15:51:00 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:51:00 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #2;
error: Timeout in get_data_with_crc16
Nov 27 15:51:00 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:51:00 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:51:00 XCY weewx[738] DEBUG weewx.drivers.vantage: Retrieving 513
page(s); starting index= 2
Nov 27 15:51:04 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 267 chars; got 215
instead
Nov 27 15:51:04 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:51:04 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #3;
error: Timeout in get_data_with_crc16
Nov 27 15:51:04 XCY weewx[738] DEBUG weewx.drivers.vantage: Getting all
archive packets
Nov 27 15:51:04 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:51:08 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 6 chars; got 5 instead
Nov 27 15:51:08 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:51:08 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT try #4;
error: Timeout in get_data_with_crc16
Nov 27 15:51:08 XCY weewx[738] ERROR weewx.drivers.vantage: DMPAFT max
tries (4) exceeded.
Nov 27 15:51:08 XCY weewx[738] INFO weewx.engine: Main loop exiting.
Shutting engine down.
Nov 27 15:51:08 XCY weewx[738] CRITICAL __main__: Caught WeeWxIOError: Max
tries exceeded while getting archive data.
Nov 27 15:51:08 XCY weewx[738] CRITICAL __main__: **** Waiting 60
seconds then retrying...
Nov 27 15:52:08 XCY weewx[738] INFO __main__: retrying...
Nov 27 15:52:08 XCY weewx[738] INFO __main__: Using configuration file
/home/weewx/weewx.conf
Nov 27 15:52:08 XCY weewx[738] INFO __main__: Debug is 1
Nov 27 15:52:08 XCY weewx[738] DEBUG __main__: Initializing engine
Nov 27 15:52:08 XCY weewx[738] INFO weewx.engine: Loading station type
Vantage (weewx.drivers.vantage)
Nov 27 15:52:08 XCY weewx[738] DEBUG weewx.drivers.vantage: Driver version
is 3.2.1
Nov 27 15:52:08 XCY weewx[738] DEBUG weewx.drivers.vantage: Option
loop_request=1
Nov 27 15:52:08 XCY weewx[738] DEBUG weewx.drivers.vantage: Opened up
serial port /dev/ttyS1; baud 19200; timeout 4.00
Nov 27 15:52:12 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:52:12 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:12 XCY weewx[738] DEBUG weewx.drivers.vantage: Hardware type
is 0
Nov 27 15:52:12 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:52:14 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:52:14 XCY weewx[738] DEBUG weewx.drivers.vantage: Rude wake up of
console successful
Nov 27 15:52:18 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 1 instead
Nov 27 15:52:18 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:52:18 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:18 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:52:18 XCY weewx[738] DEBUG weewx.drivers.vantage: Rude wake up of
console successful
Nov 27 15:52:22 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 0 instead
Nov 27 15:52:22 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:52:22 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:26 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 0 instead
Nov 27 15:52:26 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:52:26 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:26 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:52:26 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:26 XCY weewx[738] ERROR weewx.drivers.vantage: No <ACK>
received from console
Nov 27 15:52:26 XCY weewx[738] DEBUG weewx.drivers.vantage: Rude wake up of
console successful
Nov 27 15:52:30 XCY weewx[738] DEBUG weewx.drivers.vantage:
Get_data_with_crc16; try #1 failed: Expected to read 3 chars; got 0 instead
Nov 27 15:52:30 XCY weewx[738] DEBUG weewx.drivers.vantage: Timeout in
get_data_with_crc16
Nov 27 15:52:30 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:38 XCY weewx[738] DEBUG weewx.drivers.vantage: Retry #0 failed
Nov 27 15:52:38 XCY weewx[738] DEBUG weewx.drivers.vantage: Gentle wake up
of console successful
Nov 27 15:52:38 XCY weewx[738] DEBUG weewx.drivers.vantage: ISS ID is 1
Nov 27 15:52:38 XCY weewx[738] ERROR weewx.engine: Import of driver failed:
Unknown hardware type 0 (<class 'weewx.UnsupportedFeature'>)
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** Traceback
(most recent call last):
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** File
"/home/weewx/bin/weewx/engine.py", line 109, in setupStation
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: ****
self.console = loader_function(config_dict, self)
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** File
"/home/weewx/bin/weewx/drivers/vantage.py", line 39, in loader
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** return
VantageService(engine, config_dict)
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** File
"/home/weewx/bin/weewx/drivers/vantage.py", line 1898, in __init__
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: ****
Vantage.__init__(self, **config_dict[DRIVER_NAME])
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** File
"/home/weewx/bin/weewx/drivers/vantage.py", line 516, in __init__
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: ****
log.debug("Hardware name: %s", self.hardware_name)
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** File
"/home/weewx/bin/weewx/drivers/vantage.py", line 1293, in hardware_name
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: **** raise
weewx.UnsupportedFeature("Unknown hardware type %d" % self.hardware_type)
Nov 27 15:52:38 XCY weewx[738] CRITICAL weewx.engine: ****
weewx.UnsupportedFeature: Unknown hardware type 0
Nov 27 15:52:38 XCY weewx[738] CRITICAL __main__: Unable to load driver:
Unknown hardware type 0
Nov 27 15:52:38 XCY weewx[738] CRITICAL __main__: **** Exiting...
I was hoping to avoid USB<=>RS232 converters, as I understood they were
problematic (in the past) and would add another thing-to-go-wrong. I have
one other old device to monitor and it too has only an RS232 interface.
Thought I'd be clever and get a low power box with two RS232 ports.
On Friday, November 27, 2020 at 2:32:08 PM UTC+13 [email protected] wrote:
> Lots of good information here. I wish all users were as diligent.
>
> The results of stty show some small differences from mine. For example,
> you have -iexten (the dash means negation), while I have iexten, which
> means mine enables non-POSIX special characters and yours doesn't. That
> could matter. Most of the others have to do with echoing characters and
> translating CR/LF, etc. Some of them could also matter.
>
> Try setting it to "sane" values. This will basically force your values to
> mine.
>
> *stty sane -F /dev/ttyS0*
>
>
> Then try again. That's all I can think of.
>
> -tk
>
> On Thu, Nov 26, 2020 at 5:10 PM kiwigander <[email protected]> wrote:
>
>> The new machine is an XCY (that's the brand; bought on AliExpress)
>> fanless mini-PC, Celeron N4100 CPU, 8 GB RAM, 128 GB SSD, 2x gigabit
>> Ethernet, 2x RS232, 4x USB (looks like USB 2.0). Video is temporarily via
>> HDMI (once the server is set up, that will be disconnected); internet is
>> via Ethernet (unit has Wi-Fi built in but I have switched it off in Network
>> Manager); Apple keyboard is plugged into a USB port and Logitech M570
>> trackball communicates through Logi Unifying Receiver plugged into Apple
>> keyboard (again, once the server is set up, the keyboard will be
>> disconnected).
>>
>> New OS is Linux Mint 20. Output of uname -a is as follows:
>>
>> Linux XCY 5.4.0-54-generic #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020
>> x86_64 x86_64 x86_64 GNU/Linux
>>
>> Output of lsusb is as follows:
>>
>> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
>> Bus 001 Device 003: ID 05ac:024f Apple, Inc. Keyboard Hub
>> Bus 001 Device 002: ID 05ac:1006 Apple, Inc. Hub in Aluminum Keyboard
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>
>> Output of stty -a -F /dev/ttyS0 is as follows:
>>
>> speed 19200 baud; rows 0; columns 0; line = 0;
>> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
>> eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt
>> = ^R;
>> werase = ^W; lnext = ^V; discard = ^O; min = 0; time = 0;
>> -parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
>> -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
>> -ixoff
>> -iuclc -ixany -imaxbel -iutf8
>> -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
>> vt0 ff0
>> -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop
>> -echoprt
>> -echoctl -echoke -flusho -extproc
>>
>> Output of sudo cat /proc/tty/driver/serial (truncated after line 4 as
>> lines 4 through 31 are identical) is as follows:
>>
>> serinfo:1.0 driver revision:
>> 0: uart:16550A port:000003F8 irq:4 tx:610 rx:1151 fe:45 brk:33 DSR|CD|RI
>> 1: uart:16550A port:000002F8 irq:3 tx:0 rx:0 DSR|CD|RI
>> 2: uart:unknown port:000003E8 irq:4
>> 3: uart:unknown port:000002E8 irq:3
>> 4: uart:unknown port:00000000 irq:0
>>
>> The output of that command is just a snapshot. The first time I repeated
>> it, the tx:, rx: and fe: values did increment (635, 1166, 46, 45) so
>> something was trying to communicate through ttyS0. Now they seem to be
>> static.
>>
>> If human memory is correct, COM1=ttyS0=irq4 and COM2=ttyS1=irq3 since
>> forever, so the serial ports don't seem to be non-standard.
>>
>> I've looped the serial cable through a ferrite sleeve; no difference.
>>
>> Output of sudo tail -f /var/log/syslog on a fresh cold boot is as follows:
>>
>> Nov 27 11:40:52 XCY weewx[759] CRITICAL weewx.engine: ****
>> Vantage.__init__(self, **config_dict[DRIVER_NAME])
>> Nov 27 11:40:52 XCY weewx[759] CRITICAL weewx.engine: **** File
>> "/home/weewx/bin/weewx/drivers/vantage.py", line 515, in __init__
>> Nov 27 11:40:52 XCY weewx[759] CRITICAL weewx.engine: ****
>> self._setup()
>> Nov 27 11:40:52 XCY weewx[759] CRITICAL weewx.engine: **** File
>> "/home/weewx/bin/weewx/drivers/vantage.py", line 1330, in _setup
>> Nov 27 11:40:52 XCY weewx[759] CRITICAL weewx.engine: ****
>> self.altitude = self._getEEPROM_value(0x0F, "<h")[0]
>> Nov 27 11:40:52 XCY weewx[759] CRITICAL weewx.engine: **** File
>> "/home/weewx/bin/weewx/drivers/vantage.py", line 1398, in _getEEPROM_value
>> Nov 27 11:40:52 XCY weewx[759] CRITICAL weewx.engine: **** raise
>> weewx.RetriesExceeded("While getting EEPROM data value at address 0x%X" %
>> offset)
>> Nov 27 11:40:52 XCY weewx[759] CRITICAL weewx.engine: ****
>> weewx.RetriesExceeded: While getting EEPROM data value at address 0xF
>> Nov 27 11:40:52 XCY weewx[759] CRITICAL __main__: Unable to load driver:
>> While getting EEPROM data value at address 0xF
>> Nov 27 11:40:52 XCY weewx[759] CRITICAL __main__: **** Exiting...
>>
>> (everything after that seems to involve the NTP daemon)
>>
>> Now (after a lunch break) I've run sudo service weewx status and got the
>> following:
>>
>> Nov 27 12:31:30 XCY weewxd[4546]: weewx[4546] CRITICAL weewx.engine:
>> **** Vantage.__init__(self, **config_dict[DRIVER_NAME])
>> Nov 27 12:31:30 XCY weewxd[4546]: weewx[4546] CRITICAL weewx.engine:
>> **** File "/home/weewx/bin/weewx/drivers/vantage.py", line 515, in
>> __init__
>> Nov 27 12:31:30 XCY weewxd[4546]: weewx[4546] CRITICAL weewx.engine:
>> **** self._setup()
>> Nov 27 12:31:30 XCY weewxd[4546]: weewx[4546] CRITICAL weewx.engine:
>> **** File "/home/weewx/bin/weewx/drivers/vantage.py", line 1321, in
>> _setup
>> Nov 27 12:31:30 XCY weewxd[4546]: weewx[4546] CRITICAL weewx.engine:
>> **** self.hardware_type = self._determine_hardware()
>> Nov 27 12:31:30 XCY weewxd[4546]: weewx[4546] CRITICAL weewx.engine:
>> **** File "/home/weewx/bin/weewx/drivers/vantage.py", line 1312, in
>> _deter>
>> Nov 27 12:31:30 XCY weewxd[4546]: weewx[4546] CRITICAL weewx.engine:
>> **** raise weewx.WeeWxIOError("Unable to read hardware type")
>> Nov 27 12:31:30 XCY weewxd[4546]: weewx[4546] CRITICAL weewx.engine:
>> **** weewx.WeeWxIOError: Unable to read hardware type
>> Nov 27 12:31:30 XCY weewxd[4546]: weewx[4546] CRITICAL __main__: Unable
>> to load driver: Unable to read hardware type
>> Nov 27 12:31:30 XCY weewxd[4546]: weewx[4546] CRITICAL __main__:
>> **** Exiting...
>>
>> I'll try the other RS232 port.
>>
>>
>>
>> On Friday, November 27, 2020 at 10:33:36 AM UTC+13 vince wrote:
>>
>>> Serial ports will make you pull your hair out for sure...
>>>
>>> Lets start with figuring out what your box thinks it sees...
>>> Please post the output of:
>>>
>>> - lsusb
>>> - dmesg
>>> - syslog for the period after a clean powerdown/powerup until you
>>> see a login
>>>
>>> Also give us some details about:
>>>
>>> - your precise hardware config - what computer make+model etc.
>>> - which os+version you're running
>>>
>>> Also check out
>>> https://www.cyberciti.biz/faq/find-out-linux-serial-ports-with-setserial/
>>> for some other stuff to perhaps try.
>>>
>>> Does the new box have serial ports ? It might be worth thinking about a
>>> serial2usb adaptor as an alternate mechanism for hooking things up.
>>> Sometimes the few bucks for one is less than the value of your time and
>>> stress battling things....
>>>
>>> But if you have time, give us the details above so we can get more eyes
>>> on the problem...
>>>
>>> --
>> 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/2604bd6d-fd1e-46c4-9eb9-4dc0d7cc91b6n%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/weewx-user/2604bd6d-fd1e-46c4-9eb9-4dc0d7cc91b6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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/763f4d0a-dc1f-42f1-be15-3b45dc18266bn%40googlegroups.com.