ring-client-api 11.1.0-beta.1 → 11.2.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 +21 -3
- package/lib/api/ring-types.d.ts +11 -1
- package/lib/api/ring-types.js +3 -0
- package/lib/api/util.d.ts +2 -2
- package/lib/api/util.js +2 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,14 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
### [11.2.1](https://github.com/dgreif/ring/compare/v11.2.0...v11.2.1) (2022-08-28)
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
### Bug Fixes
|
|
9
9
|
|
|
10
|
-
* **homebridge:**
|
|
10
|
+
* **homebridge:** prevent double ding notifications ([9b63104](https://github.com/dgreif/ring/commit/9b631046ac69f256cf129eaa92e388cce1228636)), closes [#944](https://github.com/dgreif/ring/issues/944)
|
|
11
|
+
* use correct name for lpd_v4 camera ([2425a14](https://github.com/dgreif/ring/commit/2425a1496faa66f3a6080d174b2628d97bf96da1)), closes [#951](https://github.com/dgreif/ring/issues/951)
|
|
11
12
|
|
|
12
|
-
## [11.
|
|
13
|
+
## [11.2.0](https://github.com/dgreif/ring/compare/v11.1.0...v11.2.0) (2022-08-27)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* add `lpd_v4` camera model ([efa5491](https://github.com/dgreif/ring/commit/efa5491ff46535d7c04062bc3273609e5a1184d7)), closes [#951](https://github.com/dgreif/ring/issues/951)
|
|
19
|
+
* **homebridge:** allow logs to be disabled with `disableLogs` ([67e02a0](https://github.com/dgreif/ring/commit/67e02a0effdf88f0bcf3e91d231737b52d3727c4)), closes [#906](https://github.com/dgreif/ring/issues/906)
|
|
20
|
+
* **homebridge:** support brightness for alarm base station and keypads ([bbccf1e](https://github.com/dgreif/ring/commit/bbccf1e453041fd88665930fea98a0ca117a6eb4)), closes [#872](https://github.com/dgreif/ring/issues/872)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* **homebridge:** hide motion sensor for unequipped bulbs ([3f72cb9](https://github.com/dgreif/ring/commit/3f72cb9ffb3bc4b3a3f61ad9a0d05ca59054df0c)), closes [#1001](https://github.com/dgreif/ring/issues/1001)
|
|
26
|
+
* **homebridge:** maintain night mode across bridge reboots ([6610445](https://github.com/dgreif/ring/commit/6610445e4b46cc682ca4c584793157d8d182ea8d)), closes [#908](https://github.com/dgreif/ring/issues/908)
|
|
27
|
+
|
|
28
|
+
## [11.1.0](https://github.com/dgreif/ring/compare/v11.0.7...v11.1.0) (2022-08-21)
|
|
13
29
|
|
|
14
30
|
|
|
15
31
|
### Features
|
|
@@ -20,6 +36,8 @@ All notable changes to this project will be documented in this file. See [standa
|
|
|
20
36
|
|
|
21
37
|
### Bug Fixes
|
|
22
38
|
|
|
39
|
+
* **homebridge:** add unbridgeCameras option to ui schema ([e97047d](https://github.com/dgreif/ring/commit/e97047df7d959caee95f958a3a6aed5537f93f58))
|
|
40
|
+
* update dependencies ([20584cd](https://github.com/dgreif/ring/commit/20584cdb6fe3d9fa9fd598a1bec612cfe37e3e82))
|
|
23
41
|
* update dependencies ([6f98cdf](https://github.com/dgreif/ring/commit/6f98cdf48895daf3217890b6631a6dbb2ccd340f))
|
|
24
42
|
|
|
25
43
|
### [11.0.7](https://github.com/dgreif/ring/compare/v11.0.6...v11.0.7) (2022-07-10)
|
package/lib/api/ring-types.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare type Firmware = string | 'Up To Date';
|
|
2
2
|
export declare enum RingDeviceType {
|
|
3
3
|
BaseStation = "hub.redsky",
|
|
4
|
+
BaseStationPro = "hub.kili",
|
|
4
5
|
Keypad = "security-keypad",
|
|
5
6
|
SecurityPanel = "security-panel",
|
|
6
7
|
ContactSensor = "sensor.contact",
|
|
@@ -71,6 +72,7 @@ export declare enum RingCameraKind {
|
|
|
71
72
|
doorbell_graham_cracker = "doorbell_graham_cracker",
|
|
72
73
|
lpd_v1 = "lpd_v1",
|
|
73
74
|
lpd_v2 = "lpd_v2",
|
|
75
|
+
lpd_v4 = "lpd_v4",
|
|
74
76
|
jbox_v1 = "jbox_v1",
|
|
75
77
|
stickup_cam = "stickup_cam",
|
|
76
78
|
stickup_cam_v3 = "stickup_cam_v3",
|
|
@@ -176,6 +178,8 @@ export interface RingDeviceData {
|
|
|
176
178
|
rel: string;
|
|
177
179
|
zid: string;
|
|
178
180
|
}[];
|
|
181
|
+
motionSensorEnabled?: boolean;
|
|
182
|
+
brightness?: number;
|
|
179
183
|
}
|
|
180
184
|
export declare const deviceTypesWithVolume: RingDeviceType[];
|
|
181
185
|
export interface BaseStation {
|
|
@@ -373,7 +377,13 @@ export interface CameraData {
|
|
|
373
377
|
people_detection_eligible: false;
|
|
374
378
|
pir_settings?: any;
|
|
375
379
|
pir_motion_zones?: number[];
|
|
376
|
-
floodlight_settings?:
|
|
380
|
+
floodlight_settings?: {
|
|
381
|
+
priority: number;
|
|
382
|
+
duration: number;
|
|
383
|
+
brightness?: number;
|
|
384
|
+
always_on: boolean;
|
|
385
|
+
always_on_duration: null | number;
|
|
386
|
+
};
|
|
377
387
|
light_schedule_settings?: any;
|
|
378
388
|
luma_light_threshold?: number;
|
|
379
389
|
live_view_disabled?: boolean;
|
package/lib/api/ring-types.js
CHANGED
|
@@ -5,6 +5,7 @@ exports.isWebSocketSupportedAsset = exports.disabledLocationModes = exports.Disp
|
|
|
5
5
|
var RingDeviceType;
|
|
6
6
|
(function (RingDeviceType) {
|
|
7
7
|
RingDeviceType["BaseStation"] = "hub.redsky";
|
|
8
|
+
RingDeviceType["BaseStationPro"] = "hub.kili";
|
|
8
9
|
RingDeviceType["Keypad"] = "security-keypad";
|
|
9
10
|
RingDeviceType["SecurityPanel"] = "security-panel";
|
|
10
11
|
RingDeviceType["ContactSensor"] = "sensor.contact";
|
|
@@ -79,6 +80,7 @@ var RingCameraKind;
|
|
|
79
80
|
RingCameraKind["doorbell_graham_cracker"] = "doorbell_graham_cracker";
|
|
80
81
|
RingCameraKind["lpd_v1"] = "lpd_v1";
|
|
81
82
|
RingCameraKind["lpd_v2"] = "lpd_v2";
|
|
83
|
+
RingCameraKind["lpd_v4"] = "lpd_v4";
|
|
82
84
|
RingCameraKind["jbox_v1"] = "jbox_v1";
|
|
83
85
|
RingCameraKind["stickup_cam"] = "stickup_cam";
|
|
84
86
|
RingCameraKind["stickup_cam_v3"] = "stickup_cam_v3";
|
|
@@ -108,6 +110,7 @@ exports.RingCameraModel = {
|
|
|
108
110
|
doorbell_graham_cracker: 'Doorbell Wired',
|
|
109
111
|
lpd_v1: 'Doorbell Pro',
|
|
110
112
|
lpd_v2: 'Doorbell Pro',
|
|
113
|
+
lpd_v4: 'Doorbell Pro 2',
|
|
111
114
|
jbox_v1: 'Doorbell Elite',
|
|
112
115
|
stickup_cam: 'Stick Up Cam',
|
|
113
116
|
stickup_cam_v3: 'Stick Up Cam',
|
package/lib/api/util.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
interface Logger {
|
|
2
|
-
logInfo: (message: string) => void;
|
|
2
|
+
logInfo: (...message: string[]) => void;
|
|
3
3
|
logError: (message: string) => void;
|
|
4
4
|
}
|
|
5
5
|
export declare function delay(milliseconds: number): Promise<unknown>;
|
|
6
6
|
export declare function logDebug(message: any): void;
|
|
7
|
-
export declare function logInfo(message: any): void;
|
|
7
|
+
export declare function logInfo(...message: any[]): void;
|
|
8
8
|
export declare function logError(message: any): void;
|
|
9
9
|
export declare function useLogger(newLogger: Logger): void;
|
|
10
10
|
export declare function enableDebug(): void;
|
package/lib/api/util.js
CHANGED
|
@@ -31,8 +31,8 @@ function logDebug(message) {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
exports.logDebug = logDebug;
|
|
34
|
-
function logInfo(message) {
|
|
35
|
-
logger.logInfo(message);
|
|
34
|
+
function logInfo(...message) {
|
|
35
|
+
logger.logInfo(...message);
|
|
36
36
|
}
|
|
37
37
|
exports.logInfo = logInfo;
|
|
38
38
|
function logError(message) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ring-client-api",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.2.1",
|
|
4
4
|
"description": "Unofficial API for Ring doorbells, cameras, security alarm system and smart lighting",
|
|
5
5
|
"main": "lib/api/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -58,33 +58,33 @@
|
|
|
58
58
|
"@eneris/push-receiver": "^3.0.2",
|
|
59
59
|
"@homebridge/camera-utils": "^2.2.0",
|
|
60
60
|
"@homebridge/plugin-ui-utils": "^0.0.19",
|
|
61
|
-
"werift": "0.15.
|
|
61
|
+
"werift": "0.15.11",
|
|
62
62
|
"@types/socket.io-client": "1.4.36",
|
|
63
63
|
"colors": "^1.4.0",
|
|
64
64
|
"debug": "^4.3.4",
|
|
65
65
|
"got": "^11.8.5",
|
|
66
66
|
"rxjs": "^7.5.6",
|
|
67
67
|
"socket.io-client": "^2.4.0",
|
|
68
|
-
"systeminformation": "^5.12.
|
|
68
|
+
"systeminformation": "^5.12.6",
|
|
69
69
|
"uuid": "^8.3.2",
|
|
70
70
|
"ws": "^8.8.1"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@swc-node/register": "^1.5.1",
|
|
74
74
|
"@types/debug": "4.1.7",
|
|
75
|
-
"@types/jest": "28.1.
|
|
76
|
-
"@types/node": "18.
|
|
75
|
+
"@types/jest": "28.1.7",
|
|
76
|
+
"@types/node": "18.7.8",
|
|
77
77
|
"@types/uuid": "8.3.4",
|
|
78
78
|
"@types/ws": "^8.5.3",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
80
|
-
"@typescript-eslint/parser": "5.
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "5.33.1",
|
|
80
|
+
"@typescript-eslint/parser": "5.33.1",
|
|
81
81
|
"concurrently": "^7.3.0",
|
|
82
82
|
"conventional-github-releaser": "3.1.5",
|
|
83
83
|
"dotenv": "16.0.1",
|
|
84
|
-
"esbuild": "^0.
|
|
85
|
-
"eslint": "8.
|
|
84
|
+
"esbuild": "^0.15.5",
|
|
85
|
+
"eslint": "8.22.0",
|
|
86
86
|
"eslint-config-prettier": "8.5.0",
|
|
87
|
-
"eslint-plugin-jest": "26.
|
|
87
|
+
"eslint-plugin-jest": "26.8.5",
|
|
88
88
|
"eslint-plugin-prettier": "4.2.1",
|
|
89
89
|
"express": "4.18.1",
|
|
90
90
|
"homebridge": "1.5.0",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"reflect-metadata": "0.1.13",
|
|
94
94
|
"rimraf": "3.0.2",
|
|
95
95
|
"standard-version": "9.5.0",
|
|
96
|
-
"ts-jest": "28.0.
|
|
96
|
+
"ts-jest": "28.0.8",
|
|
97
97
|
"typescript": "4.7.4"
|
|
98
98
|
},
|
|
99
99
|
"engines": {
|