iobroker.eusec 0.8.2

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 bropat <patrick.broetto@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,569 @@
1
+ ![Logo](docs/_media/ioBroker.euSec.png)
2
+ # ioBroker.euSec
3
+
4
+ [![NPM version](https://img.shields.io/npm/v/iobroker.eusec.svg)](https://www.npmjs.com/package/iobroker.eusec)
5
+ [![Downloads](https://img.shields.io/npm/dm/iobroker.eusec.svg)](https://www.npmjs.com/package/iobroker.eusec)
6
+ ![Node version requirement](https://img.shields.io/node/v/iobroker.eusec)
7
+ ![Number of Installations (latest)](https://iobroker.live/badges/eusec-installed.svg)
8
+ ![Number of Installations (stable)](https://iobroker.live/badges/eusec-stable.svg)
9
+ [![Dependency Status](https://img.shields.io/librariesio/release/npm/iobroker.eusec)](https://libraries.io/npm/iobroker.eusec)
10
+ [![Known Vulnerabilities](https://snyk.io/test/github/bropat/ioBroker.euSec/badge.svg)](https://snyk.io/test/github/bropat/ioBroker.euSec)
11
+
12
+ **Tests:** Linux/Mac: [![Build Status](https://travis-ci.org/bropat/ioBroker.euSec.svg?branch=master)](https://travis-ci.org/bropat/ioBroker.euSec)
13
+ Windows: [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/bropat/ioBroker.euSec?branch=master&svg=true)](https://ci.appveyor.com/project/bropat/ioBroker-euSec/)
14
+
15
+
16
+ [![NPM](https://nodei.co/npm/iobroker.eusec.png?downloads=true)](https://nodei.co/npm/iobroker.eusec/)
17
+
18
+ This is an [ioBroker](https://www.iobroker.net) adapter that uses the [eufy-security-client](https://github.com/bropat/eufy-security-client) library to comunicate with Eufy devices.
19
+
20
+ If you appreciate my work and progress and want to support me, you can do it here:
21
+
22
+ [![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/E1E332Q6Z)
23
+ [![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.me/pbroetto)
24
+
25
+ **This project is not affiliated with Anker and Eufy (Eufy Security). It is a personal project that is maintained in spare time.**
26
+
27
+ ## Description
28
+
29
+ This adapter allows to control [Eufy security devices](https://us.eufylife.com/collections/security) by connecting to the Eufy cloud servers and local/remote stations.
30
+
31
+ You need to provide your Cloud login credentials. The adapter connects to your cloud account and polls for all device data via HTTPS. Now a local or remote P2P connection to the Eufy stations/devices is also supported. However, a connection to the Eufy Cloud is always a prerequisite.
32
+
33
+ One Adapter instance will show all devices from one Eufy Cloud account and allows to control them.
34
+
35
+ ## Features
36
+
37
+ * Supports local and remote p2p connection to station
38
+ * Two factor authentication
39
+ * Livestream as HLS stream (supports all platforms, but introduce a latency)
40
+ * Last HLS live stream is always saved for later viewing
41
+ * Downloads event video when push notification is received (async)
42
+ * Takes jpeg thumbnail of the livestream or downloaded video
43
+ * Base station:
44
+ * States:
45
+ * Configured Guard mode
46
+ * Current Guard mode
47
+ * Name
48
+ * Model
49
+ * Serial number
50
+ * Software version
51
+ * Hardware version
52
+ * MAC address
53
+ * LAN ip address
54
+ * Actions:
55
+ * Change guard mode
56
+ * Trigger alarm sound
57
+ * Reset alarm sound
58
+ * Reboot station
59
+ * Events:
60
+ * Alarm mode change
61
+ * Camera:
62
+ * States:
63
+ * Online / offline etc.
64
+ * Battery %
65
+ * Battery temperature
66
+ * Name
67
+ * Model
68
+ * Serial number
69
+ * Software version
70
+ * Hardware version
71
+ * MAC address
72
+ * Wifi RSSI
73
+ * Filtered false events since last charge
74
+ * Saved/Recorded events since last charge
75
+ * Total events since last charge
76
+ * Used days since last charge
77
+ * And lot's more...
78
+ * Actions:
79
+ * Start livestream (hls; supports also local livestream)
80
+ * Stop livestream (hls)
81
+ * Enable/disable device
82
+ * Enable/disable auto night vision
83
+ * Enable/disable led (only camera 2 products, indoor cameras, floodlight camera, solo cameras and doorbells)
84
+ * Enable/disable anti-theft detection (only camera 2 products)
85
+ * Enable/disable motion detection
86
+ * Enable/disable pet detection (only indoor cameras)
87
+ * Enable/disable sound detection (only indoor cameras)
88
+ * Enable/disable RTSP stream (only camera2 products, indoor cameras and solo cameras)
89
+ * Change video watermark setting
90
+ * And lot's more...
91
+ * Events:
92
+ * Motion detected
93
+ * Person detected
94
+ * Ringing (only Doorbell)
95
+ * Crying detected (only Indoor cameras)
96
+ * Sound detected (only Indoor cameras)
97
+ * Pet detected (only Indoor cameras)
98
+ * Sensor:
99
+ * Entry sensor:
100
+ * States:
101
+ * Online / offline etc.
102
+ * Low battery
103
+ * Name
104
+ * Model
105
+ * Serial number
106
+ * Software version
107
+ * Hardware version
108
+ * Events:
109
+ * Open / closed
110
+ * Motion sensor:
111
+ * States:
112
+ * Online / offline etc.
113
+ * Low battery
114
+ * Name
115
+ * Model
116
+ * Serial number
117
+ * Software version
118
+ * Hardware version
119
+ * Events:
120
+ * Motion detected
121
+ * Keypad:
122
+ * States:
123
+ * Online / offline etc.
124
+ * Low battery
125
+ * Name
126
+ * Model
127
+ * Serial number
128
+ * Software version
129
+ * Hardware version
130
+ * Lock:
131
+ * States:
132
+ * Online / offline etc.
133
+ * Battery %
134
+ * Lock status
135
+ * Name
136
+ * Model
137
+ * Serial number
138
+ * Software version
139
+ * Hardware version
140
+ * Wifi RSSI
141
+ * Actions:
142
+ * Lock/unlock
143
+ * more to come...
144
+
145
+ ## Documentation
146
+
147
+ Look [here](https://bropat.github.io/ioBroker.eufy-security/)
148
+
149
+ ## Known working devices
150
+
151
+ Information about supported devices can be found [here](https://github.com/bropat/eufy-security-client#known-working-devices).
152
+
153
+ ## How to report issues and feature requests
154
+
155
+ Please use GitHub issues for this.
156
+
157
+ Best is to set the adapter to Debug log mode (see [here](https://bropat.github.io/ioBroker.eufy-security/#/debugging)). Then please get the logfile from disk (subdirectory "log" in ioBroker installation directory and not from Admin because Admin cuts the lines).
158
+
159
+ ## Changelog
160
+
161
+ ### 0.8.2 (2022-02-06)
162
+
163
+ * (bropat) Renamed Adapter to ioBroker.euSec
164
+ * (bropat) Updated version of the package eufy-security-client (1.6.3)
165
+ * (bropat) Further details can be found in the changelog of eufy-security-client (1.6.3)
166
+ * (bropat) Fixed issue #221
167
+
168
+ ### 0.8.1 (2022-02-05)
169
+
170
+ * (bropat) Fixed MQTT connection issue (error: 5; #219)
171
+ * (bropat) Updated version of the package eufy-security-client (1.6.2)
172
+ * (bropat) Further details can be found in the changelog of eufy-security-client (1.6.2)
173
+
174
+ ### 0.8.0 (2022-02-05)
175
+
176
+ * (bropat) Added support for Smart Lock Touch & Wifi (T8520; #138)
177
+ * (bropat) Added option to enable/disable "Automatically download video" (#180; #203)
178
+ * (bropat) Added new state to retrieve received captcha in HTML format "received_captcha_html" (#210)
179
+ * (bropat) Updated version of the package eufy-security-client (1.6.1)
180
+ * (bropat) Further details can be found in the changelog of eufy-security-client (1.6.1)
181
+ * (bropat) Updated versions of the package dependencies
182
+ * (bropat) Fixed issue #199
183
+ * (bropat) Fixed issue #217
184
+ * (bropat) Some other small bugfixes
185
+
186
+ ### 0.7.5 (2021-12-05)
187
+
188
+ * (bropat) Fixed issue #195
189
+ * (bropat) Fixed issue #202
190
+
191
+ ### 0.7.4 (2021-11-22)
192
+
193
+ * (bropat) Implemented captcha authentication mechanism (API v2)
194
+ * (bropat) Updated version of the package eufy-security-client (1.4.0)
195
+
196
+ ### 0.7.3 (2021-11-20)
197
+
198
+ * (bropat) Implemented new encrypted authentication mechanism (API v2)
199
+ * (bropat) Dropped old plaintext authentication mechanism (API v1)
200
+ * (bropat) Fixed issue #191
201
+ * (bropat) Updated version of the package eufy-security-client (1.3.0)
202
+
203
+ **Note:** If you have 2FA enabled, you will need to authenticate again after this update.
204
+
205
+ ### 0.7.2 (2021-11-16)
206
+
207
+ * (bropat) Updated version of the package eufy-security-client (1.2.3)
208
+ * (bropat) Further details can be found in the changelog of eufy-security-client (1.2.3)
209
+ * (bropat) Changed ioBroker.admin dependency to ">=4.0.10"
210
+ * (bropat) Updated versions of the package dependencies
211
+
212
+ ### 0.7.1 (2021-10-23)
213
+
214
+ * (bropat) Updated version of the package eufy-security-client (1.2.1)
215
+ * (bropat) Further details can be found in the changelog of eufy-security-client (1.2.1)
216
+
217
+ ### 0.7.0 (2021-10-17)
218
+
219
+ * (bropat) Added support for Floodlight T8422
220
+ * (bropat) Added support for SoloCam E40 (T8131)
221
+ * (bropat) Added new properties for solo cameras: battery, batteryTemperature, wifiSignalLevel, state, chargingStatus, lastChargingDays, lastChargingRecordedEvents, lastChargingTotalEvents, batteryUsageLastWeek
222
+ * (bropat) Fixed issue #169
223
+ * (bropat) Fixed issue #167
224
+ * (bropat) Fixed issue #151
225
+ * (bropat) Fixed push notifications for solo cameras (motion and person detection)
226
+ * (bropat) Updated version of the package eufy-security-client (1.2.0)
227
+ * (bropat) Updated versions of the package dependencies
228
+ * (bropat) Further details can be found in the changelog of eufy-security-client (1.2.0)
229
+
230
+ ### 0.6.2 (2021-08-19)
231
+
232
+ * (bropat) Updated version of the package eufy-security-client (1.1.2)
233
+
234
+ ### 0.6.1 (2021-08-19)
235
+
236
+ * (bropat) Fixed issue in the function responsible for the version upgrade (non-updatable states; issue #159)
237
+ * (bropat) Tried to fix issue #157 and issue #140
238
+
239
+ ### 0.6.0 (2021-08-13)
240
+
241
+ * (bropat) **Breaking Changes** Switched to the new managed driver class - All states will be dropped and recreated (Note: some states where renamed)
242
+ * (bropat) Supports Admin 5
243
+ * (bropat) Added new adapter setting "Accept incoming invitations" to automatically accept device invitations
244
+ * (bropat) Added new adapter setting "Alarm sound duration (sec)" used for triggering alarm sound on supported devices/stations ([#76](https://github.com/bropat/ioBroker.eufy-security/issues/76))
245
+ * (bropat) Added enable/disable led setting for camera 1 products
246
+ * (bropat) Added motion detection sensitivity setting for camera 1 products and wired doorbell
247
+ * (bropat) Added motion detection type setting for camera 1 products
248
+ * (bropat) Added motion audio recording setting for camera 1 products and wired doorbell
249
+ * (bropat) Added ringtone volume setting for wired doorbell
250
+ * (bropat) Added enable/disable indoor chime setting for wired doorbell ([#100](https://github.com/bropat/ioBroker.eufy-security/issues/100))
251
+ * (bropat) Added notification ring setting for wired doorbell
252
+ * (bropat) Added notification motion setting for wired doorbell
253
+ * (bropat) Added video streaming quality setting for wired doorbell
254
+ * (bropat) Added video recording quality setting for wired doorbell
255
+ * (bropat) Added video HDR setting for wired doorbell
256
+ * (bropat) Added video distortion correction setting for wired doorbell
257
+ * (bropat) Added video ring recording setting for wired doorbell
258
+ * (bropat) Added notification type setting for camera 1 products, solo cameras and wired doorbell
259
+ * (bropat) Added chirp volume setting for entry sensor
260
+ * (bropat) Added chirp tone setting for entry sensor
261
+ * (bropat) Added pan an tilt functionality to supported indoor cameras ([#129](https://github.com/bropat/ioBroker.eufy-security/issues/129))
262
+ * (bropat) Added error detection if stopping or starting stream that isn't running or already running
263
+ * (bropat) Added new setting "acceptInvitations" to "EufySecurity" to accept invitations automatically
264
+ * (bropat) Added floodlight camera light switch ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
265
+ * (bropat) Added motion detection sensitivity for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
266
+ * (bropat) Added motion detection type for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
267
+ * (bropat) Added motion tracking for indoor camera pan & tilt cameras
268
+ * (bropat) Added video stream quality setting for indoor cameras, solo cameras, floodlight cameras and battery doorbell ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
269
+ * (bropat) Added video recording quality setting for indoor cameras
270
+ * (bropat) Added WDR setting for battery doorbells
271
+ * (bropat) Added microphone mute setting for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
272
+ * (bropat) Added audio recording setting for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
273
+ * (bropat) Added enable/disable speaker setting for indoor cameras, solo cameras, floodlight cameras, camera 2 products ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
274
+ * (bropat) Added speaker volume setting for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
275
+ * (bropat) Added power source setting for camera 2 products cameras, eufy cameras and eufy E cameras
276
+ * (bropat) Added power working mode setting for solo cameras, camera 2 products, battery doorbells, eufy cameras and eufy E cameras
277
+ * (bropat) Added power custom working mode recording clip length setting for solo cameras, floodlight cameras, camera 2 products, battery doorbells, eufy cameras and eufy E cameras ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
278
+ * (bropat) Added power custom working mode recording retrigger interval setting for solo cameras, floodlight cameras, camera 2 products, battery doorbells, eufy cameras and eufy E cameras ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
279
+ * (bropat) Added power custom working mode recording ends if motion stops setting for solo cameras, floodlight cameras, camera 2 products, battery doorbells, eufy cameras and eufy E cameras ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
280
+ * (bropat) Added video streaming quality setting for indoor cameras, solo cameras, floodlight cameras, 2c pro cameras and battery doorbells ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
281
+ * (bropat) Added video recording quality setting for indoor 2k cameras and 2c pro cameras
282
+ * (bropat) Added motion detection sensitivity setting for indoor cameras, floodlight cameras and camera 2 products ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
283
+ * (bropat) Added enable/disable motion tracking setting for indoor pan & tilt cameras
284
+ * (bropat) Added motion detection type setting for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
285
+ * (bropat) Added enable/disable WDR setting for battery doorbells
286
+ * (bropat) Added ringtone volume setting for battery doorbells
287
+ * (bropat) Added enable/disable chime indoor setting for battery doorbells ([#100](https://github.com/bropat/ioBroker.eufy-security/issues/100))
288
+ * (bropat) Added enable/disable chime homebase setting for battery doorbells ([#100](https://github.com/bropat/ioBroker.eufy-security/issues/100))
289
+ * (bropat) Added chime homebase ringtone volume setting for battery doorbells
290
+ * (bropat) Added chime homebase ringtone type setting for battery doorbells
291
+ * (bropat) Added notification type setting for solo cameras, floodlight cameras, camera 2 products, battery doorbells, eufy cameras and eufy E cameras ([#133](https://github.com/bropat/ioBroker.eufy-security/issues/133))
292
+ * (bropat) Added enable/disable person notification setting for indoor cameras
293
+ * (bropat) Added enable/disable pet notification setting for indoor cameras
294
+ * (bropat) Added enable/disable all other motion notification setting for indoor cameras
295
+ * (bropat) Added enable/disable all sound notification setting for indoor cameras
296
+ * (bropat) Added enable/disable crying notification setting for indoor cameras
297
+ * (bropat) Added enable/disable motion notification setting for battery doorbells
298
+ * (bropat) Added enable/disable ring notification setting for battery doorbells
299
+ * (bropat) Added trigger alarm sound for camera 2 products, indoor cameras, solo cameras (incl. new) and floodlight cameras ([#76](https://github.com/bropat/ioBroker.eufy-security/issues/76))
300
+ * (bropat) Added reset alarm sound for camera 2 products, indoor cameras, solo cameras (incl. new) and floodlight cameras ([#76](https://github.com/bropat/ioBroker.eufy-security/issues/76))
301
+ * (bropat) Added trigger alarm sound for homebase 1+2 ([#76](https://github.com/bropat/ioBroker.eufy-security/issues/76))
302
+ * (bropat) Added reset alarm sound for homebase 1+2 ([#76](https://github.com/bropat/ioBroker.eufy-security/issues/76))
303
+ * (bropat) Added alarm tone setting for homebase 1+2
304
+ * (bropat) Added alarm volume setting for homebase 1+2
305
+ * (bropat) Added prompt volume setting for homebase 1+2
306
+ * (bropat) Added time format setting for homebase 1+2
307
+ * (bropat) Added enable/disable switch mode app notification setting for homebase 1+2
308
+ * (bropat) Added enable/disable switch mode geofence notification setting for homebase 1+2
309
+ * (bropat) Added enable/disable switch mode schedule notification setting for homebase 1+2
310
+ * (bropat) Added enable/disable switch mode keypad notification setting for homebase 1+2
311
+ * (bropat) Added enable/disable start alarm delay notification setting for homebase 1+2
312
+ * (bropat) Added new floodlight, solo and outdoor cameras (untested!)
313
+ * (bropat) Added brightness light setting for 2c/2c pro cameras, new solo cameras and new outdoor cameras
314
+ * (bropat) Added enable/disable light setting for 2c/2c pro cameras, new solo cameras and new outdoor cameras
315
+ * (bropat) Added battery charging state for keypad devices
316
+ * (bropat) Added wifi rssi state for keypad devices
317
+ * (bropat) Added nightvision setting for devices supporting the "light" nightvision mode
318
+ * (bropat) Added enable disable "switch mode with access code" for station with registered keypad
319
+ * (bropat) Added enable disable "auto end alarm" for station with registered keypad
320
+ * (bropat) Added enable disable "turn off alarm with button" for station with registered keypad
321
+ * (bropat) Fixed issue [#98](https://github.com/bropat/ioBroker.eufy-security/issues/98)
322
+ * (bropat) Fixed issue [#140](https://github.com/bropat/ioBroker.eufy-security/issues/140)
323
+ * (bropat) Fixed issue [#146](https://github.com/bropat/ioBroker.eufy-security/issues/146)
324
+ * (bropat) Fixed issue [#117](https://github.com/bropat/ioBroker.eufy-security/issues/117)
325
+ * (bropat) Many small bugfixes
326
+ * (bropat) Updated versions of the package dependencies
327
+
328
+ ### 0.5.5 (2021-06-01)
329
+
330
+ * (bropat) Fixed regression in p2p protocol
331
+
332
+ ### 0.5.4 (2021-05-26)
333
+
334
+ * (bropat) Fixed issue with video corruption in p2p livestream
335
+ * (bropat) Updated versions of the package dependencies
336
+
337
+ ### 0.5.3 (2021-05-14)
338
+
339
+ * (bropat) Fixed issue [#121](https://github.com/bropat/ioBroker.eufy-security/issues/121)
340
+ * (bropat) Fixed push notification for indoor and floodlight cams (issue [#130](https://github.com/bropat/ioBroker.eufy-security/issues/130))
341
+ * (bropat) Fixed refresh of properties/settings of standalone devices (issue [#130](https://github.com/bropat/ioBroker.eufy-security/issues/130))
342
+ * (bropat) Updated versions of the package dependencies
343
+
344
+ ### 0.5.2 (2021-04-02)
345
+
346
+ * (bropat) Try to add support for FreeBSD - issue [#106](https://github.com/bropat/ioBroker.eufy-security/issues/106)
347
+ * (bropat) Updated package dependency ffmpeg-static for FreeBSD support
348
+
349
+ ### 0.5.1 (2021-04-01)
350
+
351
+ * (bropat) Fixed issue [#105](https://github.com/bropat/ioBroker.eufy-security/issues/105)
352
+
353
+ ### 0.5.0 (2021-03-30)
354
+
355
+ * (bropat) Added support for smart lock products
356
+ * (bropat) Added new P2P feature: lock/unlock smart lock products
357
+ * (bropat) Optimized speed of P2P connection establishment
358
+ * (bropat) New setting: P2P connection setup preference: local prefered, local only or quickest connection
359
+ * (bropat) Dropped support for NodeJS 10.x (min. requirement 12)
360
+ * (bropat) Updated versions of the package dependencies
361
+
362
+ ### 0.4.3 (2021-03-19)
363
+
364
+ * (bropat) Code enhancements for publishing the adapter to the central repository
365
+ * (bropat) Updated versions of the package dependencies
366
+
367
+ ### 0.4.2 (2021-03-14)
368
+
369
+ * (bropat) Fixed roles of states according to ioBroker documentation
370
+
371
+ ### 0.4.1 (2021-03-14)
372
+
373
+ * (bropat) Removed legacy password encryption support for admin adapter (requires admin adapter >= 4.0.9)
374
+ * (bropat) Added admin adapter as global dependency
375
+ * (bropat) Updated license
376
+
377
+ ### 0.4.0 (2021-03-11)
378
+
379
+ * (bropat) Added handling of adapter updates with breaking changes
380
+ * (bropat) Added new P2P feature: enable/disable pet detection for indoor cameras
381
+ * (bropat) Added new P2P feature: enable/disable sound detection for indoor cameras
382
+ * (bropat) Added new P2P feature: enable/disable led for wired doorbell
383
+ * (bropat) Unlocked state: last_event_video_url
384
+ * (bropat) Fixed parsing of push notification to download video events for battery doorbells and indoor cameras
385
+ * (bropat) Fixed enable/disable device (for wired doorbells, indoor cameras, floodlight camera and solo cameras)
386
+ * (bropat) Fixed enable/disable led (for battery doorbells, indoor cameras, floodlight camera and solo cameras)
387
+ * (bropat) Fixed enable/disable motion detection (for indoor cameras, floodlight camera and solo cameras)
388
+ * (bropat) Fixed change video watermark setting (for indoor cameras and floodlight camera)
389
+ * (bropat) Updated versions of the package dependencies
390
+
391
+ ### 0.3.1 (2021-03-06)
392
+
393
+ * (bropat) Fixed regression on livestream with h265 codec
394
+
395
+ ### 0.3.0 (2021-03-05)
396
+
397
+ * (bropat) Implemented feature request [#88](https://github.com/bropat/ioBroker.eufy-security/issues/88): Enable/disable motion detection for camera products
398
+ * (bropat) Implemented feature request [#81](https://github.com/bropat/ioBroker.eufy-security/issues/81): Enable/disable RTSP stream (added also RTSP stream url)
399
+ * (bropat) Implemented asynchronous download of event videos when receiving a push notification
400
+ * (bropat) Optimized ffmpeg implementation to only muxing video data to HLS
401
+ * (bropat) Optimized HLS livestream video start delay (10-15 sec.)
402
+ * (bropat) Fixed possible race condition with ffmpeg when using fallback to Eufy RTMP live stream
403
+ * (bropat) Fixed issue with livestream when p2p connection is lost
404
+ * (bropat) Updated versions of the package dependencies
405
+
406
+ ### 0.2.5 (2021-02-20)
407
+
408
+ * (bropat) Fixed possible race condition that brokes sometime the livestream
409
+ * (bropat) Updated versions of the package dependencies
410
+
411
+ ### 0.2.4 (2021-02-20)
412
+
413
+ * (bropat) Fixed issue [#86](https://github.com/bropat/ioBroker.eufy-security/issues/86)
414
+ * (bropat) Fixed not correctly identifying if the livestream is still active or not
415
+
416
+ ### 0.2.3 (2021-02-17)
417
+
418
+ * (bropat) Fixed wired doorbell p2p livestream (should fix also indoor, floodlight and solo cameras)
419
+ * (bropat) Fixed issue that treats known push notifications as unknown
420
+ * (bropat) Fixed relative path for state last_event_pic_url
421
+ * (bropat) Updated versions of the package dependencies
422
+
423
+ ### 0.2.2 (2021-02-16)
424
+
425
+ * (bropat) Fixed web extension settings for serving videos and pictures (issue [#79](https://github.com/bropat/ioBroker.eufy-security/issues/78))
426
+
427
+ ### 0.2.1 (2021-02-15)
428
+
429
+ * (bropat) Fixed device_enable state
430
+ * (bropat) Fixed battery doorbell start livestream over p2p (issue [#78](https://github.com/bropat/ioBroker.eufy-security/issues/78))
431
+ * (bropat) Implemented fallback for failed P2P livestream to RTMP livestream
432
+
433
+ ### 0.2.0 (2021-02-14)
434
+
435
+ * (bropat) Implemented P2P livestream over HLS
436
+ * (bropat) Last livestream is always saved and is still available later
437
+ * (bropat) Implemented device and station parameter refresh over P2P
438
+ * (bropat) Revised push notification implementation
439
+ * (bropat) Fixed issue [#71](https://github.com/bropat/ioBroker.eufy-security/issues/71) by implementing retry mechanism on HTTP error 404 (max. 5 retries with increasing delay)
440
+ * (bropat) Fixed issue [#12](https://github.com/bropat/ioBroker.eufy-security/issues/12)
441
+ * (bropat) Eufy client library extracted as standalone library and adapters ported to new shared library: [eufy-security-client](https://www.npmjs.com/package/eufy-security-client)
442
+ * (bropat) Removed following states: last_captured_pic_url, last_captured_pic_html
443
+ * (bropat) Updated versions of the package dependencies
444
+
445
+ ### 0.1.5 (2021-01-14)
446
+
447
+ * (bropat) Fixed issue [#50](https://github.com/bropat/ioBroker.eufy-security/issues/50) and [#53](https://github.com/bropat/ioBroker.eufy-security/issues/53)
448
+ * (bropat) Updated versions of the package dependencies
449
+
450
+ ### 0.1.4 (2021-01-05)
451
+
452
+ * (bropat) Fixed: Accept only valid modes for station guard mode (for invalid mode, an error is logged)
453
+ * (bropat) Fixed reset of an event (motion, ringing, etc.)
454
+ * (bropat) Updated versions of the package dependencies
455
+
456
+ ### 0.1.3 (2021-01-02)
457
+
458
+ * (bropat) Fixed issue [#37](https://github.com/bropat/ioBroker.eufy-security/issues/37) and [#41](https://github.com/bropat/ioBroker.eufy-security/issues/41)
459
+ * (bropat) Updated versions of the package dependencies
460
+
461
+ ### 0.1.2 (2021-01-02)
462
+
463
+ * (bropat) Revised captured_pic_url state (renamed to last_captured_pic_url and added last_captured_pic_html)
464
+ * (bropat) Fixed p2p issue passing wrong user id (action_user_id instead of admin_user_id)
465
+ * (bropat) Revised push notification to properly support doorbell notifications
466
+ * (bropat) Updated versions of the package dependencies
467
+
468
+ ### 0.1.1 (2020-12-29)
469
+
470
+ * (bropat) Fixed issue [#37](https://github.com/bropat/ioBroker.eufy-security/issues/37)
471
+ * (bropat) Fixed version numbering
472
+ * (bropat) Updated versions of the package dependencies
473
+
474
+ ### 0.0.9 (2020-12-28)
475
+
476
+ * (bropat) Finished implementation for feature request: [#1](https://github.com/bropat/ioBroker.eufy-security/issues/1)
477
+ * (bropat) Little progress for feature request: [#5](https://github.com/bropat/ioBroker.eufy-security/issues/5)
478
+ * (bropat) Now supports also cloud P2P communication if local P2P comunication isn't possible
479
+ * (bropat) Implemented set Guard Mode with CMD_SET_PAYLOAD for certain devices
480
+ * (bropat) Added back USA ip addresses for P2P cloud discovery
481
+ * (bropat) Using the correct local time zone for communication with the Eufy Cloud
482
+ * (bropat) HUB filtering by device type 0 (station) removed
483
+ * (bropat) Added documentation for 2FA
484
+ * (bropat) Updated versions of the package dependencies
485
+
486
+ ### 0.0.8 (2020-12-13)
487
+
488
+ * (bropat) Fixed issue [#16](https://github.com/bropat/ioBroker.eufy-security/issues/16)
489
+ * (bropat) P2P communication revisited
490
+ * (bropat) Added reconnect functionality for P2P communication
491
+ * (bropat) Added heartbeat for P2P communication
492
+ * (bropat) Added local caching of last event picture as image url or html image (removed old state: last_camera_url)
493
+ * (bropat) Updated versions of the package dependencies
494
+
495
+ ### 0.0.7 (2020-12-08)
496
+
497
+ * (bropat) Fixed issue [#11](https://github.com/bropat/ioBroker.eufy-security/issues/11)
498
+
499
+ ### 0.0.6 (2020-12-06)
500
+
501
+ * (bropat) Fixed issue [#13](https://github.com/bropat/ioBroker.eufy-security/issues/13)
502
+
503
+ ### 0.0.5 (2020-12-05)
504
+
505
+ * (bropat) Added event states for camera (motion detected, person detected)
506
+ * (bropat) Added event states for entry sensor (open/closed)
507
+ * (bropat) Added event states for motion sensor (motion detected)
508
+ * (bropat) Added event states for doorbell (motion detected, person detected, ringing)
509
+ * (bropat) Added event states for indoor camera (motion detected, person detected, crying detected, sound detected, pet detected)
510
+ * (bropat) Added entry sensor state (online, offline, etc.)
511
+ * (bropat) Added entry sensor low battery
512
+ * (bropat) Added motion sensor state (online, offline, etc.)
513
+ * (bropat) Added motion sensor low battery
514
+ * (bropat) Added keypad state (online, offline, etc.)
515
+ * (bropat) Added keypad low battery
516
+
517
+ ### 0.0.4 (2020-12-03)
518
+
519
+ * (bropat) Better exception handling
520
+ * (bropat) Fixed push token handling
521
+ * (bropat) Added push connection retry mechanism
522
+ * (bropat) Added camera state (online, offline, etc.)
523
+ * (bropat) Added camera wifi RSSI
524
+ * (bropat) Added camera total events since last charge
525
+ * (bropat) Added camera saved/recorded events since last charge
526
+ * (bropat) Added camera filtered false events since last charge
527
+ * (bropat) Added camera used days since last charge
528
+ * (bropat) Added camera battery temperature
529
+
530
+ ### 0.0.3 (2020-11-21)
531
+
532
+ * (bropat) Fixed issue with push notification credentials initialization
533
+
534
+ ### 0.0.2 (2020-11-21)
535
+
536
+ * (bropat) Added push notification support for event notification (raw notifications!)
537
+ * (bropat) Added 2FA (token renewal needs manual intervention)
538
+ * (bropat) Added P2P communication with station (event: Alarm mode change)
539
+ * (bropat) Added more device classes (sensors, locks, keypads) with no actions (at the moment! WIP!)
540
+ * (bropat) Added all eufy camera devices release to date
541
+ * (bropat) Added battery state to eufy cameras
542
+
543
+ ### 0.0.1 (2020-10-04)
544
+
545
+ * (bropat) initial release
546
+
547
+ ## License
548
+
549
+ MIT License
550
+
551
+ Copyright (c) 2021 bropat <patrick.broetto@gmail.com>
552
+
553
+ Permission is hereby granted, free of charge, to any person obtaining a copy
554
+ of this software and associated documentation files (the "Software"), to deal
555
+ in the Software without restriction, including without limitation the rights
556
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
557
+ copies of the Software, and to permit persons to whom the Software is
558
+ furnished to do so, subject to the following conditions:
559
+
560
+ The above copyright notice and this permission notice shall be included in all
561
+ copies or substantial portions of the Software.
562
+
563
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
564
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
565
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
566
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
567
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
568
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
569
+ SOFTWARE.