It would seem that performing a connection with
Code:
minicom --baudrate 19200 --device /dev/ttyUSB0
and typing some stuff such as TEST, LOOP etc...
somehow helps getting past the "unable to wake-up console" issue.
I can then get this (notice the "TypeError: format requires a mapping" in the end):
Code:
wee_config_device --info
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.0 (weewx.drivers.vantage)
Querying...
Davis Vantage EEPROM settings:
CONSOLE TYPE: VantagePro2
CONSOLE FIRMWARE:
Date: Sep 29 2009
Version: 1.90
CONSOLE SETTINGS:
Archive interval: 0 (seconds)
Altitude: 0 (foot)
Wind cup type: small
Rain bucket type: 0.01 inches
Rain year start: 0
Onboard time: 2015-04-29 22:54:39
CONSOLE DISPLAY UNITS:
Barometer: inHg
Temperature: degree_F
Rain: inch
Wind: mile_per_hour
CONSOLE STATION INFO:
Latitude (onboard): +0.0
Longitude (onboard): +0.0
Use manual or auto DST? AUTO
DST setting: N/A
Use GMT offset or zone code? ZONE_CODE
Time zone code: 0
GMT offset: N/A
TRANSMITTERS:
Channel 1: iss
Channel 2: iss
Channel 3: iss
Channel 4: iss
Channel 5: iss
Channel 6: iss
Channel 7: iss
Channel 8: iss
Traceback (most recent call last):
File "/usr/bin/wee_config_device", line 43, in <module>
main()
File "/usr/bin/wee_config_device", line 40, in main
device.configure(config_dict)
File "/usr/share/weewx/weewx/drivers/__init__.py", line 65, in configure
self.do_options(options, parser, config_dict, prompt)
File "/usr/share/weewx/weewx/drivers/vantage.py", line 1747, in do_options
self.show_info(station)
File "/usr/share/weewx/weewx/drivers/vantage.py", line 1909, in show_info
Outside Humidity: %(outHumid)+.0f%%""" % calibration_dict
TypeError: format requires a mapping
Also from this it would seem that it's failing while starting to make sense of the loop data:
Code:
# tail -f /var/log/syslog Apr 29 22:55:59 Cloud weewx[9492]: **** File "/usr/share/weewx/weewx/engine.py", line 631, in _catchup
Apr 29 22:55:59 Cloud weewx[9492]: **** for record in generator(lastgood_ts):
Apr 29 22:55:59 Cloud weewx[9492]: **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 543, in genArchiveRecords
Apr 29 22:55:59 Cloud weewx[9492]: **** _record = self._unpackArchivePacket(_record_string)
Apr 29 22:55:59 Cloud weewx[9492]: **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 1295, in _unpackArchivePacket
Apr 29 22:55:59 Cloud weewx[9492]: **** self.iss_id, raw_archive_packet['number_of_wind_samples'])
Apr 29 22:55:59 Cloud weewx[9492]: **** File "/usr/share/weewx/weewx/drivers/vantage.py", line 1384, in _rxcheck
Apr 29 22:55:59 Cloud weewx[9492]: **** _frac = number_of_wind_samples * 100.0 / _expected_packets
Apr 29 22:55:59 Cloud weewx[9492]: **** ZeroDivisionError: float division by zero
Apr 29 22:55:59 Cloud weewx[9492]: **** Exiting.
I know zero about Python myself I am afraid.