From 2461c72e0417518579c8fccec61b02a5c4e4d171 Mon Sep 17 00:00:00 2001 From: Mark Crossley Date: Tue, 18 Feb 2020 22:31:13 +0000 Subject: [PATCH] b6064 updates --- interface/json/StationOptions.json | 14 ++++++++++++++ interface/json/StationSchema.json | 16 ++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/interface/json/StationOptions.json b/interface/json/StationOptions.json index b719d69..28f4162 100644 --- a/interface/json/StationOptions.json +++ b/interface/json/StationOptions.json @@ -83,6 +83,20 @@ "daviswll": { "collapsed": true, "fields": { + "api": { + "collapsed": true, + "fields": { + "apiKey": { + "helper": "Enter your WeatherLink.com APIv2 key" + }, + "apiSecret": { + "helper": "Enter your WeatherLink.com APIv2 secret" + }, + "apiStationId": { + "helper": "Enter the station id used for your WLL device in the WeatherLink.com APIv2" + } + } + }, "primary": { "collapsed": true, "fields": { diff --git a/interface/json/StationSchema.json b/interface/json/StationSchema.json index ec3256a..c2148da 100644 --- a/interface/json/StationSchema.json +++ b/interface/json/StationSchema.json @@ -96,6 +96,22 @@ "title": "Davis WeatherLink Live", "type": "object", "properties": { + "api": { + "title": "WeatherLink.com API details", + "type": "object", + "properties": { + "apiKey": { + "title": "WeatherLink APIv2 key" + }, + "apiSecret": { + "title": "WeatherLink APIv2 secret" + }, + "apiStationId": { + "title": "WLL device id on WeatherLink APIv2", + "type": "integer" + } + } + }, "primary": { "title": "Primary Sensors", "type": "object",