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. https://raw.githubusercontent.com/weewx/weewx/V5/bin/weewx/drivers/vantage.py -tk On Thu, May 25, 2023 at 4:29 PM F Y <[email protected]> wrote: > 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? > > -- > 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/50a1c9f7-2dbb-4e6f-b9a3-ec65dba4e67cn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/50a1c9f7-2dbb-4e6f-b9a3-ec65dba4e67cn%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/CAPq0zED7sAgZdeYwkzhRYkjeczNo7%3D9AeVp2-5F1AB_BkfkgBg%40mail.gmail.com.
