homebridge-securitysystem 7.2.1 → 7.4.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/.eslintrc.js +16 -16
- package/.github/FUNDING.yml +2 -2
- package/.github/ISSUE_TEMPLATE/bug_report.yml +46 -46
- package/.github/ISSUE_TEMPLATE/feature-request.yml +17 -17
- package/.github/ISSUE_TEMPLATE/questions-answers.yml +40 -40
- package/.github/dependabot.yml +19 -19
- package/.github/release.yml +36 -36
- package/.github/workflows/codeql.yml +76 -76
- package/.github/workflows/create-release.yml +82 -0
- package/.github/workflows/{update-version.yml → create-version.yml} +52 -52
- package/.github/workflows/dependency-review.yml +24 -24
- package/.github/workflows/install-package.yml +29 -29
- package/.github/workflows/stale.yml +26 -26
- package/.vscode/settings.json +12 -11
- package/CODE_OF_CONDUCT.md +128 -128
- package/CONTRIBUTING.md +5 -5
- package/LICENSE +21 -21
- package/README.md +47 -49
- package/SECURITY.md +12 -12
- package/config.schema.json +835 -756
- package/package.json +52 -52
- package/sounds/README +22 -22
- package/src/index.js +2418 -2396
- package/src/utils/options.js +368 -352
- package/.github/workflows/new-tag.yml +0 -39
- package/.github/workflows/publish-package.yml +0 -51
package/package.json
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "homebridge-securitysystem",
|
|
3
|
-
"displayName": "Homebridge Security System",
|
|
4
|
-
"version": "7.
|
|
5
|
-
"description": "Homebridge plugin that creates a security system accessory that can be triggered by HomeKit sensors.",
|
|
6
|
-
"main": "src/index.js",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"debug": "homebridge -I -D",
|
|
9
|
-
"test": "exit 0",
|
|
10
|
-
"build": "exit 0"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [
|
|
13
|
-
"homebridge-plugin",
|
|
14
|
-
"homebridge",
|
|
15
|
-
"homekit",
|
|
16
|
-
"security system",
|
|
17
|
-
"alarm",
|
|
18
|
-
"category-security"
|
|
19
|
-
],
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git://github.com/MiguelRipoll23/homebridge-securitysystem.git"
|
|
23
|
-
},
|
|
24
|
-
"author": "MiguelRipoll23",
|
|
25
|
-
"license": "MIT",
|
|
26
|
-
"bugs": {
|
|
27
|
-
"url": "http://github.com/MiguelRipoll23/homebridge-securitysystem/issues"
|
|
28
|
-
},
|
|
29
|
-
"funding": [
|
|
30
|
-
{
|
|
31
|
-
"type": "github",
|
|
32
|
-
"url": "https://github.com/sponsors/MiguelRipoll23"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"type": "paypal",
|
|
36
|
-
"url": "https://paypal.me/miguelripoll23"
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"engines": {
|
|
40
|
-
"node": ">=10.x",
|
|
41
|
-
"homebridge": ">=0.2.0"
|
|
42
|
-
},
|
|
43
|
-
"dependencies": {
|
|
44
|
-
"express": "^4.17.1",
|
|
45
|
-
"express-rate-limit": "^6.2.1",
|
|
46
|
-
"node-fetch": "^2.6.7",
|
|
47
|
-
"node-persist": "^3.0.5"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"eslint": "^8.0.0"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "homebridge-securitysystem",
|
|
3
|
+
"displayName": "Homebridge Security System",
|
|
4
|
+
"version": "7.4.0",
|
|
5
|
+
"description": "Homebridge plugin that creates a security system accessory that can be triggered by HomeKit sensors.",
|
|
6
|
+
"main": "src/index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"debug": "homebridge -I -D",
|
|
9
|
+
"test": "exit 0",
|
|
10
|
+
"build": "exit 0"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"homebridge-plugin",
|
|
14
|
+
"homebridge",
|
|
15
|
+
"homekit",
|
|
16
|
+
"security system",
|
|
17
|
+
"alarm",
|
|
18
|
+
"category-security"
|
|
19
|
+
],
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git://github.com/MiguelRipoll23/homebridge-securitysystem.git"
|
|
23
|
+
},
|
|
24
|
+
"author": "MiguelRipoll23",
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "http://github.com/MiguelRipoll23/homebridge-securitysystem/issues"
|
|
28
|
+
},
|
|
29
|
+
"funding": [
|
|
30
|
+
{
|
|
31
|
+
"type": "github",
|
|
32
|
+
"url": "https://github.com/sponsors/MiguelRipoll23"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "paypal",
|
|
36
|
+
"url": "https://paypal.me/miguelripoll23"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=10.x",
|
|
41
|
+
"homebridge": ">=0.2.0"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"express": "^4.17.1",
|
|
45
|
+
"express-rate-limit": "^6.2.1",
|
|
46
|
+
"node-fetch": "^2.6.7",
|
|
47
|
+
"node-persist": "^3.0.5"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"eslint": "^8.0.0"
|
|
51
|
+
}
|
|
52
|
+
}
|
package/sounds/README
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
# Custom sounds
|
|
2
|
-
A directory for your current selected language has been created, inside it add the sounds that would like to be played.
|
|
3
|
-
|
|
4
|
-
Example:
|
|
5
|
-
|
|
6
|
-
current-path/
|
|
7
|
-
- xx-XX/
|
|
8
|
-
- target-home.mp3
|
|
9
|
-
- target-away.mp3
|
|
10
|
-
- target-night.mp3
|
|
11
|
-
- current-home.mp3
|
|
12
|
-
- current-away.mp3
|
|
13
|
-
- current-night.mp3
|
|
14
|
-
- current-off.mp3
|
|
15
|
-
- current-warning.mp3
|
|
16
|
-
- current-triggered.mp3
|
|
17
|
-
|
|
18
|
-
You can omit the sound files that you don't want to use. Also, if a sound isn't playing you can always start Homebridge using debug mode to see additional information using the command below:
|
|
19
|
-
|
|
20
|
-
homebridge -D
|
|
21
|
-
|
|
22
|
-
This will print information when sounds aren't found but they're are simply warnings and can be ignored, only pay atention to them when the sound that you want is not playing.
|
|
1
|
+
# Custom sounds
|
|
2
|
+
A directory for your current selected language has been created, inside it add the sounds that would like to be played.
|
|
3
|
+
|
|
4
|
+
Example:
|
|
5
|
+
|
|
6
|
+
current-path/
|
|
7
|
+
- xx-XX/
|
|
8
|
+
- target-home.mp3
|
|
9
|
+
- target-away.mp3
|
|
10
|
+
- target-night.mp3
|
|
11
|
+
- current-home.mp3
|
|
12
|
+
- current-away.mp3
|
|
13
|
+
- current-night.mp3
|
|
14
|
+
- current-off.mp3
|
|
15
|
+
- current-warning.mp3
|
|
16
|
+
- current-triggered.mp3
|
|
17
|
+
|
|
18
|
+
You can omit the sound files that you don't want to use. Also, if a sound isn't playing you can always start Homebridge using debug mode to see additional information using the command below:
|
|
19
|
+
|
|
20
|
+
homebridge -D
|
|
21
|
+
|
|
22
|
+
This will print information when sounds aren't found but they're are simply warnings and can be ignored, only pay atention to them when the sound that you want is not playing.
|