wee_device --info not complete, KeyError; 1

123 views
Skip to first unread message

F Y

unread,
May 25, 2023, 7:29:44 PM5/25/23
to weewx-user
Davis Vantage Pro 2 with Envoy data logger on weewx 4.10.2 

Running "wee_device --info" responds with:

Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.5.2 (weewx.drivers.vantage)
Querying...
Davis Vantage EEPROM settings:
   
    CONSOLE TYPE:                   Vantage Pro2
   
    CONSOLE FIRMWARE:
      Date:                         Nov 12 2019
      Version:                      3.88
   
    CONSOLE SETTINGS:
      Archive interval:             1800 (seconds)
      Altitude:                     5600 (foot)
      Wind cup type:                large
      Rain bucket type:             0.01 inches
      Rain year start:              1
      Onboard time:                 2023-05-25 17:06:34
     
    CONSOLE DISPLAY UNITS:
      Barometer:                    inHg
      Temperature:                  degree_F
      Rain:                         inch
      Wind:                         mile_per_hour
     
    CONSOLE STATION INFO:
      Latitude (onboard):           +37.6
      Longitude (onboard):          -122.1
      Use manual or auto DST?       AUTO
      DST setting:                  N/A
      Use GMT offset or zone code?  GMT_OFFSET
      Time zone code:               N/A
      GMT offset:                   -8.0 hours
      Temperature logging:          LAST
      Retransmit channel:           OFF (0)
       
Traceback (most recent call last):
  File "/usr/share/weewx/wee_device", line 76, in <module>
    main()
  File "/usr/share/weewx/wee_device", line 72, in main
    device.configure(config_dict)
  File "/usr/share/weewx/weewx/drivers/__init__.py", line 67, in configure
    self.do_options(options, parser, config_dict, not options.noprompt)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2157, in do_options
    self.show_info(station)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2281, in show_info
    transmitter_list = station.getStnTransmitters()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1289, in getStnTransmitters
    'repeater' : Vantage.repeater_dict[repeater_id],
KeyError: 1

I'm trying to add some new sensors but can't get the "info" to give me the current transmitter settings.  The Traceback and "File..." and "KeyError" are concerning 

What could be the problem?

Tom Keffer

unread,
May 25, 2023, 8:35:59 PM5/25/23
to weewx...@googlegroups.com
There have been several problems with reading and setting the Vantage firmware. The V5 driver fixes a lot of these. 

I'm not 100% sure, but I think you should be able to just swap out your V4.x driver for the V5 driver and it will work. Give it a try, but be sure to save your old driver.


-tk

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/50a1c9f7-2dbb-4e6f-b9a3-ec65dba4e67cn%40googlegroups.com.

F Y

unread,
May 27, 2023, 12:17:01 PM5/27/23
to weewx-user
The V5 Vantage driver solved the problem!  A straight swap-out of the old one worked fine.
FY

Reply all
Reply to author
Forward
0 new messages