homebridge-ring 11.7.0-beta.6 → 11.7.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/CHANGELOG.md +15 -54
- package/lib/base-accessory.js +2 -1
- package/lib/intercom.js +2 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,77 +1,38 @@
|
|
|
1
1
|
# homebridge-ring
|
|
2
2
|
|
|
3
|
-
## 11.7.
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- [`d49548f`](https://github.com/dgreif/ring/commit/d49548f9d563d2faf094899f9d120689ac4083f3) Thanks [@dgreif](https://github.com/dgreif)! - Detect unlock notification from intercom
|
|
3
|
+
## 11.7.1
|
|
8
4
|
|
|
9
5
|
### Patch Changes
|
|
10
6
|
|
|
11
|
-
-
|
|
12
|
-
- ring-client-api@11.7.0-beta.6
|
|
13
|
-
|
|
14
|
-
## 11.7.0-beta.5
|
|
15
|
-
|
|
16
|
-
### Minor Changes
|
|
17
|
-
|
|
18
|
-
- [`f59e357`](https://github.com/dgreif/ring/commit/f59e35713fb82595a4f25f4226c660fb635896ed) Thanks [@dgreif](https://github.com/dgreif)! - Add true doorbell service for intercoms. This can trigger Homepods to chime when the intercom doorbell is pressed
|
|
7
|
+
- [`40559b8`](https://github.com/dgreif/ring/commit/40559b874740858cbb8bfd85125b7bf07680be2d) Thanks [@dgreif](https://github.com/dgreif)! - Update info (eg battery level) for intercom when viewed in Home app
|
|
19
8
|
|
|
20
|
-
|
|
9
|
+
- [`4d86e1d`](https://github.com/dgreif/ring/commit/4d86e1d8bbf7839becb127ebbeed37944ca27d3a) Thanks [@dgreif](https://github.com/dgreif)! - Update dependencies
|
|
21
10
|
|
|
22
|
-
- Updated dependencies []:
|
|
23
|
-
- ring-client-api@11.7.
|
|
11
|
+
- Updated dependencies [[`4d86e1d`](https://github.com/dgreif/ring/commit/4d86e1d8bbf7839becb127ebbeed37944ca27d3a)]:
|
|
12
|
+
- ring-client-api@11.7.1
|
|
24
13
|
|
|
25
|
-
## 11.7.0
|
|
14
|
+
## 11.7.0
|
|
26
15
|
|
|
27
16
|
### Minor Changes
|
|
28
17
|
|
|
29
|
-
- [`
|
|
30
|
-
|
|
31
|
-
- [`e845b44`](https://github.com/dgreif/ring/commit/e845b44cf870fa8e5d83f3f3116cdc6d1b4f9576) Thanks [@dgreif](https://github.com/dgreif)! - Automatically subscribe for ding events on intercoms
|
|
32
|
-
|
|
33
|
-
### Patch Changes
|
|
34
|
-
|
|
35
|
-
- Updated dependencies [[`3ebefaf`](https://github.com/dgreif/ring/commit/3ebefaf24d6e6afa4c25096f8181be63b9e0dbe4), [`e845b44`](https://github.com/dgreif/ring/commit/e845b44cf870fa8e5d83f3f3116cdc6d1b4f9576)]:
|
|
36
|
-
- ring-client-api@11.7.0-beta.4
|
|
37
|
-
|
|
38
|
-
## 11.7.0-beta.3
|
|
39
|
-
|
|
40
|
-
### Patch Changes
|
|
41
|
-
|
|
42
|
-
- [`05f9745`](https://github.com/dgreif/ring/commit/05f9745bbac98b9d7fc0ca5c7f687b8b0c3fd8e3) Thanks [@dgreif](https://github.com/dgreif)! - Fixed a typo which caused all cameras to be recognized as wired cameras. This lead to slower notifications for battery cameras and removed the battery level in HomeKit. Big thanks to @satrik for pointing me in the right direction to track down these issues!
|
|
43
|
-
|
|
44
|
-
- Updated dependencies [[`05f9745`](https://github.com/dgreif/ring/commit/05f9745bbac98b9d7fc0ca5c7f687b8b0c3fd8e3)]:
|
|
45
|
-
- ring-client-api@11.7.0-beta.3
|
|
46
|
-
|
|
47
|
-
## 11.7.0-beta.2
|
|
18
|
+
- [`4fe3fed`](https://github.com/dgreif/ring/commit/4fe3fed87b6fac5f4f4661f80693be44c35f75f4) Thanks [@dgreif](https://github.com/dgreif)! - Add support of Intercoms. Currently the only supported features are unlocking and checking the battery level.
|
|
48
19
|
|
|
49
|
-
|
|
20
|
+
- [`9847506`](https://github.com/dgreif/ring/commit/98475068c9e568d3400a2e88d7de0fdb34b102c9) Thanks [@dgreif](https://github.com/dgreif)! - Add programmable switch for intercom doorbell press
|
|
50
21
|
|
|
51
|
-
- [`
|
|
22
|
+
- [`a862bd2`](https://github.com/dgreif/ring/commit/a862bd28d52c9c85709ba2f0fc2c912b7886e836) Thanks [@dgreif](https://github.com/dgreif)! - Add true doorbell service for intercoms. This can trigger Homepods to chime when the intercom doorbell is pressed
|
|
52
23
|
|
|
53
|
-
-
|
|
54
|
-
- ring-client-api@11.7.0-beta.2
|
|
24
|
+
- [`836c580`](https://github.com/dgreif/ring/commit/836c580c4247324e18c92674f11840385c989c5f) Thanks [@dgreif](https://github.com/dgreif)! - Automatically subscribe for ding events on intercoms
|
|
55
25
|
|
|
56
|
-
|
|
26
|
+
- [`56a7894`](https://github.com/dgreif/ring/commit/56a7894c3e5515b7d8678cb3902b593078449446) Thanks [@dgreif](https://github.com/dgreif)! - Detect unlock notification from intercom
|
|
57
27
|
|
|
58
28
|
### Patch Changes
|
|
59
29
|
|
|
60
|
-
- [`
|
|
61
|
-
|
|
62
|
-
- Updated dependencies [[`f28de89`](https://github.com/dgreif/ring/commit/f28de891df284d56c39c73322ea72f972ce19270)]:
|
|
63
|
-
- ring-client-api@11.7.0-beta.1
|
|
30
|
+
- [`503e34f`](https://github.com/dgreif/ring/commit/503e34fb92d59304b0d33d7ab12216f4c38bddba) Thanks [@dgreif](https://github.com/dgreif)! - Fixed a typo which caused all cameras to be recognized as wired cameras. This lead to slower notifications for battery cameras and removed the battery level in HomeKit. Big thanks to @satrik for pointing me in the right direction to track down these issues!
|
|
64
31
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
### Minor Changes
|
|
68
|
-
|
|
69
|
-
- [`4fe3fed`](https://github.com/dgreif/ring/commit/4fe3fed87b6fac5f4f4661f80693be44c35f75f4) Thanks [@dgreif](https://github.com/dgreif)! - Add support of Intercoms. Currently the only supported features are unlocking and checking the battery level.
|
|
70
|
-
|
|
71
|
-
### Patch Changes
|
|
32
|
+
- [`321c983`](https://github.com/dgreif/ring/commit/321c9831ed4208c14f09b943543c6f05f7f170f7) Thanks [@dgreif](https://github.com/dgreif)! - Fix payload sent for unlocking doors via Ring Intercom
|
|
72
33
|
|
|
73
|
-
- Updated dependencies [[`4fe3fed`](https://github.com/dgreif/ring/commit/4fe3fed87b6fac5f4f4661f80693be44c35f75f4)]:
|
|
74
|
-
- ring-client-api@11.7.0
|
|
34
|
+
- Updated dependencies [[`503e34f`](https://github.com/dgreif/ring/commit/503e34fb92d59304b0d33d7ab12216f4c38bddba), [`4fe3fed`](https://github.com/dgreif/ring/commit/4fe3fed87b6fac5f4f4661f80693be44c35f75f4), [`321c983`](https://github.com/dgreif/ring/commit/321c9831ed4208c14f09b943543c6f05f7f170f7), [`c084848`](https://github.com/dgreif/ring/commit/c0848484388ade6308387e2047186325d4880f52), [`836c580`](https://github.com/dgreif/ring/commit/836c580c4247324e18c92674f11840385c989c5f), [`56a7894`](https://github.com/dgreif/ring/commit/56a7894c3e5515b7d8678cb3902b593078449446)]:
|
|
35
|
+
- ring-client-api@11.7.0
|
|
75
36
|
|
|
76
37
|
## 11.6.0
|
|
77
38
|
|
package/lib/base-accessory.js
CHANGED
|
@@ -25,7 +25,8 @@ class BaseAccessory {
|
|
|
25
25
|
}
|
|
26
26
|
const existingService = subType
|
|
27
27
|
? this.accessory.getServiceById(serviceType, subType)
|
|
28
|
-
: this.accessory.getService(serviceType), service = existingService ||
|
|
28
|
+
: this.accessory.getService(serviceType), service = existingService ||
|
|
29
|
+
this.accessory.addService(serviceType, name, subType);
|
|
29
30
|
if (config_1.debug &&
|
|
30
31
|
existingService &&
|
|
31
32
|
existingService.displayName &&
|
package/lib/intercom.js
CHANGED
|
@@ -40,6 +40,7 @@ class Intercom extends base_data_accessory_1.BaseDataAccessory {
|
|
|
40
40
|
characteristicType: LockCurrentState,
|
|
41
41
|
serviceType: lockService,
|
|
42
42
|
getValue: () => this.getLockState(),
|
|
43
|
+
requestUpdate: () => device.requestUpdate(),
|
|
43
44
|
});
|
|
44
45
|
this.registerCharacteristic({
|
|
45
46
|
characteristicType: LockTargetState,
|
|
@@ -93,6 +94,7 @@ class Intercom extends base_data_accessory_1.BaseDataAccessory {
|
|
|
93
94
|
onValue: device.onBatteryLevel.pipe((0, operators_1.map)((batteryLevel) => {
|
|
94
95
|
return batteryLevel === null ? 100 : batteryLevel;
|
|
95
96
|
})),
|
|
97
|
+
requestUpdate: () => device.requestUpdate(),
|
|
96
98
|
});
|
|
97
99
|
}
|
|
98
100
|
// Accessory Information Service
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-ring",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.1",
|
|
4
4
|
"description": "Homebridge plugin for Ring doorbells, cameras, security alarm system and smart lighting",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@homebridge/camera-utils": "^2.2.0",
|
|
15
15
|
"@homebridge/plugin-ui-utils": "^0.0.19",
|
|
16
|
-
"ring-client-api": "11.7.
|
|
16
|
+
"ring-client-api": "11.7.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"concurrently": "^7.
|
|
19
|
+
"concurrently": "^7.6.0",
|
|
20
20
|
"eslint-config-shared": "0.0.0",
|
|
21
|
-
"homebridge": "1.
|
|
21
|
+
"homebridge": "1.6.0",
|
|
22
22
|
"homebridge-ui": "0.0.0",
|
|
23
23
|
"nodemon": "^2.0.20",
|
|
24
24
|
"tsconfig": "0.0.0",
|
|
25
|
-
"typescript": "4.
|
|
25
|
+
"typescript": "4.9.4"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
28
|
"node": "^16 || ^18",
|