Page 1 of 1

Davis Station not downloading historic logger data in b3088

Posted: Wed 22 Jul 2020 1:16 pm
by Dinant
After stopping MX for 10 minutes the historic data is not downloaded.
I'm using a Davis Vantage Pro 2 in combination with an Weather Envoy.

Re: Davis Station not downloading historic logger data in b3088

Posted: Wed 22 Jul 2020 1:23 pm
by Dinant
In the past this feature was working fine but in b3087 and b3088 it isn't. I don't know exactly when it went wrong.

Part of the monthly logfile:

Code: Select all

22-07-20;12:08;18.5;60;10.6;3.2;8.0;265;0.0;0.0;1024.62;299.2;25.1;45;4.8;18.5;18.5;0.0;0;0.00;0.00;18.1;794;0.0;321;0.0;0.0;18.5
22-07-20;12:09;18.4;60;10.5;3.2;8.0;280;0.0;0.0;1024.62;299.2;25.1;45;6.4;18.4;18.4;0.0;0;0.00;0.00;18.0;795;0.0;269;0.0;0.0;18.4
22-07-20;12:10;18.4;60;10.5;4.8;9.7;288;0.0;0.0;1024.65;299.2;25.1;44;0.0;18.4;18.4;0.0;0;0.00;0.00;17.7;796;0.0;277;0.0;0.0;18.3
22-07-20;12:20;18.3;62;10.9;1.6;1.6;246;0.0;0.0;1024.65;299.2;25.1;42;1.6;18.3;18.3;0.0;0;0.00;0.00;18.3;808;0.0;246;0.0;0.0;18.6
22-07-20;12:21;18.3;62;10.9;1.6;6.4;297;0.0;0.0;1024.59;299.2;25.1;42;4.8;18.3;18.3;0.0;0;0.00;0.00;18.3;809;0.0;319;0.0;0.0;18.6
22-07-20;12:22;18.3;61;10.6;1.6;6.4;316;0.0;0.0;1024.59;299.2;25.1;42;6.4;18.3;18.3;0.0;0;0.00;0.00;18.2;810;0.0;289;0.0;0.0;18.5

Re: Davis Station not downloading historic logger data in b3088

Posted: Wed 22 Jul 2020 1:28 pm
by mcrossley
Please start Cumulus using the "-debug" command line parameter, then zip up the MXdiags folder and post it here. Thanks.

Re: Davis Station not downloading historic logger data in b3088

Posted: Wed 22 Jul 2020 2:07 pm
by Dinant
In the MXdiags file it says:

2020-07-22 15:45:35.111 No historic data available

Strange.
Now I realize I've changed my config recently. My Weather Envoy got stuck after updating the firmware. I put the datalogger in my Davis console.
Is there no logging available when the datalogger is connected to the Davis console?
Attached the log file.

Look also at the end of the logfile. After pressing Control-C an error is being raised!

Re: Davis Station not downloading historic logger data in b3088

Posted: Wed 22 Jul 2020 2:12 pm
by mcrossley
When you moved the logger, did you set the logging interval on the console to match the interval you have set in MX? It will default to 30 minutes.

Re: Davis Station not downloading historic logger data in b3088

Posted: Wed 22 Jul 2020 2:15 pm
by Dinant
mcrossley wrote: Wed 22 Jul 2020 2:12 pm When you moved the logger, did you set the logging interval on the console to match the interval you have set in MX? It will default to 30 minutes.

No i didn't. How do I set the logging interval on the console?

Re: Davis Station not downloading historic logger data in b3088

Posted: Wed 22 Jul 2020 2:40 pm
by mcrossley
You can use the WeatherLink software if you have it, or use a terminal emulator connected to the logger and use the "SETPER xx" command where xx is the log interval in minutes.

Re: Davis Station not downloading historic logger data in b3088

Posted: Wed 22 Jul 2020 3:04 pm
by Dinant
mcrossley wrote: Wed 22 Jul 2020 2:40 pm You can use the WeatherLink software if you have it, or use a terminal emulator connected to the logger and use the "SETPER xx" command where xx is the log interval in minutes.
I managed to set the archive interval to 1 min. Now Cumulus is downloading the data for the missing minutes.
Thanks for your help.

The exception when you close Cumulus with Ctrl-C is still there.

Re: Davis Station not downloading historic logger data in b3088

Posted: Wed 22 Jul 2020 3:12 pm
by Dinant
During the start of Cumulus I see the following text on the console:

Code: Select all

Current culture: Dutch (Netherlands)
Cumulus MX v.3.6.12 build 3088
Today.ini = data\today.ini
Last update=2020-07-22T16:53:00
Connected to station
Cumulus running at: http://*:8998/
  (Replace * with any IP address on this machine, or localhost)
  Open the admin interface by entering this URL in a browser.
22-07-2020 17:04:57
Type Ctrl-C to terminate
Downloading Archive Data
 - processed 100 %
Downloading Archive Data
 - processed 100 %
Connecting real time FTP
Normal running
Why are the following lines printed twice?

Downloading Archive Data
- processed 100 %
Downloading Archive Data
- processed 100 %

Re: Davis Station not downloading historic logger data in b3088

Posted: Wed 22 Jul 2020 3:34 pm
by mcrossley
Because the download process can take a long time, and on slow devices (pi zero) can timeout during the rollover processing, or a new entry be added. So it runs the process until there is no more history found.