homebridge-securitysystem 6.4.0 → 6.5.0-beta.0
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 +33 -2
- package/package.json +1 -1
- package/src/index.js +782 -427
- package/src/utils/options.js +9 -8
- package/.eslintrc.js +0 -290
package/config.schema.json
CHANGED
|
@@ -333,6 +333,28 @@
|
|
|
333
333
|
"de-DE"
|
|
334
334
|
]
|
|
335
335
|
},
|
|
336
|
+
"audio_extra_variables": {
|
|
337
|
+
"title": "Audio Extra Variables",
|
|
338
|
+
"type": "array",
|
|
339
|
+
"items": {
|
|
340
|
+
"title": "Environment Variable",
|
|
341
|
+
"type": "object",
|
|
342
|
+
"properties": {
|
|
343
|
+
"key": {
|
|
344
|
+
"title": "Name",
|
|
345
|
+
"type": "string",
|
|
346
|
+
"required": true
|
|
347
|
+
},
|
|
348
|
+
"value": {
|
|
349
|
+
"title": "Value",
|
|
350
|
+
"type": "string",
|
|
351
|
+
"required": true
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"required": true,
|
|
356
|
+
"description": "Add extra environment variables to the ffplay command that will be executed"
|
|
357
|
+
},
|
|
336
358
|
"audio_path": {
|
|
337
359
|
"title": "Custom Audio Path",
|
|
338
360
|
"description": "Instructions will be created in this path.",
|
|
@@ -664,7 +686,16 @@
|
|
|
664
686
|
]
|
|
665
687
|
},
|
|
666
688
|
"audio_arming_looped",
|
|
667
|
-
"audio_alert_looped"
|
|
689
|
+
"audio_alert_looped",
|
|
690
|
+
{
|
|
691
|
+
"key": "audio_extra_variables",
|
|
692
|
+
"type": "tabarray",
|
|
693
|
+
"title": "{{ value.key || 'Environment Variable' }}",
|
|
694
|
+
"items": [
|
|
695
|
+
"audio_extra_variables[].key",
|
|
696
|
+
"audio_extra_variables[].value"
|
|
697
|
+
]
|
|
698
|
+
}
|
|
668
699
|
]
|
|
669
700
|
},
|
|
670
701
|
{
|
|
@@ -718,4 +749,4 @@
|
|
|
718
749
|
]
|
|
719
750
|
}
|
|
720
751
|
]
|
|
721
|
-
}
|
|
752
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-securitysystem",
|
|
3
3
|
"displayName": "Homebridge Security System",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.0-beta.0",
|
|
5
5
|
"description": "Homebridge plugin that creates a security system accessory that can be triggered by HomeKit sensors.",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"scripts": {
|