homebridge-garagedooropenercloud 1.2.0 → 1.2.1
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.
- package/config.schema.json +5 -10
- package/package.json +1 -1
- package/config.sample.json +0 -18
package/config.schema.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"description": "Device ID from Shelly App → Settings → Cloud → Advanced"
|
|
19
19
|
},
|
|
20
20
|
"authKey": {
|
|
21
|
-
"title": "Shelly Auth Key",
|
|
21
|
+
"title": "Shelly Auth Key",
|
|
22
22
|
"type": "string",
|
|
23
23
|
"required": true,
|
|
24
24
|
"description": "Auth Key from Shelly App → Profile"
|
|
@@ -37,19 +37,14 @@
|
|
|
37
37
|
},
|
|
38
38
|
"statusCloudURL": {
|
|
39
39
|
"title": "Cloud Status URL",
|
|
40
|
-
"type": "string",
|
|
40
|
+
"type": "string",
|
|
41
41
|
"default": "https://shelly-38-eu.shelly.cloud/device/status",
|
|
42
42
|
"description": "Shelly Cloud status endpoint"
|
|
43
43
|
},
|
|
44
|
-
|
|
45
|
-
"title": "Status Key",
|
|
46
|
-
"type": "string",
|
|
47
|
-
"default": "$.data["input:0"].state",
|
|
48
|
-
"description": "JSONPath for door sensor"
|
|
49
|
-
},
|
|
44
|
+
"statusKey": {
|
|
50
45
|
"title": "Status Key",
|
|
51
46
|
"type": "string",
|
|
52
|
-
"default": "
|
|
47
|
+
"default": "$.data[\"input:0\"].state",
|
|
53
48
|
"description": "JSONPath for door sensor (input:0.state for Shelly)"
|
|
54
49
|
},
|
|
55
50
|
"statusValueOpen": {
|
|
@@ -60,7 +55,7 @@
|
|
|
60
55
|
},
|
|
61
56
|
"statusValueClosed": {
|
|
62
57
|
"title": "Closed Status Value",
|
|
63
|
-
"type": "string",
|
|
58
|
+
"type": "string",
|
|
64
59
|
"default": "true",
|
|
65
60
|
"description": "Sensor value when door is CLOSED"
|
|
66
61
|
},
|
package/package.json
CHANGED
package/config.sample.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"accessory": "GarageDoorOpener",
|
|
3
|
-
"name": "Garage Door",
|
|
4
|
-
"plugin": "homebridge-garagedooropenercloud",
|
|
5
|
-
"cloudBaseURL": "https://shelly-38-eu.shelly.cloud/device/relay/control",
|
|
6
|
-
"statusCloudURL": "https://shelly-38-eu.shelly.cloud/device/status",
|
|
7
|
-
"deviceId": "YOUR_DEVICE_ID",
|
|
8
|
-
"authKey": "YOUR_AUTH_KEY",
|
|
9
|
-
"channel": "0",
|
|
10
|
-
"statusKey": "$.data.device_status.input:0.state",
|
|
11
|
-
"statusValueOpen": "false",
|
|
12
|
-
"statusValueClosed": "true",
|
|
13
|
-
"openTime": 20,
|
|
14
|
-
"closeTime": 20,
|
|
15
|
-
"polling": true,
|
|
16
|
-
"pollInterval": 30,
|
|
17
|
-
"debug": true
|
|
18
|
-
}
|