Skip to content

Commit

Permalink
Merge pull request #2 from mcrossley/master
Browse files Browse the repository at this point in the history
B0349 - Adds Windy.com
  • Loading branch information
mcrossley authored Apr 24, 2019
2 parents ee7f0bf + 3cc7278 commit 3d26cc3
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
25 changes: 25 additions & 0 deletions interface/json/InternetOptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,31 @@
}
}
},
"windy": {
"collapsed": "true",
"fields": {
"enabled": {
"rightLabel": "Enabled"
},
"includeuv": {
"rightLabel": "Include UV",
"helper": "Include UV index in the update"
},
"catchup": {
"rightLabel": "Catch up",
"helper": "When Cumulus starts, send each entry read from the station logger"
},
"interval": {
"helper": "Interval in minutes between updates (min value = 5)."
},
"apikey": {
"helper": "This is a very long string and is used for all your Windy.com stations"
},
"stationidx": {
"helper": "Defines which station to upload to. The first station you define is 0 (default), the next 1 etc."
}
}
},
"pwsweather": {
"collapsed": "true",
"fields": {
Expand Down
29 changes: 29 additions & 0 deletions interface/json/InternetSchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,35 @@
}
}
},
"windy": {
"title": "Windy.com",
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"includeuv": {
"type": "boolean"
},
"catchup": {
"type": "boolean"
},
"stationidx": {
"title": "Station Index",
"type": "integer",
"minimum": 0,
"maximum": 9
},
"apikey": {
"title": "API Key"
},
"interval": {
"title": "Interval",
"type": "integer",
"minimum": 5
}
}
},
"pwsweather": {
"title": "PWS Weather",
"type": "object",
Expand Down

0 comments on commit 3d26cc3

Please sign in to comment.