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?