homebridge-weatherlink-cloud 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/config.schema.json +42 -0
  2. package/package.json +14 -14
@@ -0,0 +1,42 @@
1
+ {
2
+ "pluginAlias": "WeatherLinkCloud",
3
+ "pluginType": "platform",
4
+ "singular": true,
5
+ "headerDisplay": "Pulls current conditions from the WeatherLink v2 cloud API and exposes them to HomeKit. Get your API Key and Secret from the lower-left of your account page at weatherlink.com.",
6
+ "schema": {
7
+ "type": "object",
8
+ "properties": {
9
+ "name": {
10
+ "title": "Name",
11
+ "type": "string",
12
+ "default": "WeatherLink",
13
+ "required": true
14
+ },
15
+ "apiKey": {
16
+ "title": "API Key",
17
+ "description": "The v2 API key (sent as the api-key query parameter).",
18
+ "type": "string",
19
+ "required": true
20
+ },
21
+ "apiSecret": {
22
+ "title": "API Secret",
23
+ "description": "The v2 API secret (sent as the X-Api-Secret header).",
24
+ "type": "string",
25
+ "required": true
26
+ },
27
+ "stationId": {
28
+ "title": "Station ID",
29
+ "description": "Numeric station ID from GET /v2/stations.",
30
+ "type": "integer",
31
+ "required": true
32
+ },
33
+ "pollMinutes": {
34
+ "title": "Poll interval (minutes)",
35
+ "description": "Match your weatherlink.com tier: ~15 (free) or ~5 (Pro). Polling faster than the data refreshes just wastes API calls.",
36
+ "type": "integer",
37
+ "default": 15,
38
+ "minimum": 1
39
+ }
40
+ }
41
+ }
42
+ }
package/package.json CHANGED
@@ -1,31 +1,31 @@
1
1
  {
2
2
  "name": "homebridge-weatherlink-cloud",
3
3
  "displayName": "WeatherLink Cloud",
4
- "version": "0.1.0",
4
+ "version": "0.1.2",
5
5
  "description": "Exposes Davis WeatherLink (v2 cloud API) weather data to HomeKit via Homebridge.",
6
6
  "main": "index.js",
7
7
  "license": "MIT",
8
8
  "author": "YOUR NAME",
9
9
  "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/mediatecture/homebridge-weatherlink-cloud.git"
10
+ "type": "git",
11
+ "url": "git+https://github.com/mediatecture/homebridge-weatherlink-cloud.git"
12
12
  },
13
13
  "bugs": {
14
- "url": "https://github.com/mediatecture/homebridge-weatherlink-cloud/issues"
14
+ "url": "https://github.com/mediatecture/homebridge-weatherlink-cloud/issues"
15
15
  },
16
16
  "engines": {
17
- "homebridge": "^1.6.0 || ^2.0.0",
18
- "node": "^18 || ^20 || ^22"
17
+ "homebridge": "^1.6.0 || ^2.0.0",
18
+ "node": "^18 || ^20 || ^22"
19
19
  },
20
20
  "keywords": [
21
- "homebridge-plugin",
22
- "weatherlink",
23
- "davis",
24
- "vantage-vue",
25
- "weather"
21
+ "homebridge-plugin",
22
+ "weatherlink",
23
+ "davis",
24
+ "vantage-vue",
25
+ "weather"
26
26
  ],
27
27
  "files": [
28
- "index.js",
29
- "config.schema.json"
28
+ "index.js",
29
+ "config.schema.json"
30
30
  ]
31
- }
31
+ }