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",