I'm using ye olde Davis Vantage Pro classico with an old firmware version.
I snooped some of the network traffic, and it looks like the plugin is using the top level sites.json, and then follows the value listed in the uri field of the response, not the uri_v2.
Here's sites.json:
Code: Select all
{
"software": {"name": "WeatherSnoop 3","version": "3.1.1 (764)"},
"sites": [
{
"siteDocument": "file://localhost/Users/housebot/Documents/My%20Davis%20Weather%20Station.wssite/",
"agentName": "Davis Weather Station",
"uri": "http://hausu.home.geoffdavis.com:8000/F81F5A9C-2481-4B3E-A3CA-8F60FEB660B3.json",
"uri_v2": "http://hausu.home.geoffdavis.com:8000/F81F5A9C-2481-4B3E-A3CA-8F60FEB660B3_v2.json"
}
]
}
And here's the content of the JSON shown in the "uri" (not uri_v2). Searching for "direction" yields two items. "tenMinuteWindGustDirection" has value -9999.0, "windDirection" has value 306.
Code: Select all
{
"software": {"name": "WeatherSnoop 3","version": "3.1.1 (764)"}, "site": {
"time": "2015-05-20 21:15:34 -0700", "name": "Normal Heights Central",
"location": "Normal Heights, San Diego, CA, USA",
"longitude": "-117.117904",
"latitude": "32.767039",
"elevation": "412 feet",
"agent": "Davis Weather Station",
"uri": "http://hausu.home.geoffdavis.com:8000/F81F5A9C-2481-4B3E-A3CA-8F60FEB660B3.json",
"properties": {
[SNIP]
,"tenMinuteWindGustDirection": {
"name": "10 Minute Wind Gust Direction",
"type": "Direction",
"time": "2015-02-21 08:00:55 -0800",
"unit": "deg",
"values": [
{
"type": "float",
"unit": "deg",
"label": "Degrees",
"value": "-9999.0"
}
],
"minValueToday": {
"time": "2015-05-20 00:00:00 -0700",
"values": [
{
"type": "float",
"unit": "deg",
"label": "Degrees",
"value": "-9999.0"
}
]
},
"maxValueToday": {
"time": "2015-05-20 00:00:00 -0700",
"values": [
{
"type": "float",
"unit": "deg",
"label": "Degrees",
"value": "-9999.0"
}
]
}
}
[SNIP]
,"windDirection": {
"name": "Wind Direction",
"type": "Direction",
"time": "2015-05-20 17:12:32 -0700",
"unit": "deg",
"values": [
{
"type": "int",
"unit": "deg",
"label": "Degrees",
"value": "306"
}
],
"minValueToday": {
"time": "2015-05-20 15:58:57 -0700",
"values": [
{
"type": "int",
"unit": "deg",
"label": "Degrees",
"value": "174"
}
]
},
"maxValueToday": {
"time": "2015-05-20 16:40:15 -0700",
"values": [
{
"type": "int",
"unit": "deg",
"label": "Degrees",
"value": "335"
}
]
}
}
[SNIP]