homebridge-ring 11.7.0-beta.4 → 11.7.0-beta.5

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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # homebridge-ring
2
2
 
3
+ ## 11.7.0-beta.5
4
+
5
+ ### Minor Changes
6
+
7
+ - [`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
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies []:
12
+ - ring-client-api@11.7.0-beta.5
13
+
3
14
  ## 11.7.0-beta.4
4
15
 
5
16
  ### Minor Changes
package/README.md CHANGED
@@ -216,6 +216,7 @@ Note: Although homebridge has support for HomeKit Secure Video (HKSV), I will no
216
216
  Intercom support is still experimental. See [this issue](https://github.com/dgreif/ring/issues/1083) for more details
217
217
 
218
218
  - Unlock door
219
+ - Doorbell which can cause Homepods to chime when the intercom doorbell is pressed
219
220
  - Programmable switch which is trigged when the intercom doorbell is pressed
220
221
 
221
222
  ### Alarm/Location Modes
package/lib/intercom.js CHANGED
@@ -60,7 +60,12 @@ class Intercom extends base_data_accessory_1.BaseDataAccessory {
60
60
  });
61
61
  lockService.setPrimaryService(true);
62
62
  // Doorbell Service
63
- // Note, the real DoorbellService doesn't work without a camera, so we just expose a single press programmable switch
63
+ this.registerObservableCharacteristic({
64
+ characteristicType: ProgrammableSwitchEvent,
65
+ serviceType: Service.Doorbell,
66
+ onValue: onDoorbellPressed,
67
+ });
68
+ // Programmable Switch Service
64
69
  this.registerObservableCharacteristic({
65
70
  characteristicType: ProgrammableSwitchEvent,
66
71
  serviceType: programableSwitchService,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-ring",
3
- "version": "11.7.0-beta.4",
3
+ "version": "11.7.0-beta.5",
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,7 +13,7 @@
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.0-beta.4"
16
+ "ring-client-api": "11.7.0-beta.5"
17
17
  },
18
18
  "devDependencies": {
19
19
  "concurrently": "^7.5.0",