Weather Software > WeeWX Software

Can't Change Archive Interval

(1/2) > >>

currymac:
I just switched to a new Davis Vantage Pro2. I'm using one of Belfryboy's latest data loggers. Everything seems to work fine and I'm sending Rapidfire reports to Weather Underground (http://tinyurl.com/kgabbjv). My Weewx software is also sending updates to CWOPS and my own website, but CWOPS and my own website only get updated every 1800 seconds. I've issued the command to change the archive interval to 300 seconds but I get an error and it won't take the adjustment. I'm including the command line output for you to see. I've tried it twice with 2 different errors. Anyone have any idea what's going on?

Thanks in advance..

pi@raspberrypi /etc/weewx $ sudo wee_config_device --set-interval=300
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.0 (weewx.drivers.vantage)
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 1745, in do_options
    station = Vantage(**config_dict[DRIVER_NAME])
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 413, in __init__
    self._setup()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1081, in _setup
    self.port.wakeup_console(max_tries=self.max_tries, wait_before_retry=self.wait_before_retry)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 78, in wakeup_console
    raise weewx.WakeupError("Unable to wake up Vantage console")
weewx.WakeupError: Unable to wake up Vantage console
pi@raspberrypi /etc/weewx $ sudo wee_config_device --set-interval=300
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.0 (weewx.drivers.vantage)
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 1745, in do_options
    station = Vantage(**config_dict[DRIVER_NAME])
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 413, in __init__
    self._setup()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1087, in _setup
    unit_bits              = self._getEEPROM_value(0x29)[0]
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1171, in _getEEPROM_value
    raise weewx.RetriesExceeded("While getting EEPROM data value at address 0x%X" % offset)
weewx.RetriesExceeded: While getting EEPROM data value at address 0x29
pi@raspberrypi /etc/weewx $

nincehelser:

--- Quote from: currymac on March 25, 2015, 08:21:35 AM ---I just switched to a new Davis Vantage Pro2. I'm using one of Belfryboy's latest data loggers. Everything seems to work fine and I'm sending Rapidfire reports to Weather Underground (http://tinyurl.com/kgabbjv). My Weewx software is also sending updates to CWOPS and my own website, but CWOPS and my own website only get updated every 1800 seconds. I've issued the command to change the archive interval to 300 seconds but I get an error and it won't take the adjustment. I'm including the command line output for you to see. I've tried it twice with 2 different errors. Anyone have any idea what's going on?

Thanks in advance..

pi@raspberrypi /etc/weewx $ sudo wee_config_device --set-interval=300
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.0 (weewx.drivers.vantage)
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 1745, in do_options
    station = Vantage(**config_dict[DRIVER_NAME])
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 413, in __init__
    self._setup()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1081, in _setup
    self.port.wakeup_console(max_tries=self.max_tries, wait_before_retry=self.wait_before_retry)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 78, in wakeup_console
    raise weewx.WakeupError("Unable to wake up Vantage console")
weewx.WakeupError: Unable to wake up Vantage console
pi@raspberrypi /etc/weewx $ sudo wee_config_device --set-interval=300
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.0 (weewx.drivers.vantage)
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 1745, in do_options
    station = Vantage(**config_dict[DRIVER_NAME])
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 413, in __init__
    self._setup()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1087, in _setup
    unit_bits              = self._getEEPROM_value(0x29)[0]
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1171, in _getEEPROM_value
    raise weewx.RetriesExceeded("While getting EEPROM data value at address 0x%X" % offset)
weewx.RetriesExceeded: While getting EEPROM data value at address 0x29
pi@raspberrypi /etc/weewx $

--- End quote ---

I just noticed this post.  Did you ever get this solved?

To me it doesn't look like it has anything to do with setting the archive interval, but in communicating with the device.

Have you tried stopping weewx, making the change in weewx.config, and then restarting weewx?

N0NB:
I tried the config utility while the WeeWX daemon was running and it failed like yours above.  I stopped the daemon:

sudo service weewx stop

And then I was able to read the settings with the --info option and set the archive interval to 60S.

HTH.

currymac:
I finally reinstalled Weewx, yet again, and now have everything up and running properly... until the next time I do an update. It always seems to be the updates that trip me up! They scare the hell out of me now.  :lol:

N0NB:
Certainly, one has to treat updates with a bit of caution.  That said, the archive interval shouldn't be changed by an update as I understand it as the utility needs to be specifically run to change the archive interval in the Vantage Pro2.

A year ago I installed WeeWX from the tar.gz package but this time on the Pi I chose to use the .deb package and it was quite a bit easier.  Rather than use the old 2.7.x config file I simply edited the relevant portions of the 3.1 config file and it all worked well.  Dealing with a lot of this stuff is probably made easier by nearly 19 years of experience with Linux and almost 16 with Debian, upon which Raspbian is based.

Navigation

[0] Message Index

[#] Next page

Go to full version