Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Is WD Software WeeWX compatible?
#14

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.
Reply


Messages In This Thread
Is WD Software WeeWX compatible? - by hvalentim - 29-01-2015, 16:24
RE: Is WD Software WeeWX compatible? - by uncle_bob - 29-01-2015, 21:52
RE: Is WD Software WeeWX compatible? - by werk_ag - 29-01-2015, 22:30
RE: Is WD Software WeeWX compatible? - by hvalentim - 29-01-2015, 22:52
RE: Is WD Software WeeWX compatible? - by werk_ag - 29-01-2015, 23:08
RE: Is WD Software WeeWX compatible? - by hvalentim - 30-01-2015, 01:46
RE: Is WD Software WeeWX compatible? - by werk_ag - 30-01-2015, 03:56
RE: Is WD Software WeeWX compatible? - by hvalentim - 30-01-2015, 11:34
RE: Is WD Software WeeWX compatible? - by werk_ag - 30-01-2015, 14:57
RE: Is WD Software WeeWX compatible? - by werk_ag - 31-01-2015, 21:47
RE: Is WD Software WeeWX compatible? - by werk_ag - 01-02-2015, 17:48
RE: Is WD Software WeeWX compatible? - by hvalentim - 24-04-2015, 12:49
RE: Is WD Software WeeWX compatible? - by werk_ag - 24-04-2015, 23:01
RE: Is WD Software WeeWX compatible? - by hvalentim - 29-04-2015, 23:00
RE: Is WD Software WeeWX compatible? - by werk_ag - 01-05-2015, 03:55
RE: Is WD Software WeeWX compatible? - by werk_ag - 01-05-2015, 04:32
RE: Is WD Software WeeWX compatible? - by hvalentim - 01-05-2015, 04:50
RE: Is WD Software WeeWX compatible? - by werk_ag - 01-05-2015, 23:07
RE: Is WD Software WeeWX compatible? - by werk_ag - 02-05-2015, 02:28
RE: Is WD Software WeeWX compatible? - by hvalentim - 05-05-2015, 20:38
RE: Is WD Software WeeWX compatible? - by werk_ag - 05-05-2015, 21:13
RE: Is WD Software WeeWX compatible? - by hvalentim - 05-05-2015, 22:17
RE: Is WD Software WeeWX compatible? - by werk_ag - 05-05-2015, 23:39
RE: Is WD Software WeeWX compatible? - by hvalentim - 16-05-2015, 00:07
RE: Is WD Software WeeWX compatible? - by werk_ag - 16-05-2015, 01:40
RE: Is WD Software WeeWX compatible? - by hvalentim - 16-05-2015, 12:02
RE: Is WD Software WeeWX compatible? - by werk_ag - 16-05-2015, 16:59
RE: Is WD Software WeeWX compatible? - by hvalentim - 16-05-2015, 17:32
RE: Is WD Software WeeWX compatible? - by werk_ag - 16-05-2015, 20:29
RE: Is WD Software WeeWX compatible? - by hvalentim - 16-05-2015, 22:48
RE: Is WD Software WeeWX compatible? - by werk_ag - 17-05-2015, 01:27
RE: Is WD Software WeeWX compatible? - by hvalentim - 17-05-2015, 01:53
RE: Is WD Software WeeWX compatible? - by werk_ag - 17-05-2015, 02:12
RE: Is WD Software WeeWX compatible? - by hvalentim - 17-05-2015, 02:23
RE: Is WD Software WeeWX compatible? - by werk_ag - 17-05-2015, 03:11
RE: Is WD Software WeeWX compatible? - by hvalentim - 22-05-2015, 13:10
RE: Is WD Software WeeWX compatible? - by werk_ag - 22-05-2015, 22:55
RE: Is WD Software WeeWX compatible? - by mikeyk - 23-08-2018, 04:27
RE: Is WD Software WeeWX compatible? - by hornychz - 23-08-2018, 07:22
RE: Is WD Software WeeWX compatible? - by Derek - 23-08-2018, 10:47
RE: Is WD Software WeeWX compatible? - by mikeyk - 23-08-2018, 12:55
RE: Is WD Software WeeWX compatible? - by Derek - 23-08-2018, 16:01
RE: Is WD Software WeeWX compatible? - by werk_ag - 23-08-2018, 22:11



Users browsing this thread: 1 Guest(s)