@homebridge-plugins/homebridge-ewelink 12.4.1 → 12.5.0
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 +118 -112
- package/LICENSE +1 -1
- package/README.md +4 -4
- package/config.schema.json +1 -0
- package/eslint.config.js +0 -2
- package/lib/homebridge-ui/public/index.html +1 -1
- package/package.json +9 -10
package/CHANGELOG.md
CHANGED
|
@@ -2,13 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to homebridge-ewelink will be documented in this file.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## v12.5.0 (2025-07-12)
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
- `MINOR` version when a new device type is added, or when a new feature is added that is backwards-compatible
|
|
9
|
-
- `PATCH` version when backwards-compatible bug fixes are implemented
|
|
7
|
+
⚠️ This plugin no longer officially supports Node `v16` and `v18`, however there is no reason why it shouldn't work on these versions.
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
### Notable Changes
|
|
10
|
+
|
|
11
|
+
- set `strictValidation` to `true` in the config schema file
|
|
12
|
+
|
|
13
|
+
### Other Changes
|
|
14
|
+
|
|
15
|
+
- github repo maintenance
|
|
16
|
+
|
|
17
|
+
## v12.4.1 (2025-03-22)
|
|
12
18
|
|
|
13
19
|
### Changed
|
|
14
20
|
|
|
@@ -18,7 +24,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
18
24
|
|
|
19
25
|
- fix hap-nodejs permissions for hb2
|
|
20
26
|
|
|
21
|
-
##
|
|
27
|
+
## v12.4.0 (2025-02-24)
|
|
22
28
|
|
|
23
29
|
### Added
|
|
24
30
|
|
|
@@ -29,14 +35,14 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
29
35
|
|
|
30
36
|
- updated dependencies
|
|
31
37
|
|
|
32
|
-
##
|
|
38
|
+
## v12.3.3 (2024-10-12)
|
|
33
39
|
|
|
34
40
|
### Changed
|
|
35
41
|
|
|
36
42
|
- added `homepage` to `package.json`
|
|
37
43
|
- updated dependencies
|
|
38
44
|
|
|
39
|
-
##
|
|
45
|
+
## v12.3.2 (2024-10-12)
|
|
40
46
|
|
|
41
47
|
### Changed
|
|
42
48
|
|
|
@@ -47,7 +53,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
47
53
|
|
|
48
54
|
- fixed cases where the plugin would crash when a device update fails
|
|
49
55
|
|
|
50
|
-
##
|
|
56
|
+
## v12.3.1 (2024-07-15)
|
|
51
57
|
|
|
52
58
|
### Changed
|
|
53
59
|
|
|
@@ -57,14 +63,14 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
57
63
|
|
|
58
64
|
- fix `hap-nodejs` api refs
|
|
59
65
|
|
|
60
|
-
##
|
|
66
|
+
## v12.3.0 (2024-07-13)
|
|
61
67
|
|
|
62
68
|
### Added
|
|
63
69
|
|
|
64
70
|
- Support for ZigBee Bridge Ultra with UIID `243`
|
|
65
71
|
- Support for Sonoff TX-4 Ultimate with UIID `212`
|
|
66
72
|
|
|
67
|
-
##
|
|
73
|
+
## v12.2.1 (2024-07-13)
|
|
68
74
|
|
|
69
75
|
### Changed
|
|
70
76
|
|
|
@@ -72,7 +78,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
72
78
|
- Updated dependencies
|
|
73
79
|
- Bump `node` recommended versions to v18.20.4 or v20.15.1
|
|
74
80
|
|
|
75
|
-
##
|
|
81
|
+
## v12.2.0 (2024-03-27)
|
|
76
82
|
|
|
77
83
|
### Added
|
|
78
84
|
|
|
@@ -89,7 +95,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
89
95
|
|
|
90
96
|
- Fix UIID 182/190 power readings
|
|
91
97
|
|
|
92
|
-
##
|
|
98
|
+
## v12.1.0 (2023-12-16)
|
|
93
99
|
|
|
94
100
|
### Added
|
|
95
101
|
|
|
@@ -103,7 +109,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
103
109
|
- Bump `node` recommended versions to v18.19.0 or v20.10.0
|
|
104
110
|
- Updated dependencies
|
|
105
111
|
|
|
106
|
-
##
|
|
112
|
+
## v12.0.0 (2023-10-24)
|
|
107
113
|
|
|
108
114
|
### Added
|
|
109
115
|
|
|
@@ -119,7 +125,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
119
125
|
|
|
120
126
|
- Support for node 16
|
|
121
127
|
|
|
122
|
-
##
|
|
128
|
+
## v11.0.2 (2023-08-28)
|
|
123
129
|
|
|
124
130
|
⚠️ Note this will be the last version of the plugin to support Node 16.
|
|
125
131
|
- Node 16 moves to 'end of life' on 2023-09-11 ([more info](https://nodejs.org/en/blog/announcements/nodejs16-eol))
|
|
@@ -130,14 +136,14 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
130
136
|
|
|
131
137
|
- Update `axios` to `v1.5.0`
|
|
132
138
|
|
|
133
|
-
##
|
|
139
|
+
## v11.0.1 (2023-08-19)
|
|
134
140
|
|
|
135
141
|
### Changed
|
|
136
142
|
|
|
137
143
|
- Bump `node` recommended versions to v16.20.2 or v18.17.1 or v20.5.1
|
|
138
144
|
- Some code refactoring
|
|
139
145
|
|
|
140
|
-
##
|
|
146
|
+
## v11.0.0 (2023-07-24)
|
|
141
147
|
|
|
142
148
|
### Added
|
|
143
149
|
|
|
@@ -159,7 +165,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
159
165
|
- Bump `node` recommended versions to v16.20.1 or v18.17.0 or v20.5.0
|
|
160
166
|
- Updated dependencies
|
|
161
167
|
|
|
162
|
-
##
|
|
168
|
+
## v10.4.0 (2023-01-07)
|
|
163
169
|
|
|
164
170
|
### Added
|
|
165
171
|
|
|
@@ -176,7 +182,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
176
182
|
|
|
177
183
|
- Power readings for POWR320 now show correctly
|
|
178
184
|
|
|
179
|
-
##
|
|
185
|
+
## v10.3.0 (2022-11-11)
|
|
180
186
|
|
|
181
187
|
### Added
|
|
182
188
|
|
|
@@ -187,7 +193,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
187
193
|
- Bump `node` recommended versions to v14.21.1 or v16.18.1 or v18.12.1
|
|
188
194
|
- Bump `ws` to v8.11.0
|
|
189
195
|
|
|
190
|
-
##
|
|
196
|
+
## v10.2.0 (2022-10-09)
|
|
191
197
|
|
|
192
198
|
### Added
|
|
193
199
|
|
|
@@ -207,7 +213,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
207
213
|
|
|
208
214
|
- Incorrectly exposing Sonoff M5 devices as programmable switches
|
|
209
215
|
|
|
210
|
-
##
|
|
216
|
+
## v10.1.0 (2022-09-25)
|
|
211
217
|
|
|
212
218
|
### Added
|
|
213
219
|
|
|
@@ -229,7 +235,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
229
235
|
- Bump `ws` to v8.9.0
|
|
230
236
|
- Updated dev dependencies
|
|
231
237
|
|
|
232
|
-
##
|
|
238
|
+
## v10.0.0 (2022-07-08)
|
|
233
239
|
|
|
234
240
|
⚠️ After updating to this version:
|
|
235
241
|
- Each time you start the plugin, you will be logged out the eWeLink app, and so I would recommend:
|
|
@@ -244,7 +250,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
244
250
|
|
|
245
251
|
- Bump `node` recommended versions to v14.20.0 or v16.16.0
|
|
246
252
|
|
|
247
|
-
##
|
|
253
|
+
## v9.1.0 (2022-07-07)
|
|
248
254
|
|
|
249
255
|
⚠️ This update may remove some devices from your Homebridge instance. Unfortunately this is out my control. See [this link](https://github.com/homebridge-plugins/homebridge-ewelink/issues/385#issuecomment-1176457283).
|
|
250
256
|
|
|
@@ -257,7 +263,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
257
263
|
- Bump `ws` to v8.8.0
|
|
258
264
|
- Updated dev dependencies
|
|
259
265
|
|
|
260
|
-
##
|
|
266
|
+
## v9.0.1 (2022-06-08)
|
|
261
267
|
|
|
262
268
|
### Changed
|
|
263
269
|
|
|
@@ -267,7 +273,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
267
273
|
|
|
268
274
|
- A potential issue showing errors in the logs
|
|
269
275
|
|
|
270
|
-
##
|
|
276
|
+
## v9.0.0 (2022-05-29)
|
|
271
277
|
|
|
272
278
|
### Potentially Breaking Changes
|
|
273
279
|
|
|
@@ -279,7 +285,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
279
285
|
- Changed to ESM package
|
|
280
286
|
- Bump `node` recommended versions to v14.19.3 or v16.15.0
|
|
281
287
|
|
|
282
|
-
##
|
|
288
|
+
## v8.15.0 (2022-05-02)
|
|
283
289
|
|
|
284
290
|
### Added
|
|
285
291
|
|
|
@@ -296,7 +302,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
296
302
|
- Bump `ws` to v8.6.0
|
|
297
303
|
- Bump `node` recommended versions to v14.19.1 or v16.15.0
|
|
298
304
|
|
|
299
|
-
##
|
|
305
|
+
## v8.14.0 (2022-04-17)
|
|
300
306
|
|
|
301
307
|
### Added
|
|
302
308
|
|
|
@@ -305,20 +311,20 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
305
311
|
- Sonoff MINIR3 (UIID 138 devices) (also supports LAN mode)
|
|
306
312
|
- Sonoff S-Mate (UIID 177 devices) as a Stateless Programmable Sensor
|
|
307
313
|
|
|
308
|
-
##
|
|
314
|
+
## v8.13.2 (2022-04-03)
|
|
309
315
|
|
|
310
316
|
### Changed
|
|
311
317
|
|
|
312
318
|
- Updated dependencies
|
|
313
319
|
|
|
314
|
-
##
|
|
320
|
+
## v8.13.1 (2022-03-20)
|
|
315
321
|
|
|
316
322
|
### Changed
|
|
317
323
|
|
|
318
324
|
- Bump `axios` to v0.26.1
|
|
319
325
|
- Bump `node` recommended versions to v14.19.1 or v16.14.2
|
|
320
326
|
|
|
321
|
-
##
|
|
327
|
+
## v8.13.0 (2022-02-23)
|
|
322
328
|
|
|
323
329
|
### Added
|
|
324
330
|
|
|
@@ -328,7 +334,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
328
334
|
|
|
329
335
|
- Bump `axios` to v0.26.0
|
|
330
336
|
|
|
331
|
-
##
|
|
337
|
+
## v8.12.0 (2022-02-12)
|
|
332
338
|
|
|
333
339
|
### Added
|
|
334
340
|
|
|
@@ -342,7 +348,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
342
348
|
- Bump `homebridge` recommended version to v1.4.0
|
|
343
349
|
- Bump `ws` to v8.5.0
|
|
344
350
|
|
|
345
|
-
##
|
|
351
|
+
## v8.11.2 (2022-01-23)
|
|
346
352
|
|
|
347
353
|
### Changed
|
|
348
354
|
|
|
@@ -352,7 +358,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
352
358
|
|
|
353
359
|
- Fix LAN mode support for iFan04
|
|
354
360
|
|
|
355
|
-
##
|
|
361
|
+
## v8.11.1 (2022-01-15)
|
|
356
362
|
|
|
357
363
|
### Changed
|
|
358
364
|
|
|
@@ -362,7 +368,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
362
368
|
|
|
363
369
|
- `undefined` log message on web socket error
|
|
364
370
|
|
|
365
|
-
##
|
|
371
|
+
## v8.11.0 (2022-01-13)
|
|
366
372
|
|
|
367
373
|
### Added
|
|
368
374
|
|
|
@@ -377,7 +383,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
377
383
|
|
|
378
384
|
- Minor colour temperature issue for Mangotek RLD60C0E27 (UIID 33)
|
|
379
385
|
|
|
380
|
-
##
|
|
386
|
+
## v8.10.0 (2022-01-07)
|
|
381
387
|
|
|
382
388
|
### Added
|
|
383
389
|
|
|
@@ -389,20 +395,20 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
389
395
|
|
|
390
396
|
- Plugin crash for older versions of Homebridge
|
|
391
397
|
|
|
392
|
-
##
|
|
398
|
+
## v8.9.1 (2022-01-05)
|
|
393
399
|
|
|
394
400
|
### Changed
|
|
395
401
|
|
|
396
402
|
- Plugin will log HAPNodeJS version on startup
|
|
397
403
|
- Bump `homebridge` recommended version to v1.3.9
|
|
398
404
|
|
|
399
|
-
##
|
|
405
|
+
## v8.9.0 (2021-12-27)
|
|
400
406
|
|
|
401
407
|
### Added
|
|
402
408
|
|
|
403
409
|
- Option to show both 'Heat' and 'Cool' modes for the TH10/16 thermostat simulation
|
|
404
410
|
|
|
405
|
-
##
|
|
411
|
+
## v8.8.0 (2021-12-21)
|
|
406
412
|
|
|
407
413
|
### Added
|
|
408
414
|
|
|
@@ -420,13 +426,13 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
420
426
|
- Some config options rearranged for easier access
|
|
421
427
|
- Bump `ws` to v8.4.0
|
|
422
428
|
|
|
423
|
-
##
|
|
429
|
+
## v8.7.1 (2021-12-09)
|
|
424
430
|
|
|
425
431
|
### Fixed
|
|
426
432
|
|
|
427
433
|
- Show 'Hide Channels' and 'Inched Channels' in config schema form even when no 'Show As' is selected
|
|
428
434
|
|
|
429
|
-
##
|
|
435
|
+
## v8.7.0 (2021-12-08)
|
|
430
436
|
|
|
431
437
|
### Added
|
|
432
438
|
|
|
@@ -445,7 +451,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
445
451
|
|
|
446
452
|
- Potential uncaught errors updating subdevices of an RF bridge
|
|
447
453
|
|
|
448
|
-
##
|
|
454
|
+
## v8.6.0 (2021-11-18)
|
|
449
455
|
|
|
450
456
|
### Added
|
|
451
457
|
|
|
@@ -457,20 +463,20 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
457
463
|
|
|
458
464
|
- An issue initialising a 2-Garage-Door simulation
|
|
459
465
|
|
|
460
|
-
##
|
|
466
|
+
## v8.5.0 (2021-11-03)
|
|
461
467
|
|
|
462
468
|
### Added
|
|
463
469
|
|
|
464
470
|
- Ability to use a contact sensor simulation to show the correct state of a garage door/lock simulation
|
|
465
471
|
|
|
466
|
-
##
|
|
472
|
+
## v8.4.2 (2021-10-31)
|
|
467
473
|
|
|
468
474
|
### Changed
|
|
469
475
|
|
|
470
476
|
- Bump `node` recommended versions to v14.18.1 or v16.13.0
|
|
471
477
|
- Bump `axios` to v0.24.0
|
|
472
478
|
|
|
473
|
-
##
|
|
479
|
+
## v8.4.1 (2021-10-20)
|
|
474
480
|
|
|
475
481
|
### Changed
|
|
476
482
|
|
|
@@ -480,7 +486,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
480
486
|
|
|
481
487
|
- An Eve app 'no data' gap for garage and contact sensor devices when restarting the plugin
|
|
482
488
|
|
|
483
|
-
##
|
|
489
|
+
## v8.4.0 (2021-10-16)
|
|
484
490
|
|
|
485
491
|
### Added
|
|
486
492
|
|
|
@@ -498,31 +504,31 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
498
504
|
|
|
499
505
|
- An error when trying to unregister a hidden accessory from Homebridge
|
|
500
506
|
|
|
501
|
-
##
|
|
507
|
+
## v8.3.6 (2021-10-01)
|
|
502
508
|
|
|
503
509
|
### Changed
|
|
504
510
|
|
|
505
511
|
- Bump `ws` to v8.2.3
|
|
506
512
|
|
|
507
|
-
##
|
|
513
|
+
## v8.3.5 (2021-10-01)
|
|
508
514
|
|
|
509
515
|
### Changed
|
|
510
516
|
|
|
511
517
|
- Bump `axios` to v0.22.0
|
|
512
518
|
|
|
513
|
-
##
|
|
519
|
+
## v8.3.4 (2021-09-30)
|
|
514
520
|
|
|
515
521
|
### Changed
|
|
516
522
|
|
|
517
523
|
- Recommended node versions bumped to v14.18.0 or v16.10.0
|
|
518
524
|
|
|
519
|
-
##
|
|
525
|
+
## v8.3.3 (2021-09-14)
|
|
520
526
|
|
|
521
527
|
## Fixed
|
|
522
528
|
|
|
523
529
|
- Fixed an issue where an irrigation valve simulation would not turn off after the set time
|
|
524
530
|
|
|
525
|
-
##
|
|
531
|
+
## v8.3.2 (2021-09-09)
|
|
526
532
|
|
|
527
533
|
### Changed
|
|
528
534
|
|
|
@@ -530,7 +536,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
530
536
|
- Bump `axios` to v0.21.4
|
|
531
537
|
- Bump `ws` to v8.2.2
|
|
532
538
|
|
|
533
|
-
##
|
|
539
|
+
## v8.3.1 (2021-09-05)
|
|
534
540
|
|
|
535
541
|
### Changed
|
|
536
542
|
|
|
@@ -538,7 +544,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
538
544
|
- Bump `axios` to v0.21.3
|
|
539
545
|
- Bump `ws` to v8.2.1
|
|
540
546
|
|
|
541
|
-
##
|
|
547
|
+
## v8.3.0 (2021-08-26)
|
|
542
548
|
|
|
543
549
|
### Added
|
|
544
550
|
|
|
@@ -550,7 +556,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
550
556
|
|
|
551
557
|
- 'Status By Inching' switches will no longer revert to 'off' when Homebridge is restarted
|
|
552
558
|
|
|
553
|
-
##
|
|
559
|
+
## v8.2.1 (2021-08-22)
|
|
554
560
|
|
|
555
561
|
### Changed
|
|
556
562
|
|
|
@@ -561,33 +567,33 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
561
567
|
- An issue preventing DUALR3 from initialising
|
|
562
568
|
- Fix for uiid `112`
|
|
563
569
|
|
|
564
|
-
##
|
|
570
|
+
## v8.2.0 (2021-08-22)
|
|
565
571
|
|
|
566
572
|
### Added
|
|
567
573
|
|
|
568
574
|
- Support for UIIDs `138` `139` `140` `141`
|
|
569
575
|
|
|
570
|
-
##
|
|
576
|
+
## v8.1.0 (2021-08-17)
|
|
571
577
|
|
|
572
578
|
### Added
|
|
573
579
|
|
|
574
580
|
- `inchChannels` option for multi-channel switches and outlets (where the plugin will set on/off status based on inching)
|
|
575
581
|
- `language` option to have the plugin log in French, thanks to @jp-lno
|
|
576
582
|
|
|
577
|
-
##
|
|
583
|
+
## v8.0.2 (2021-08-12)
|
|
578
584
|
|
|
579
585
|
### Changed
|
|
580
586
|
|
|
581
587
|
- **Platform Versions**
|
|
582
588
|
- Recommended node version bumped to v14.17.5
|
|
583
589
|
|
|
584
|
-
##
|
|
590
|
+
## v8.0.1 (2021-08-04)
|
|
585
591
|
|
|
586
592
|
### Changed
|
|
587
593
|
|
|
588
594
|
- Improved battery calculations for DW2 sensors
|
|
589
595
|
|
|
590
|
-
##
|
|
596
|
+
## v8.0.0 (2021-07-29)
|
|
591
597
|
|
|
592
598
|
### Important Note
|
|
593
599
|
|
|
@@ -628,7 +634,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
628
634
|
- ⚠️ `ignoredDevices` configuration setting - now use the `ignoreDevice` option in the device type sections
|
|
629
635
|
- ⚠️ `groups` configuration setting - now use the `showAs` option in the device type sections
|
|
630
636
|
|
|
631
|
-
##
|
|
637
|
+
## v7.1.0 (2021-07-10)
|
|
632
638
|
|
|
633
639
|
### Added
|
|
634
640
|
|
|
@@ -642,13 +648,13 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
642
648
|
- A device can now be ignored/removed from Homebridge by the `ignoreDevice` setting in the device configuration sections
|
|
643
649
|
- Bump `ws` dependency to v7.5.3
|
|
644
650
|
|
|
645
|
-
##
|
|
651
|
+
## v7.0.2 (2021-07-08)
|
|
646
652
|
|
|
647
653
|
### Changes
|
|
648
654
|
|
|
649
655
|
- Revert node version bump to v14.17.3 (back to v14.17.2)
|
|
650
656
|
|
|
651
|
-
###
|
|
657
|
+
### v7.0.1 (2021-07-08)
|
|
652
658
|
|
|
653
659
|
### Changes
|
|
654
660
|
|
|
@@ -658,7 +664,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
658
664
|
|
|
659
665
|
- An issue preventing garage doors and locks with a defined sensor from initialising
|
|
660
666
|
|
|
661
|
-
##
|
|
667
|
+
## v7.0.0 (2021-07-08)
|
|
662
668
|
|
|
663
669
|
### Important Notes
|
|
664
670
|
|
|
@@ -763,7 +769,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
763
769
|
- `switchDevices[].showAsOutlet` removed - use `switchDevices[].showAs` instead
|
|
764
770
|
- `ContactSensorState` and other unneeded characteristics from garage (simulation) services
|
|
765
771
|
|
|
766
|
-
##
|
|
772
|
+
## v6.8.0 (2021-06-14)
|
|
767
773
|
|
|
768
774
|
### Added
|
|
769
775
|
|
|
@@ -790,14 +796,14 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
790
796
|
|
|
791
797
|
- Fix a logging issue for the zigbee contact sensor
|
|
792
798
|
|
|
793
|
-
##
|
|
799
|
+
## v6.7.1 (2021-05-27)
|
|
794
800
|
|
|
795
801
|
### Fixed
|
|
796
802
|
|
|
797
803
|
- Fixes an issue with sensors with a garage simulation
|
|
798
804
|
- Fixes an issue with TH10/16 devices with web socket timeouts
|
|
799
805
|
|
|
800
|
-
##
|
|
806
|
+
## v6.7.0 (2021-05-26)
|
|
801
807
|
|
|
802
808
|
### Added
|
|
803
809
|
|
|
@@ -817,7 +823,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
817
823
|
|
|
818
824
|
- Fix internal API auth issue when using a base64 encoded password
|
|
819
825
|
|
|
820
|
-
##
|
|
826
|
+
## v6.6.0 (2021-05-10)
|
|
821
827
|
|
|
822
828
|
### Added
|
|
823
829
|
|
|
@@ -842,7 +848,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
842
848
|
|
|
843
849
|
- Fixes an issue where the web socket would not close on plugin shutdown
|
|
844
850
|
|
|
845
|
-
##
|
|
851
|
+
## v6.5.1 (2021-05-07)
|
|
846
852
|
|
|
847
853
|
### Changed
|
|
848
854
|
|
|
@@ -853,7 +859,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
853
859
|
|
|
854
860
|
- Fixes an initialisation issue with the 'garage' and 'obstruction detection' switch simulations
|
|
855
861
|
|
|
856
|
-
##
|
|
862
|
+
## v6.5.0 (2021-05-06)
|
|
857
863
|
|
|
858
864
|
### Added
|
|
859
865
|
|
|
@@ -864,7 +870,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
864
870
|
- Any higher integer to enable the API on this fixed port
|
|
865
871
|
- Documentation for the API can be seen at the base url (Homebridge IP + API port)
|
|
866
872
|
|
|
867
|
-
##
|
|
873
|
+
## v6.4.0 (2021-05-04)
|
|
868
874
|
|
|
869
875
|
### Added
|
|
870
876
|
|
|
@@ -884,7 +890,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
884
890
|
- Accessory 'identify' function will now add an entry to the log
|
|
885
891
|
- Backend refactoring, function and variable name changes
|
|
886
892
|
|
|
887
|
-
##
|
|
893
|
+
## v6.3.0 (2021-04-28)
|
|
888
894
|
|
|
889
895
|
### Added
|
|
890
896
|
|
|
@@ -897,7 +903,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
897
903
|
- Increase ws timeout from 5 to 6 seconds
|
|
898
904
|
- Decrease lan-only timeout from 10 to 9 seconds
|
|
899
905
|
|
|
900
|
-
##
|
|
906
|
+
## v6.2.2 (2021-04-27)
|
|
901
907
|
|
|
902
908
|
### Changed
|
|
903
909
|
|
|
@@ -907,14 +913,14 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
907
913
|
- Automatically retry eWeLink login on startup in case of certain error codes
|
|
908
914
|
- Update package description (remove 'with original firmware' as this is redundant for eWeLink devices)
|
|
909
915
|
|
|
910
|
-
##
|
|
916
|
+
## v6.2.1 (2021-04-18)
|
|
911
917
|
|
|
912
918
|
### Changed
|
|
913
919
|
|
|
914
920
|
- Trim new lines and spaces from password when decoded from base64
|
|
915
921
|
- Updated dependencies (`ws`)
|
|
916
922
|
|
|
917
|
-
##
|
|
923
|
+
## v6.2.0 (2021-04-16)
|
|
918
924
|
|
|
919
925
|
### Added
|
|
920
926
|
|
|
@@ -935,19 +941,19 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
935
941
|
|
|
936
942
|
- Fix characteristic NaN warning for `LastActivation`
|
|
937
943
|
|
|
938
|
-
##
|
|
944
|
+
## v6.1.2 (2021-04-14)
|
|
939
945
|
|
|
940
946
|
### Fixed
|
|
941
947
|
|
|
942
948
|
- Remove any existing humidity sensor for TH10/16 if DS18B20 sensor is used
|
|
943
949
|
|
|
944
|
-
##
|
|
950
|
+
## v6.1.1 (2021-04-13)
|
|
945
951
|
|
|
946
952
|
### Fixed
|
|
947
953
|
|
|
948
954
|
- Fixed an unhandled rejection error when controlling certain CCT bulbs
|
|
949
955
|
|
|
950
|
-
##
|
|
956
|
+
## v6.1.0 (2021-04-12)
|
|
951
957
|
|
|
952
958
|
### Added
|
|
953
959
|
|
|
@@ -960,20 +966,20 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
960
966
|
- No more characteristic warnings for `LastActivation` for motion and contact sensors
|
|
961
967
|
- Removed logs for 'not triggered' if device has since been triggered again
|
|
962
968
|
|
|
963
|
-
##
|
|
969
|
+
## v6.0.3 (2021-04-08)
|
|
964
970
|
|
|
965
971
|
### Fixed
|
|
966
972
|
|
|
967
973
|
- Revert 'No Response' messages for **DW2** devices as they go on and offline
|
|
968
974
|
- Fixed the interval time length for calculating total energy consumption for relevant devices
|
|
969
975
|
|
|
970
|
-
##
|
|
976
|
+
## v6.0.2 (2021-04-07)
|
|
971
977
|
|
|
972
978
|
### Changed
|
|
973
979
|
|
|
974
980
|
- Revert 'No Response' messages for **DW2** devices as they go on and offline
|
|
975
981
|
|
|
976
|
-
##
|
|
982
|
+
## v6.0.1 (2021-04-07)
|
|
977
983
|
|
|
978
984
|
### Requirements
|
|
979
985
|
|
|
@@ -996,7 +1002,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
996
1002
|
|
|
997
1003
|
- Fixes a caching issue with the iFan accessory
|
|
998
1004
|
|
|
999
|
-
##
|
|
1005
|
+
## v5.6.0 (2021-03-25)
|
|
1000
1006
|
|
|
1001
1007
|
### Added
|
|
1002
1008
|
|
|
@@ -1011,7 +1017,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1011
1017
|
- A new web socket address will be requested if the provided address causes errors
|
|
1012
1018
|
- In particular this should fix the `ENOTFOUND as-pconnect4.coolkit.cc` error that some users in the Asia continent were receiving
|
|
1013
1019
|
|
|
1014
|
-
##
|
|
1020
|
+
## v5.5.1 (2021-03-21)
|
|
1015
1021
|
|
|
1016
1022
|
### Changed
|
|
1017
1023
|
|
|
@@ -1019,7 +1025,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1019
1025
|
- More welcome messages
|
|
1020
1026
|
- Updated `plugin-ui-utils` dependency
|
|
1021
1027
|
|
|
1022
|
-
##
|
|
1028
|
+
## v5.5.0 (2021-03-17)
|
|
1023
1029
|
|
|
1024
1030
|
### Added
|
|
1025
1031
|
|
|
@@ -1036,7 +1042,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1036
1042
|
- Updated links on plugin-ui to match GitHub wiki
|
|
1037
1043
|
- [backend] Eve characteristics abstracted into separate file for better efficiency
|
|
1038
1044
|
|
|
1039
|
-
##
|
|
1045
|
+
## v5.4.0 (2021-03-14)
|
|
1040
1046
|
|
|
1041
1047
|
### Added
|
|
1042
1048
|
|
|
@@ -1048,7 +1054,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1048
1054
|
|
|
1049
1055
|
- Attempt to fix outlet polling updates so the device reports updated info rather than the previous info.
|
|
1050
1056
|
|
|
1051
|
-
##
|
|
1057
|
+
## v5.3.0 (2021-03-10)
|
|
1052
1058
|
|
|
1053
1059
|
### Added
|
|
1054
1060
|
|
|
@@ -1061,7 +1067,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1061
1067
|
- For this reason, the `exposeContactSensor` setting is now redundant and so has been removed
|
|
1062
1068
|
- Outlet intervals for energy calculation and updates will stop on Homebridge shutdown
|
|
1063
1069
|
|
|
1064
|
-
##
|
|
1070
|
+
## v5.2.0 (2021-03-08)
|
|
1065
1071
|
|
|
1066
1072
|
### Added
|
|
1067
1073
|
|
|
@@ -1079,13 +1085,13 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1079
1085
|
|
|
1080
1086
|
- Fixes a `multiple callback` error with CCT bulb accessories
|
|
1081
1087
|
|
|
1082
|
-
##
|
|
1088
|
+
## v5.1.1 (2021-03-02)
|
|
1083
1089
|
|
|
1084
1090
|
### Fixed
|
|
1085
1091
|
|
|
1086
1092
|
- Fixes an issue sending LAN updates to multi-channel devices
|
|
1087
1093
|
|
|
1088
|
-
##
|
|
1094
|
+
## v5.1.0 (2021-03-02)
|
|
1089
1095
|
|
|
1090
1096
|
### Added
|
|
1091
1097
|
|
|
@@ -1103,46 +1109,46 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1103
1109
|
|
|
1104
1110
|
- Less strict threshold for determining a 'significant' colour change for disabling Adaptive Lighting
|
|
1105
1111
|
|
|
1106
|
-
##
|
|
1112
|
+
## v5.0.6 (2021-02-26)
|
|
1107
1113
|
|
|
1108
1114
|
### Fixed
|
|
1109
1115
|
|
|
1110
1116
|
- Removes the extra _Switch_ service that was accidentally added to certain bulbs
|
|
1111
1117
|
|
|
1112
|
-
##
|
|
1118
|
+
## v5.0.5 (2021-02-25)
|
|
1113
1119
|
|
|
1114
1120
|
### Changed
|
|
1115
1121
|
|
|
1116
1122
|
- Reverse the polarity of the leak sensor simulation
|
|
1117
1123
|
- You can expose a DW2 sensor as a leak sensor using [this guide](https://www.youtube.com/watch?v=YFu2LZfrrqs) as an Accessory Simulation
|
|
1118
1124
|
|
|
1119
|
-
##
|
|
1125
|
+
## v5.0.4 (2021-02-24)
|
|
1120
1126
|
|
|
1121
1127
|
### Changed
|
|
1122
1128
|
|
|
1123
1129
|
- Plugin will check that certain Accessory Simulations have been setup with the device type
|
|
1124
1130
|
- Hide IP address field in plugin settings if plugin `mode` is set to `wan`
|
|
1125
1131
|
|
|
1126
|
-
##
|
|
1132
|
+
## v5.0.3 (2021-02-24)
|
|
1127
1133
|
|
|
1128
1134
|
### Changed
|
|
1129
1135
|
|
|
1130
1136
|
- Remove old _Switch_ services when setting up Accessory Simulations
|
|
1131
1137
|
- Add the type of Accessory Simulation to the logged options on restart
|
|
1132
1138
|
|
|
1133
|
-
##
|
|
1139
|
+
## v5.0.2 (2021-02-24)
|
|
1134
1140
|
|
|
1135
1141
|
### Fixed
|
|
1136
1142
|
|
|
1137
1143
|
- Fixes an issue initialising Accessory Simulation Lock devices
|
|
1138
1144
|
|
|
1139
|
-
##
|
|
1145
|
+
## v5.0.1 (2021-02-24)
|
|
1140
1146
|
|
|
1141
1147
|
### Fixed
|
|
1142
1148
|
|
|
1143
1149
|
- Fixes an issue initialising Contact Sensor devices
|
|
1144
1150
|
|
|
1145
|
-
##
|
|
1151
|
+
## v5.0.0 (2021-02-24)
|
|
1146
1152
|
|
|
1147
1153
|
- ⚠️ This release includes an overhaul of the settings in particular to specific device configuration
|
|
1148
1154
|
- The following options have been replaced:
|
|
@@ -1183,25 +1189,25 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1183
1189
|
|
|
1184
1190
|
- Fixes a characteristic warning for _MotionDetected_ for Zigbee Motion Sensors
|
|
1185
1191
|
|
|
1186
|
-
##
|
|
1192
|
+
## v4.7.6 (2021-02-17)
|
|
1187
1193
|
|
|
1188
1194
|
### Fixed
|
|
1189
1195
|
|
|
1190
1196
|
- Fixes an issue with the DW2 detecting garage door states
|
|
1191
1197
|
|
|
1192
|
-
##
|
|
1198
|
+
## v4.7.5 (2021-02-15)
|
|
1193
1199
|
|
|
1194
1200
|
### Changed
|
|
1195
1201
|
|
|
1196
1202
|
- Fixes an issue with the DW2 detecting garage door states
|
|
1197
1203
|
|
|
1198
|
-
##
|
|
1204
|
+
## v4.7.4 (2021-02-15)
|
|
1199
1205
|
|
|
1200
1206
|
### Fixed
|
|
1201
1207
|
|
|
1202
1208
|
- Fixes an issue when using custom RF sensors
|
|
1203
1209
|
|
|
1204
|
-
##
|
|
1210
|
+
## v4.7.3 (2021-02-13)
|
|
1205
1211
|
|
|
1206
1212
|
### Changed
|
|
1207
1213
|
|
|
@@ -1212,14 +1218,14 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1212
1218
|
- Lighter colours appear brighter
|
|
1213
1219
|
- Solid red is now easier to obtain via the Home app
|
|
1214
1220
|
|
|
1215
|
-
##
|
|
1221
|
+
## v4.7.2 (2021-02-12)
|
|
1216
1222
|
|
|
1217
1223
|
### Fixed
|
|
1218
1224
|
|
|
1219
1225
|
- Fixes a bug where config items separated by a comma weren't adhered to properly
|
|
1220
1226
|
- Stop subsequent warning messages if a device fails to initialise
|
|
1221
1227
|
|
|
1222
|
-
##
|
|
1228
|
+
## v4.7.1 (2021-02-11)
|
|
1223
1229
|
|
|
1224
1230
|
### Changed
|
|
1225
1231
|
|
|
@@ -1233,7 +1239,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1233
1239
|
|
|
1234
1240
|
- Fixed a bug when initialising lock accessory simulations
|
|
1235
1241
|
|
|
1236
|
-
##
|
|
1242
|
+
## v4.7.0 (2021-02-10)
|
|
1237
1243
|
|
|
1238
1244
|
### Added
|
|
1239
1245
|
|
|
@@ -1267,14 +1273,14 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1267
1273
|
- Fixed a bug where Adaptive Lighting would not be disabled if the colour was changed from the eWeLink app
|
|
1268
1274
|
- Fixed an issue with the 'Lock' Accessory Simulation where the status would never update as 'Unlocked'
|
|
1269
1275
|
|
|
1270
|
-
##
|
|
1276
|
+
## v4.6.1 (2021-02-02)
|
|
1271
1277
|
|
|
1272
1278
|
### Changed
|
|
1273
1279
|
|
|
1274
1280
|
- Extra debug logging for WS reconnection status
|
|
1275
1281
|
- Updated `ws` dependency to v7.4.3
|
|
1276
1282
|
|
|
1277
|
-
##
|
|
1283
|
+
## v4.6.0 (2021-01-30)
|
|
1278
1284
|
|
|
1279
1285
|
### Added
|
|
1280
1286
|
|
|
@@ -1287,7 +1293,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1287
1293
|
- Increase the timeout for LAN control to 10 seconds for LAN only settings
|
|
1288
1294
|
- Show LAN update errors in the log
|
|
1289
1295
|
|
|
1290
|
-
##
|
|
1296
|
+
## v4.5.1 (2021-01-28)
|
|
1291
1297
|
|
|
1292
1298
|
### Changed
|
|
1293
1299
|
|
|
@@ -1298,7 +1304,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1298
1304
|
|
|
1299
1305
|
- Fixes an issue where RF sensors would not use a custom defined type (again!)
|
|
1300
1306
|
|
|
1301
|
-
##
|
|
1307
|
+
## v4.5.0 (2021-01-28)
|
|
1302
1308
|
|
|
1303
1309
|
### Added
|
|
1304
1310
|
|
|
@@ -1314,25 +1320,25 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1314
1320
|
- Fix for TH10/16 devices (shown as thermostat) where the plugin would not show the current state of the device
|
|
1315
1321
|
- Fix for the display of watts/amps/volts for outlets that support this
|
|
1316
1322
|
|
|
1317
|
-
##
|
|
1323
|
+
## v4.4.5 (2021-01-24)
|
|
1318
1324
|
|
|
1319
1325
|
### Fixed
|
|
1320
1326
|
|
|
1321
1327
|
- Fix where the battery for DW2 device would not update
|
|
1322
1328
|
|
|
1323
|
-
##
|
|
1329
|
+
## v4.4.4 (2021-01-24)
|
|
1324
1330
|
|
|
1325
1331
|
### Changed
|
|
1326
1332
|
|
|
1327
1333
|
- Backend - better handling of errors
|
|
1328
1334
|
|
|
1329
|
-
##
|
|
1335
|
+
## v4.4.3 (2021-01-20)
|
|
1330
1336
|
|
|
1331
1337
|
### Fixed
|
|
1332
1338
|
|
|
1333
1339
|
- Fixes an issue where RF sensors would not use a custom defined type
|
|
1334
1340
|
|
|
1335
|
-
##
|
|
1341
|
+
## v4.4.2 (2021-01-20)
|
|
1336
1342
|
|
|
1337
1343
|
### Changed
|
|
1338
1344
|
|
|
@@ -1342,13 +1348,13 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1342
1348
|
|
|
1343
1349
|
- Fixes an issue when adding new RF bridge devices
|
|
1344
1350
|
|
|
1345
|
-
##
|
|
1351
|
+
## v4.4.1 (2021-01-20)
|
|
1346
1352
|
|
|
1347
1353
|
### Changed
|
|
1348
1354
|
|
|
1349
1355
|
- Fakegato logging disabled in Homebridge `debug` mode, can be explicitly enabled with `debugFakegato`
|
|
1350
1356
|
|
|
1351
|
-
##
|
|
1357
|
+
## v4.4.0 (2021-01-14)
|
|
1352
1358
|
|
|
1353
1359
|
### Added
|
|
1354
1360
|
|
|
@@ -1364,7 +1370,7 @@ This project tries to adhere to [Semantic Versioning](http://semver.org/). In pr
|
|
|
1364
1370
|
|
|
1365
1371
|
- Removed `Obstruction Detected` tests
|
|
1366
1372
|
|
|
1367
|
-
##
|
|
1373
|
+
## v4.3.0 (2021-01-12)
|
|
1368
1374
|
|
|
1369
1375
|
### Added
|
|
1370
1376
|
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
|
|
8
8
|
Homebridge plugin to integrate eWeLink devices into HomeKit
|
|
9
9
|
|
|
10
|
-
[](https://www.npmjs.com/package/homebridge-ewelink)
|
|
11
|
-
[](https://github.com/homebridge-plugins/homebridge-ewelink/wiki/Beta-Version)
|
|
10
|
+
[](https://www.npmjs.com/package/@homebridge-plugins/homebridge-ewelink)
|
|
11
|
+
[](https://github.com/homebridge-plugins/homebridge-ewelink/wiki/Beta-Version)
|
|
12
12
|
|
|
13
13
|
[](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
|
|
14
14
|
[](https://plugins.hoobs.org/plugin/homebridge-ewelink)
|
|
15
15
|
|
|
16
|
-
[](https://www.npmjs.com/package/homebridge-ewelink)
|
|
16
|
+
[](https://www.npmjs.com/package/@homebridge-plugins/homebridge-ewelink)
|
|
17
17
|
[](https://discord.com/channels/432663330281226270/742733745743855627)
|
|
18
18
|
|
|
19
19
|
</span>
|
|
@@ -29,7 +29,7 @@ Homebridge plugin to integrate eWeLink devices into HomeKit
|
|
|
29
29
|
### Prerequisites
|
|
30
30
|
|
|
31
31
|
- To use this plugin, you will need to already have:
|
|
32
|
-
- [Node](https://nodejs.org): latest version of `
|
|
32
|
+
- [Node](https://nodejs.org): latest version of `v20`, `v22` or `v24` - any other major version is not supported.
|
|
33
33
|
- [Homebridge](https://homebridge.io): `v1.6` - refer to link for more information and installation instructions.
|
|
34
34
|
|
|
35
35
|
### Setup
|
package/config.schema.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"pluginAlias": "eWeLink",
|
|
3
3
|
"pluginType": "platform",
|
|
4
4
|
"singular": true,
|
|
5
|
+
"strictValidation": true,
|
|
5
6
|
"customUi": true,
|
|
6
7
|
"customUiPath": "./lib/homebridge-ui",
|
|
7
8
|
"headerDisplay": "<p align=\"center\"><img width=\"60%\" src=\"https://user-images.githubusercontent.com/43026681/101325266-63126600-3863-11eb-9382-4a2924f0e540.png\"></p><p align=\"center\">For help and support please visit our <a href=\"https://github.com/homebridge-plugins/homebridge-ewelink/wiki\">GitHub Wiki</a>. We hope you find this plugin useful!</p>",
|
package/eslint.config.js
CHANGED
|
@@ -8,8 +8,6 @@ export default antfu(
|
|
|
8
8
|
rules: {
|
|
9
9
|
'curly': ['error', 'multi-line'],
|
|
10
10
|
'new-cap': 'off',
|
|
11
|
-
'import/extensions': ['error', 'ignorePackages'],
|
|
12
|
-
'import/order': 0,
|
|
13
11
|
'jsdoc/check-alignment': 'warn',
|
|
14
12
|
'jsdoc/check-line-alignment': 'warn',
|
|
15
13
|
'jsdoc/require-returns-check': 0,
|
|
@@ -223,10 +223,10 @@
|
|
|
223
223
|
try {
|
|
224
224
|
const currentConfig = await homebridge.getPluginConfig()
|
|
225
225
|
showIntro = () => {
|
|
226
|
+
homebridge.disableSaveButton?.()
|
|
226
227
|
const introContinue = document.getElementById('introContinue')
|
|
227
228
|
introContinue.addEventListener('click', () => {
|
|
228
229
|
homebridge.showSpinner()
|
|
229
|
-
homebridge.disableSaveButton?.()
|
|
230
230
|
document.getElementById('pageIntro').style.display = 'none'
|
|
231
231
|
document.getElementById('menuWrapper').style.display = 'inline-flex'
|
|
232
232
|
showSettings()
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"displayName": "Homebridge eWeLink",
|
|
4
4
|
"alias": "eWeLink",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "12.
|
|
6
|
+
"version": "12.5.0",
|
|
7
7
|
"description": "Homebridge plugin to integrate eWeLink devices into HomeKit.",
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "bwp91",
|
|
@@ -54,22 +54,21 @@
|
|
|
54
54
|
"main": "lib/index.js",
|
|
55
55
|
"engines": {
|
|
56
56
|
"homebridge": "^1.6.0 || ^2.0.0-beta.0",
|
|
57
|
-
"node": "^
|
|
57
|
+
"node": "^20 || ^22 || ^24"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
|
-
"lint": "eslint . --
|
|
61
|
-
"
|
|
60
|
+
"lint": "eslint . --max-warnings=0",
|
|
61
|
+
"lint:fix": "npm run lint -- --fix"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@homebridge/plugin-ui-utils": "^2.0
|
|
65
|
-
"axios": "^1.
|
|
64
|
+
"@homebridge/plugin-ui-utils": "^2.1.0",
|
|
65
|
+
"axios": "^1.10.0",
|
|
66
66
|
"node-persist": "^4.0.4",
|
|
67
67
|
"p-queue": "^8.1.0",
|
|
68
|
-
"websocket-as-promised": "^3.0.
|
|
69
|
-
"ws": "^8.18.
|
|
68
|
+
"websocket-as-promised": "^3.0.1",
|
|
69
|
+
"ws": "^8.18.3"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@antfu/eslint-config": "^4.
|
|
73
|
-
"eslint": "^9.23.0"
|
|
72
|
+
"@antfu/eslint-config": "^4.16.2"
|
|
74
73
|
}
|
|
75
74
|
}
|