Page 1 of 1

Davis Weatherlink Console history data not loaded

Posted: Thu 28 Mar 2024 7:52 am
by jkoskela
I've recently purchased the new Davis Vantage Pro 2 station with the Weatherlink Console (6313). I've tried to CumulusMX (3.28.6 build 3283) to download historic data, but no matter what I do I always get message "No historic data available" after the data was downloaded. I used the -debug parameter and discovered that it did download data but doesn't seem to process it.

I checked the Cumulus code, and I think the problem is the sanity check that is done for the downloaded data:

Code: Select all

			// Find the WLL baro, or internal temp/hum sensors
			if (histObj.sensors[i].sensor_type == 242 && histObj.sensors[i].data_structure_type == 13)
			{
				var recs = histObj.sensors[i].data.Count;
				if (recs > noOfRecs)
				{
					noOfRecs = recs;
					idxOfSensorWithMostRecs = i;
				}
			}
I think the problem here is the data_structure_type. According to Davis documentation (https://weatherlink.github.io/v2-api/da ... ture-types) the type 13 is for WeatherLink Live console, which is different from the WeatherLink Console that comes with the Vantage Pro stations nowadays. I checked the api response from WLL when loading history data from my station and it does have this:

Code: Select all

    {
      "lsid": 710469,
      "data": [{},{},...],
      "sensor_type": 242,
      "data_structure_type": 20
    }
Is there anything I could do to get the data recognized correctly and loaded into history?

Re: Davis Weatherlink Console history data not loaded

Posted: Thu 28 Mar 2024 8:21 am
by freddie
Could you please zip up the contents of the MXdiags folder of your installation and attach it to a reply to this topic. We can see what's going on then.

Re: Davis Weatherlink Console history data not loaded

Posted: Thu 28 Mar 2024 9:30 am
by jkoskela
Would it be enough to zip the one log file (20240328-084821.txt) when I had debug on and where it attempted to load history data for one week?

Re: Davis Weatherlink Console history data not loaded

Posted: Thu 28 Mar 2024 9:35 am
by jkoskela
Oh, I forgot to mention the JSON data I pasted in the message from the API response has been shortened to not include the array of real values. I've edited the original post.

Re: Davis Weatherlink Console history data not loaded

Posted: Thu 28 Mar 2024 10:51 am
by mcrossley
Thanks for the report.

That sanity check does need updating, but there are also missing decodes for the WLC archive records of baro, internal T/H, soil/leaf.

The v4 Beta has been updated to make these changes, I intend to release that v. soon. I'm not sure when the next v3 release will be made.

Re: Davis Weatherlink Console history data not loaded

Posted: Thu 28 Mar 2024 1:44 pm
by jkoskela
Here is the content of MXdiags. This contains two attempts to load history data, one as station type Davis Cloud (WLL/WLC), and the other as Davis Cloud (VP2).
mxdiags.zip