homebridge-flume 1.2.1 → 1.2.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.
- package/CHANGELOG.md +6 -0
- package/config.schema.json +15 -15
- package/lib/utils/constants.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/config.schema.json
CHANGED
|
@@ -39,17 +39,6 @@
|
|
|
39
39
|
"required": true,
|
|
40
40
|
"description": "Your Flume Client Secret, found at https://portal.flumetech.com."
|
|
41
41
|
},
|
|
42
|
-
"refreshInterval": {
|
|
43
|
-
"title": "Refresh Interval",
|
|
44
|
-
"type": "integer",
|
|
45
|
-
"placeholder": 2,
|
|
46
|
-
"description": "Number of minutes between updates. Must be 2 or more."
|
|
47
|
-
},
|
|
48
|
-
"disableDeviceLogging": {
|
|
49
|
-
"type": "boolean",
|
|
50
|
-
"title": "Disable Device Logging",
|
|
51
|
-
"description": "Global logging setting for accessory status changes. If true then accessory status changes will not be logged."
|
|
52
|
-
},
|
|
53
42
|
"debug": {
|
|
54
43
|
"title": "Debug Logging",
|
|
55
44
|
"type": "boolean",
|
|
@@ -59,6 +48,17 @@
|
|
|
59
48
|
"title": "Disable Plugin",
|
|
60
49
|
"type": "boolean",
|
|
61
50
|
"description": "If true, the plugin will remove all accessories and not load the plugin on restart."
|
|
51
|
+
},
|
|
52
|
+
"disableDeviceLogging": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"title": "Disable Device Logging",
|
|
55
|
+
"description": "Global logging setting for accessory status changes. If true then accessory status changes will not be logged."
|
|
56
|
+
},
|
|
57
|
+
"refreshInterval": {
|
|
58
|
+
"title": "Refresh Interval",
|
|
59
|
+
"type": "integer",
|
|
60
|
+
"placeholder": 2,
|
|
61
|
+
"description": "Number of minutes between updates. Must be 2 or more."
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
},
|
|
@@ -66,14 +66,14 @@
|
|
|
66
66
|
{
|
|
67
67
|
"type": "fieldset",
|
|
68
68
|
"title": "Required Settings",
|
|
69
|
-
"items": ["username", "password", "clientId", "clientSecret"]
|
|
69
|
+
"items": ["username", "password", "clientId", "clientSecret", "debug", "disablePlugin"]
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"type": "fieldset",
|
|
73
|
-
"title": "
|
|
74
|
-
"description": "
|
|
73
|
+
"title": "Advanced Settings",
|
|
74
|
+
"description": "Advanced settings for the plugin, including refresh options.",
|
|
75
75
|
"expandable": true,
|
|
76
|
-
"items": ["
|
|
76
|
+
"items": ["disableDeviceLogging", "refreshInterval"]
|
|
77
77
|
}
|
|
78
78
|
]
|
|
79
79
|
}
|
package/lib/utils/constants.js
CHANGED
|
@@ -9,10 +9,10 @@ module.exports = {
|
|
|
9
9
|
password: '',
|
|
10
10
|
clientId: '',
|
|
11
11
|
clientSecret: '',
|
|
12
|
-
refreshInterval: 1,
|
|
13
|
-
disableDeviceLogging: false,
|
|
14
12
|
debug: false,
|
|
15
13
|
disablePlugin: false,
|
|
14
|
+
disableDeviceLogging: false,
|
|
15
|
+
refreshInterval: 1,
|
|
16
16
|
platform: 'Flume'
|
|
17
17
|
},
|
|
18
18
|
|