Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Davis Vantage Pro Issue with 3.9.5 b3100

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

buffaloseven
Posts: 28
Joined: Thu 06 Oct 2016 7:40 am
Weather Station: Davis Vantage Pro
Operating System: macOS 11.1
Location: Winnipeg, Manitoba

Re: Davis Vantage Pro Issue with 3.9.5 b3100

Post by buffaloseven »

Attached is the new log. You can see where I disabled 1 minute barometer updates at Line 625. After that, as far as I can see, all the problems disappear. It's been running for almost an hour now without losing its data stream (which it never made it 35 minutes before).

Has anything changed with the 1 minute barometer stuff since b3086?
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 12697
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Davis Vantage Pro Issue with 3.9.5 b3100

Post by mcrossley »

buffaloseven wrote: Tue 19 Jan 2021 7:11 pm Has anything changed with the 1 minute barometer stuff since b3086?
It's not changed - other than reconnecting on error now - for years afaik!

I'm not even sure what the BARREAD command does, it is not documented by Davis, and I cannot find any real reference to it anywhere. Anyone?
freddie
Posts: 2435
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Davis Vantage Pro Issue with 3.9.5 b3100

Post by freddie »

mcrossley wrote: Thu 21 Jan 2021 4:05 pmI'm not even sure what the BARREAD command does, it is not documented by Davis, and I cannot find any real reference to it anywhere. Anyone?
AIUI older Vantage Pros used to internally update their pressure reading once every 15 minutes. The BARREAD command forces an internal update.
Freddie
Image
buffaloseven
Posts: 28
Joined: Thu 06 Oct 2016 7:40 am
Weather Station: Davis Vantage Pro
Operating System: macOS 11.1
Location: Winnipeg, Manitoba

Re: Davis Vantage Pro Issue with 3.9.5 b3100

Post by buffaloseven »

Yeah, the best I could find was code in Perl:

Code: Select all

sub read_bar {
sub read_bar {
  wake_up();
  put_string($fd, "BARREAD\n");
  @data = ();
  $index = 0;
  $old_bar = $bar;
  my $lines = 0;
  eval{
    alarm(3);  # 3 second timeout
    while($index < 13){
      $data[$index] = get_char($fd);
      $index++;
    };
    alarm(0);
  };
Also has some code to manage the time-out to retry, and some code to handle an unexpected response. Could there have been any changes to string handling that might mess up an unexpected response?
User avatar
mcrossley
Posts: 12697
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Davis Vantage Pro Issue with 3.9.5 b3100

Post by mcrossley »

I'll try sending the command to my VP2 consoles with a terminal emulator and see what happens...
buffaloseven
Posts: 28
Joined: Thu 06 Oct 2016 7:40 am
Weather Station: Davis Vantage Pro
Operating System: macOS 11.1
Location: Winnipeg, Manitoba

Re: Davis Vantage Pro Issue with 3.9.5 b3100

Post by buffaloseven »

If there's any way I can help with my VP (original) console, let me know!
Post Reply