Communication error on Terminal with Davis Vantage Pro 2

58 views
Skip to first unread message

Geni

unread,
Jan 1, 2020, 4:34:18 AM1/1/20
to weewx-user
Why do I usually get this error on the console?
After the second or third attempt the info is listed?

sudo wee_device --info
Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.1.1 (weewx.drivers.vantage)
Unable to wake up console... sleeping
Unable to wake up console... retrying
Traceback (most recent call last):
  File "/usr/bin/wee_device", line 66, in <module>
    main()
  File "/usr/bin/wee_device", line 62, in main
    device.configure(config_dict)
  File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure
    self.do_options(options, parser, config_dict, prompt)
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1973, in do_options
    station = Vantage(**config_dict[DRIVER_NAME])
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 488, in __init__
    self._setup()
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1290, in _setup
    unit_bits              = self._getEEPROM_value(0x29)[0]
  File "/usr/share/weewx/weewx/drivers/vantage.py", line 1376, 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

syslog:
Jan  1 09:23:45 Wetter-Raspi weewx[3001]: vantage: SerialException on read.
Jan  1 09:23:45 Wetter-Raspi weewx[3001]:    ****  device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Jan  1 09:23:45 Wetter-Raspi weewx[3001]:    ****  Is there a competing process running??
Jan  1 09:23:45 Wetter-Raspi weewx[3001]: vantage: LOOP try #1; error: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Jan  1 09:23:45 Wetter-Raspi weewx[3001]: vantage: Requesting 200 LOOP packets.
Jan  1 09:23:49 Wetter-Raspi weewx[3001]: vantage: Retry  #0 failed
Jan  1 09:23:49 Wetter-Raspi wee_device[6419]: vantage: No <ACK> received from console
Jan  1 09:23:49 Wetter-Raspi weewx[3001]: vantage: Rude wake up of console successful
Jan  1 09:23:49 Wetter-Raspi weewx[3001]: vantage: No <ACK> received from console
Jan  1 09:23:49 Wetter-Raspi weewx[3001]: vantage: LOOP try #2; error: No <ACK> received from Vantage console
Jan  1 09:23:49 Wetter-Raspi weewx[3001]: vantage: Requesting 200 LOOP packets.
Jan  1 09:23:49 Wetter-Raspi wee_device[6419]: vantage: No <ACK> received from console
Jan  1 09:23:51 Wetter-Raspi weewx[3001]: vantage: Retry  #0 failed
Jan  1 09:23:51 Wetter-Raspi weewx[3001]: vantage: SerialException on read.
Jan  1 09:23:51 Wetter-Raspi weewx[3001]:    ****  device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Jan  1 09:23:51 Wetter-Raspi weewx[3001]:    ****  Is there a competing process running??
Jan  1 09:23:51 Wetter-Raspi weewx[3001]: vantage: Retry  #1 failed
Jan  1 09:23:55 Wetter-Raspi weewx[3001]: vantage: Retry  #2 failed
Jan  1 09:23:55 Wetter-Raspi wee_device[6419]: vantage: SerialException on read.
Jan  1 09:23:55 Wetter-Raspi wee_device[6419]:    ****  device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Jan  1 09:23:55 Wetter-Raspi wee_device[6419]:    ****  Is there a competing process running??
Jan  1 09:23:56 Wetter-Raspi weewx[3001]: vantage: Retry  #3 failed
Jan  1 09:23:56 Wetter-Raspi weewx[3001]: vantage: Unable to wake up console
Jan  1 09:23:56 Wetter-Raspi weewx[3001]: vantage: LOOP try #3; error: Unable to wake up Vantage console
Jan  1 09:23:56 Wetter-Raspi weewx[3001]: vantage: Requesting 200 LOOP packets.
Jan  1 09:23:56 Wetter-Raspi wee_device[6419]: vantage: Unable to pass CRC16 check while getting data
Jan  1 09:23:56 Wetter-Raspi wee_device[6419]: vantage: Max retries exceeded while getting EEPROM data at address 0x29

Regards
Geni
Message has been deleted

gjr80

unread,
Jan 1, 2020, 6:28:58 AM1/1/20
to weewx-user
You need to stop WeeWX before running wee_device - according to the log extract you posted both WeeWX and wee_device are competing to talk to the console. wee_device happens to work sometimes if it tries to communicate with the console when WeeWX is not.

Gary

Geni

unread,
Jan 1, 2020, 10:01:16 AM1/1/20
to weewx-user
Yes, that's how it works without mistakes, thank you.
Is this in the documentation, or do you just know this?
Regards,
Geni

Thomas Keffer

unread,
Jan 1, 2020, 10:29:48 AM1/1/20
to weewx-user
If you look in the logs, you'll see:

Jan  1 09:23:51 Wetter-Raspi weewx[3001]:    ****  Is there a competing process running??
--
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/a5e8167e-0d2a-4098-a629-b38cc1931b44%40googlegroups.com.

Geni

unread,
Jan 1, 2020, 11:07:21 AM1/1/20
to weewx-user
It's clear now. But this says weewx and means itself!


Am Mittwoch, 1. Januar 2020 10:34:18 UTC+1 schrieb Geni:
kaffee.gif
Reply all
Reply to author
Forward
0 new messages