iobroker.ring 3.1.2 → 3.1.4
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/README.md +27 -10
- package/build/lib/ringApiClient.js +45 -8
- package/build/lib/ringApiClient.js.map +1 -1
- package/io-package.json +26 -25
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -12,15 +12,6 @@ Requires Admin v4 and `node 16.x`.
|
|
|
12
12
|
|
|
13
13
|
The Ring adapter works with Ring devices like the Ring Video Doorbell and Ring Cam and shows if someone rings the doorbell or if motion is detected. The Ring Video Doorbell or Cam sends a videostream if a motion or doorbell ist detected.
|
|
14
14
|
|
|
15
|
-
### SIP (before Version 3.x)
|
|
16
|
-
You can use the SIP Information for a SIP Video Conference with your SIP client.
|
|
17
|
-
The adapter will not provide all ring devices because the used API does not include all ring devices.
|
|
18
|
-
|
|
19
|
-
You can use for example the Blink SIP client on [http://icanblink.com/](http://icanblink.com/). To get video working go into Blink's Preferences and under "Accounts", switch the tab to "Media" and deselect "Encrypt audio and video" under "RTP Options". Be careful the SIP information expire after a few seconds!
|
|
20
|
-
Hopefully I will be able to support a video stream soon. Unfortunately [ring.com](https://ring.com) does not have an official API that support this feature.
|
|
21
|
-
If you press the `livestream request` button you get new SIP Information for building up a SIP Video Call session.
|
|
22
|
-
If you are using the [ring.com](https://ring.com) cloud you find under history a http link to your last motion / doorbell recorded video.
|
|
23
|
-
|
|
24
15
|
|
|
25
16
|
## Install & Configuration
|
|
26
17
|
|
|
@@ -45,14 +36,32 @@ You can use special variables for your livestream and snapshot path and filename
|
|
|
45
36
|
* `%n`: Counter since ring instance start. Example: `test_%n -> test_1`
|
|
46
37
|
* `%k`: Kind of your ring device: Example: `test_%k -> test_doorbell`
|
|
47
38
|
|
|
39
|
+
### FAQ
|
|
40
|
+
|
|
41
|
+
#### I don't recieve events, snapshots and videos on motion or detected person
|
|
42
|
+
|
|
43
|
+
Congrats it's very likely that your current token was put on a blacklist by ring, denying you the push notification you´d need.
|
|
44
|
+
Best way to resolve this is to remove any previous browsers/adapter tokens on the ring website and generating a new token for the adapter.
|
|
45
|
+
|
|
46
|
+
In order for this adapter to properly react on events Ring must send the push notification to the used [Ring Api Client](https://github.com/dgreif/ring) for this adapter to react on it. The logic in this adapter was checked multiple times and works for plenty users, so if you experience issues regarding missing events it's unlikely the fault of this adapter.
|
|
47
|
+
|
|
48
48
|
### V3 Rewrite Breaking Changes
|
|
49
49
|
1. The Device Names got extended by their description (e.g. from `Device 1234567` to `Device 1234567 ("Floodlight Garden")`)
|
|
50
50
|
2. Snapshot/Livestream Data is now in a respective channel, containing the other data points.
|
|
51
51
|
3. The snapshot/livestream object got changed from type meta to state with type file.
|
|
52
52
|
4. Events (Motion, Ding, etc.) are now in a respective channel.
|
|
53
|
-
5. Due to `ring-api` dropping the support for node before `v16.x` this adapter needs `node v16.x`
|
|
53
|
+
5. Due to `ring-api` dropping the support for node before `v16.x` this adapter needs `node v16.x` or `node v18.x`
|
|
54
54
|
6. Active refreshes are reduced to once every 2 hours, as we are listening/reacting on events.
|
|
55
55
|
|
|
56
|
+
### SIP (before Version 3.x)
|
|
57
|
+
You can use the SIP Information for a SIP Video Conference with your SIP client.
|
|
58
|
+
The adapter will not provide all ring devices because the used API does not include all ring devices.
|
|
59
|
+
|
|
60
|
+
You can use for example the Blink SIP client on [http://icanblink.com/](http://icanblink.com/). To get video working go into Blink's Preferences and under "Accounts", switch the tab to "Media" and deselect "Encrypt audio and video" under "RTP Options". Be careful the SIP information expire after a few seconds!
|
|
61
|
+
Hopefully I will be able to support a video stream soon. Unfortunately [ring.com](https://ring.com) does not have an official API that support this feature.
|
|
62
|
+
If you press the `livestream request` button you get new SIP Information for building up a SIP Video Call session.
|
|
63
|
+
If you are using the [ring.com](https://ring.com) cloud you find under history a http link to your last motion / doorbell recorded video.
|
|
64
|
+
|
|
56
65
|
### Scripts in `package.json`
|
|
57
66
|
Several npm scripts are predefined for your convenience. You can run them using `npm run <scriptname>`
|
|
58
67
|
| Script name | Description |
|
|
@@ -87,6 +96,14 @@ It is recommended that you add your own tests into the mix.
|
|
|
87
96
|
Placeholder for the next version (at the beginning of the line):
|
|
88
97
|
### **WORK IN PROGRESS**
|
|
89
98
|
-->
|
|
99
|
+
### 3.1.4 (2022-10-16)
|
|
100
|
+
|
|
101
|
+
* (theimo1221) #376 Handling when reconnect fails
|
|
102
|
+
|
|
103
|
+
### 3.1.3 (2022-10-04)
|
|
104
|
+
|
|
105
|
+
* (theimo1221) Update Packages
|
|
106
|
+
|
|
90
107
|
### 3.1.2 (2022-09-22)
|
|
91
108
|
|
|
92
109
|
* (theimo1221) Update Packages
|
|
@@ -10,6 +10,7 @@ class RingApiClient {
|
|
|
10
10
|
this.refreshing = false;
|
|
11
11
|
this.devices = {};
|
|
12
12
|
this._refreshInterval = null;
|
|
13
|
+
this._retryTimeout = null;
|
|
13
14
|
this._locations = {};
|
|
14
15
|
this.adapter = adapter;
|
|
15
16
|
}
|
|
@@ -64,7 +65,25 @@ class RingApiClient {
|
|
|
64
65
|
this.refreshing = true;
|
|
65
66
|
(_a = this._api) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
66
67
|
this._api = undefined;
|
|
67
|
-
await this.retrieveLocations()
|
|
68
|
+
if (!await this.retrieveLocations()) {
|
|
69
|
+
if (initial) {
|
|
70
|
+
this.adapter.terminate(`Failed to retrieve any locations for your ring Account.`);
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
if (this._retryTimeout !== null) {
|
|
74
|
+
clearTimeout(this._retryTimeout);
|
|
75
|
+
this._retryTimeout = null;
|
|
76
|
+
}
|
|
77
|
+
this.warn(`Couldn't load data from Ring Server on reconnect, will retry in 5 Minutes...`);
|
|
78
|
+
this._retryTimeout = setTimeout(this.refreshAll.bind(this), 5 * 60 * 1000);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
if (this._retryTimeout !== null) {
|
|
83
|
+
clearTimeout(this._retryTimeout);
|
|
84
|
+
this._retryTimeout = null;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
68
87
|
if (Object.keys(this._locations).length === 0 && initial) {
|
|
69
88
|
this.adapter.terminate(`We couldn't find any locations in your Ring Account`);
|
|
70
89
|
return;
|
|
@@ -101,16 +120,34 @@ class RingApiClient {
|
|
|
101
120
|
clearInterval(this._refreshInterval);
|
|
102
121
|
this._refreshInterval = null;
|
|
103
122
|
}
|
|
123
|
+
if (this._retryTimeout !== null) {
|
|
124
|
+
clearTimeout(this._retryTimeout);
|
|
125
|
+
this._retryTimeout = null;
|
|
126
|
+
}
|
|
104
127
|
}
|
|
105
128
|
async retrieveLocations() {
|
|
106
129
|
this.debug(`Retrieve Locations`);
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
130
|
+
return new Promise(async (res) => {
|
|
131
|
+
(await this.getApi()).getLocations()
|
|
132
|
+
.catch((reason) => {
|
|
133
|
+
this.handleApiError(reason);
|
|
134
|
+
res(false);
|
|
135
|
+
})
|
|
136
|
+
.then((locs) => {
|
|
137
|
+
var _a;
|
|
138
|
+
if (typeof locs != "object" || ((_a = locs === null || locs === void 0 ? void 0 : locs.length) !== null && _a !== void 0 ? _a : 0) == 0) {
|
|
139
|
+
this.debug("getLocations was successful, but received no array");
|
|
140
|
+
res(false);
|
|
141
|
+
}
|
|
142
|
+
this.debug(`Received ${locs === null || locs === void 0 ? void 0 : locs.length} Locations`);
|
|
143
|
+
this._locations = {};
|
|
144
|
+
for (const loc of locs) {
|
|
145
|
+
const newLoc = new ownRingLocation_1.OwnRingLocation(loc, this.adapter, this);
|
|
146
|
+
this._locations[newLoc.fullId] = newLoc;
|
|
147
|
+
}
|
|
148
|
+
res(true);
|
|
149
|
+
});
|
|
150
|
+
});
|
|
114
151
|
}
|
|
115
152
|
handleApiError(reason) {
|
|
116
153
|
this.adapter.log.error(`Api Call failed`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ringApiClient.js","sourceRoot":"","sources":["../../src/lib/ringApiClient.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAItD,mDAAgD;AAChD,2CAAiE;AACjE,uDAAoD;AAEpD,MAAa,aAAa;
|
|
1
|
+
{"version":3,"file":"ringApiClient.js","sourceRoot":"","sources":["../../src/lib/ringApiClient.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAItD,mDAAgD;AAChD,2CAAiE;AACjE,uDAAoD;AAEpD,MAAa,aAAa;IAsDxB,YAAmB,OAAoB;QArDhC,eAAU,GAAG,KAAK,CAAC;QAClB,YAAO,GAAoC,EAAE,CAAC;QAC9C,qBAAgB,GAAwB,IAAI,CAAC;QAC7C,kBAAa,GAAwB,IAAI,CAAC;QAM1C,eAAU,GAAsC,EAAE,CAAC;QA6CzD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAlDD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAIM,oBAAoB;QACzB,MAAM,KAAK,GAAW,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;QACvD,IAAI,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,EAAE;YAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAA;YAChD,OAAO,KAAK,CAAC;SACd;QACD,IAAI,KAAK,CAAC,MAAM,GAAG,EAAE,EAAE;YACrB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAA;YACtD,OAAO,KAAK,CAAC;SACd;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,MAAM;QACjB,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAO,IAAI,CAAC,IAAI,CAAC;SAClB;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,YA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|
4
|
+
"version": "3.1.4",
|
|
5
5
|
"title": "Ring",
|
|
6
6
|
"news": {
|
|
7
|
+
"3.1.4": {
|
|
8
|
+
"en": "#376 Handling when reconnect fails",
|
|
9
|
+
"de": "#376 Handhabung bei Ausfall der Wiederverbindung",
|
|
10
|
+
"ru": "#376 Обработка при повторном подключении не работает",
|
|
11
|
+
"pt": "#376 Handling quando a reconectação falha",
|
|
12
|
+
"nl": "#376 Handling when reconnect faalt",
|
|
13
|
+
"fr": "#376 Manipulation lorsque reconnect échoue",
|
|
14
|
+
"it": "#376 Maneggiare quando la riconnette fallisce",
|
|
15
|
+
"es": "#376 Manejo cuando la reconexión falla",
|
|
16
|
+
"pl": "#376 Handling, gdy reaktywacja nie powiodła się",
|
|
17
|
+
"uk": "#376 Обробка при вимкненні",
|
|
18
|
+
"zh-cn": "第376号重新连接时遇到的问题"
|
|
19
|
+
},
|
|
20
|
+
"3.1.3": {
|
|
21
|
+
"en": "Update Packages",
|
|
22
|
+
"de": "Pakete aktualisieren",
|
|
23
|
+
"ru": "Обновление пакетов",
|
|
24
|
+
"pt": "Pacotes de atualização",
|
|
25
|
+
"nl": "Update Packages",
|
|
26
|
+
"fr": "Mise à jour des paquets",
|
|
27
|
+
"it": "Pacchetti di aggiornamento",
|
|
28
|
+
"es": "Paquetes de actualización",
|
|
29
|
+
"pl": "Package Update",
|
|
30
|
+
"zh-cn": "最新包装"
|
|
31
|
+
},
|
|
7
32
|
"3.1.2": {
|
|
8
33
|
"en": "Update Packages\nFix an issue with floodlight control",
|
|
9
34
|
"de": "Pakete aktualisieren\nProblem mit Flutlichtsteuerung beheben",
|
|
@@ -63,30 +88,6 @@
|
|
|
63
88
|
"es": "Corrección Case resulting in lamps being permanently on",
|
|
64
89
|
"pl": "Fix Edge Edge Edge Edge Powoduje to, że lampy stają się na stałe",
|
|
65
90
|
"zh-cn": "Fix Edge 造成长期猛增的案件"
|
|
66
|
-
},
|
|
67
|
-
"3.0.3": {
|
|
68
|
-
"en": "Implement location mode",
|
|
69
|
-
"de": "Implementieren Standortmodus",
|
|
70
|
-
"ru": "Внедрить режим расположения",
|
|
71
|
-
"pt": "Implementar modo de localização",
|
|
72
|
-
"nl": "Implementie locatie modus",
|
|
73
|
-
"fr": "Mettre en place le mode de localisation",
|
|
74
|
-
"it": "Modalità di implementazione",
|
|
75
|
-
"es": "Aplicar el modo de ubicación",
|
|
76
|
-
"pl": "Implementacja",
|
|
77
|
-
"zh-cn": "执行地点模式"
|
|
78
|
-
},
|
|
79
|
-
"3.0.1": {
|
|
80
|
-
"en": "Changed the russian translations",
|
|
81
|
-
"de": "Ändern der russischen Übersetzungen",
|
|
82
|
-
"ru": "Изменены русские переводы",
|
|
83
|
-
"pt": "Mudou as traduções russas",
|
|
84
|
-
"nl": "Verander de Russen",
|
|
85
|
-
"fr": "Changement des traductions russes",
|
|
86
|
-
"it": "Cambiato le traduzioni russe",
|
|
87
|
-
"es": "Cambiaron las traducciones rusas",
|
|
88
|
-
"pl": "Zmienił russkie tłumaczenia",
|
|
89
|
-
"zh-cn": "B. 更改条约翻译"
|
|
90
91
|
}
|
|
91
92
|
},
|
|
92
93
|
"titleLang": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.ring",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
4
4
|
"description": "Ring",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Thiemo Hoffmann",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "https://github.com/iobroker-community-adapters/ioBroker.ring"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"ring-client-api": "^11.
|
|
33
|
+
"ring-client-api": "^11.3.0",
|
|
34
34
|
"@iobroker/adapter-core": "^2.6.6"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -41,27 +41,27 @@
|
|
|
41
41
|
"@types/chai": "^4.3.3",
|
|
42
42
|
"@types/chai-as-promised": "^7.1.5",
|
|
43
43
|
"@types/gulp": "^4.0.9",
|
|
44
|
-
"@types/mocha": "^
|
|
45
|
-
"@types/node": "^18.
|
|
44
|
+
"@types/mocha": "^10.0.0",
|
|
45
|
+
"@types/node": "^18.8.1",
|
|
46
46
|
"@types/proxyquire": "^1.3.28",
|
|
47
47
|
"@types/sinon": "^10.0.13",
|
|
48
48
|
"@types/sinon-chai": "^3.2.8",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
50
|
-
"@typescript-eslint/parser": "^5.
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^5.39.0",
|
|
50
|
+
"@typescript-eslint/parser": "^5.39.0",
|
|
51
51
|
"axios": "^0.27.2",
|
|
52
52
|
"chai": "^4.3.6",
|
|
53
53
|
"chai-as-promised": "^7.1.1",
|
|
54
|
-
"eslint": "^8.
|
|
54
|
+
"eslint": "^8.24.0",
|
|
55
55
|
"gulp": "^4.0.2",
|
|
56
56
|
"mocha": "^10.0.0",
|
|
57
57
|
"nyc": "^15.1.0",
|
|
58
58
|
"proxyquire": "^2.1.3",
|
|
59
59
|
"rimraf": "^3.0.2",
|
|
60
|
-
"sinon": "^14.0.
|
|
60
|
+
"sinon": "^14.0.1",
|
|
61
61
|
"sinon-chai": "^3.7.0",
|
|
62
62
|
"source-map-support": "^0.5.21",
|
|
63
63
|
"ts-node": "^10.9.1",
|
|
64
|
-
"typescript": "^4.8.
|
|
64
|
+
"typescript": "^4.8.4"
|
|
65
65
|
},
|
|
66
66
|
"main": "build/main.js",
|
|
67
67
|
"files": [
|