@homebridge-plugins/homebridge-ewelink 12.3.3

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.
Files changed (113) hide show
  1. package/CHANGELOG.md +1363 -0
  2. package/LICENSE +21 -0
  3. package/README.md +68 -0
  4. package/config.schema.json +1757 -0
  5. package/eslint.config.js +15 -0
  6. package/lib/connection/api.js +508 -0
  7. package/lib/connection/http.js +304 -0
  8. package/lib/connection/lan.js +318 -0
  9. package/lib/connection/ws.js +414 -0
  10. package/lib/device/curtain.js +324 -0
  11. package/lib/device/diffuser.js +473 -0
  12. package/lib/device/fan.js +349 -0
  13. package/lib/device/group.js +106 -0
  14. package/lib/device/humidifier.js +199 -0
  15. package/lib/device/index.js +61 -0
  16. package/lib/device/light-cct.js +333 -0
  17. package/lib/device/light-dimmer.js +257 -0
  18. package/lib/device/light-rgb-cct.js +809 -0
  19. package/lib/device/light-rgb.js +272 -0
  20. package/lib/device/motor.js +363 -0
  21. package/lib/device/outlet-multi.js +417 -0
  22. package/lib/device/outlet-single-inched.js +409 -0
  23. package/lib/device/outlet-single.js +384 -0
  24. package/lib/device/panel.js +382 -0
  25. package/lib/device/rf-bridge.js +321 -0
  26. package/lib/device/rf-button.js +125 -0
  27. package/lib/device/rf-sensor.js +173 -0
  28. package/lib/device/sensor-ambient.js +311 -0
  29. package/lib/device/sensor-contact.js +140 -0
  30. package/lib/device/sensor-temp-humi.js +182 -0
  31. package/lib/device/simulation/blind.js +253 -0
  32. package/lib/device/simulation/cooler.js +312 -0
  33. package/lib/device/simulation/door.js +253 -0
  34. package/lib/device/simulation/doorbell.js +190 -0
  35. package/lib/device/simulation/garage-eachen.js +235 -0
  36. package/lib/device/simulation/garage-four.js +176 -0
  37. package/lib/device/simulation/garage-od-switch.js +36 -0
  38. package/lib/device/simulation/garage-one.js +395 -0
  39. package/lib/device/simulation/garage-two.js +394 -0
  40. package/lib/device/simulation/gate-one.js +327 -0
  41. package/lib/device/simulation/heater.js +389 -0
  42. package/lib/device/simulation/index.js +75 -0
  43. package/lib/device/simulation/light-fan.js +258 -0
  44. package/lib/device/simulation/lock-eachen.js +163 -0
  45. package/lib/device/simulation/lock-one.js +366 -0
  46. package/lib/device/simulation/p-button.js +223 -0
  47. package/lib/device/simulation/purifier.js +289 -0
  48. package/lib/device/simulation/rf-blind.js +192 -0
  49. package/lib/device/simulation/rf-door.js +180 -0
  50. package/lib/device/simulation/rf-window.js +180 -0
  51. package/lib/device/simulation/sensor-hidden.js +105 -0
  52. package/lib/device/simulation/sensor-leak.js +123 -0
  53. package/lib/device/simulation/sensor-visible.js +231 -0
  54. package/lib/device/simulation/sensor.js +300 -0
  55. package/lib/device/simulation/switch-valve.js +351 -0
  56. package/lib/device/simulation/tap-one.js +283 -0
  57. package/lib/device/simulation/tap-two.js +266 -0
  58. package/lib/device/simulation/th-cooler.js +443 -0
  59. package/lib/device/simulation/th-dehumidifier.js +424 -0
  60. package/lib/device/simulation/th-heater.js +449 -0
  61. package/lib/device/simulation/th-humidifier.js +424 -0
  62. package/lib/device/simulation/th-thermostat.js +611 -0
  63. package/lib/device/simulation/tv.js +252 -0
  64. package/lib/device/simulation/valve-four.js +232 -0
  65. package/lib/device/simulation/valve-one.js +345 -0
  66. package/lib/device/simulation/valve-two.js +340 -0
  67. package/lib/device/simulation/window.js +253 -0
  68. package/lib/device/switch-man.js +106 -0
  69. package/lib/device/switch-mate.js +82 -0
  70. package/lib/device/switch-multi.js +411 -0
  71. package/lib/device/switch-single-inched.js +332 -0
  72. package/lib/device/switch-single.js +307 -0
  73. package/lib/device/template.js +43 -0
  74. package/lib/device/thermostat.js +286 -0
  75. package/lib/device/zigbee/index.js +27 -0
  76. package/lib/device/zigbee/light-cct.js +263 -0
  77. package/lib/device/zigbee/light-dimmer.js +148 -0
  78. package/lib/device/zigbee/light-rgb-cct.js +400 -0
  79. package/lib/device/zigbee/motor.js +301 -0
  80. package/lib/device/zigbee/sensor-ambient.js +177 -0
  81. package/lib/device/zigbee/sensor-contact.js +137 -0
  82. package/lib/device/zigbee/sensor-leak.js +119 -0
  83. package/lib/device/zigbee/sensor-motion.js +119 -0
  84. package/lib/device/zigbee/sensor-occupancy.js +119 -0
  85. package/lib/device/zigbee/sensor-smoke.js +96 -0
  86. package/lib/device/zigbee/switch-stateless.js +104 -0
  87. package/lib/device/zigbee/thermostat.js +323 -0
  88. package/lib/fakegato/LICENSE +21 -0
  89. package/lib/fakegato/fakegato-history.js +813 -0
  90. package/lib/fakegato/fakegato-storage.js +108 -0
  91. package/lib/fakegato/fakegato-timer.js +125 -0
  92. package/lib/fakegato/uuid.js +27 -0
  93. package/lib/homebridge-ui/public/index.html +365 -0
  94. package/lib/homebridge-ui/server.js +46 -0
  95. package/lib/index.js +7 -0
  96. package/lib/node-dns-sd/LICENSE +21 -0
  97. package/lib/node-dns-sd/README.md +613 -0
  98. package/lib/node-dns-sd/lib/dns-sd-classes.json +6 -0
  99. package/lib/node-dns-sd/lib/dns-sd-composer.js +83 -0
  100. package/lib/node-dns-sd/lib/dns-sd-parser.js +344 -0
  101. package/lib/node-dns-sd/lib/dns-sd-types.json +52 -0
  102. package/lib/node-dns-sd/lib/dns-sd.js +580 -0
  103. package/lib/platform.js +2156 -0
  104. package/lib/utils/colour.js +552 -0
  105. package/lib/utils/constants.js +589 -0
  106. package/lib/utils/custom-chars.js +33 -0
  107. package/lib/utils/eve-chars.js +130 -0
  108. package/lib/utils/functions.js +42 -0
  109. package/lib/utils/lang-en.js +160 -0
  110. package/lib/utils/lang-fr.js +163 -0
  111. package/lib/utils/lang-th.js +160 -0
  112. package/lib/utils/lang.js +5 -0
  113. package/package.json +75 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,1363 @@
1
+ # Change Log
2
+
3
+ All notable changes to homebridge-ewelink will be documented in this file.
4
+
5
+ This project tries to adhere to [Semantic Versioning](http://semver.org/). In practice, this means that the version number will be incremented based on the following:
6
+
7
+ - `MAJOR` version when a minimum supported version of `homebridge` or `node` is increased to a new major version, or when a breaking change is made to the plugin config
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
10
+
11
+ ## 12.3.3 (2024-10-12)
12
+
13
+ ### Changed
14
+
15
+ - added `homepage` to `package.json`
16
+ - updated dependencies
17
+
18
+ ## 12.3.2 (2024-10-12)
19
+
20
+ ### Changed
21
+
22
+ - Support node 22
23
+ - Bump `node` recommended versions to v18.20.4 or v20.18.0 or v22.9.0
24
+
25
+ ### Fixed
26
+
27
+ - fixed cases where the plugin would crash when a device update fails
28
+
29
+ ## 12.3.1 (2024-07-15)
30
+
31
+ ### Changed
32
+
33
+ - Updated `eslint` and use new code style
34
+
35
+ ### Fixed
36
+
37
+ - fix `hap-nodejs` api refs
38
+
39
+ ## 12.3.0 (2024-07-13)
40
+
41
+ ### Added
42
+
43
+ - Support for ZigBee Bridge Ultra with UIID `243`
44
+ - Support for Sonoff TX-4 Ultimate with UIID `212`
45
+
46
+ ## 12.2.1 (2024-07-13)
47
+
48
+ ### Changed
49
+
50
+ - Fixed for `hap-nodejs` v1.0.0
51
+ - Updated dependencies
52
+ - Bump `node` recommended versions to v18.20.4 or v20.15.1
53
+
54
+ ## 12.2.0 (2024-03-27)
55
+
56
+ ### Added
57
+
58
+ - Support for ZigBee occupancy sensor with UIID `7016`
59
+ - Support for ZigBee thermostat with UIID `7017`
60
+
61
+ ### Changed
62
+
63
+ - Changed Rotation Speed characteristic for Fans from percentage to levels (#534) (@vadimpronin)
64
+ - Bump `node` recommended versions to v18.20.0 or v20.12.0
65
+ - Updated dependencies
66
+
67
+ ### Fixed
68
+
69
+ - Fix UIID 182/190 power readings
70
+
71
+ ## 12.1.0 (2023-12-16)
72
+
73
+ ### Added
74
+
75
+ - Support for ZigBee button with UIID `7000`
76
+ - Support for ZigBee switch with UIID `7005`
77
+
78
+ ### Changed
79
+
80
+ - Added plugin display name
81
+ - Don't overwrite the IP of a LAN device if it reports a different IP
82
+ - Bump `node` recommended versions to v18.19.0 or v20.10.0
83
+ - Updated dependencies
84
+
85
+ ## 12.0.0 (2023-10-24)
86
+
87
+ ### Added
88
+
89
+ - Support for ZigBee motor device with UIID `7006`
90
+ - Brightness and colour support for light device with UIID `173`
91
+
92
+ ### Changed
93
+
94
+ - Updated dependencies
95
+ - Bump `node` supported versions to v18.18.2 or v20.8.1
96
+
97
+ ### Removed
98
+
99
+ - Support for node 16
100
+
101
+ ## 11.0.2 (2023-08-28)
102
+
103
+ ⚠️ Note this will be the last version of the plugin to support Node 16.
104
+ - Node 16 moves to 'end of life' on 2023-09-11 ([more info](https://nodejs.org/en/blog/announcements/nodejs16-eol))
105
+ - This is in-line with the Homebridge guidelines on supporting node versions ([more info](https://github.com/homebridge/homebridge/wiki/How-To-Update-Node.js/))
106
+ - If you are currently using Node 16, now is a good time to upgrade to Node 18 or 20 (see the link above for more info)
107
+
108
+ ### Changed
109
+
110
+ - Update `axios` to `v1.5.0`
111
+
112
+ ## 11.0.1 (2023-08-19)
113
+
114
+ ### Changed
115
+
116
+ - Bump `node` recommended versions to v16.20.2 or v18.17.1 or v20.5.1
117
+ - Some code refactoring
118
+
119
+ ## 11.0.0 (2023-07-24)
120
+
121
+ ### Added
122
+
123
+ - Support for `B02-BL`
124
+ - Support for `SONOFF SNZB-02D`
125
+ - Support for devices with UIID `191` with LAN mode
126
+ - Support for devices with UIID `7014`
127
+
128
+ ### Breaking
129
+
130
+ - Remove official support for Node 14
131
+ - Remove option to disable plugin - this is now available in the Homebridge UI
132
+ - Remove option for debug logging - this will be enabled when using a beta version of the plugin
133
+ - Remove individual accessory logging options to simplify the config
134
+
135
+ ### Changed
136
+
137
+ - Bump `homebridge` recommended version to v1.6.0 or v2.0.0-beta
138
+ - Bump `node` recommended versions to v16.20.1 or v18.17.0 or v20.5.0
139
+ - Updated dependencies
140
+
141
+ ## 10.4.0 (2023-01-07)
142
+
143
+ ### Added
144
+
145
+ - Expose a Sonoff D1 or KING-M4 as a fan accessory type
146
+ - Improved support for SwitchMan devices (Sonoff R5)
147
+
148
+ ### Changed
149
+
150
+ - Bump `axios` to v1.2.2
151
+ - Bump `homebridge` recommended version to v1.6.0 or v2.0.0-beta
152
+ - Bump `node` recommended versions to v14.21.2 or v16.19.0 or v18.13.0
153
+
154
+ ### Fixed
155
+
156
+ - Power readings for POWR320 now show correctly
157
+
158
+ ## 10.3.0 (2022-11-11)
159
+
160
+ ### Added
161
+
162
+ - Support NSPanel Pro (as a temperature sensor) [UIID 195]
163
+
164
+ ### Changed
165
+
166
+ - Bump `node` recommended versions to v14.21.1 or v16.18.1 or v18.12.1
167
+ - Bump `ws` to v8.11.0
168
+
169
+ ## 10.2.0 (2022-10-09)
170
+
171
+ ### Added
172
+
173
+ - Support devices with UIID 173 (Sonoff L3)
174
+ - Support devices with UIID 3258 (Zigbee RGBW light)
175
+ - Work-in-progress for devices with UUIDs:
176
+ - 130 (SPM sub-unit)
177
+ - 174 (SwitchMan devices)
178
+ - 1514 (Zigbee motor controller)
179
+
180
+ ### Changed
181
+
182
+ - Allow for node v18.10.0
183
+ - Update axios to `v1.1.2`
184
+
185
+ ### Fixed
186
+
187
+ - Incorrectly exposing Sonoff M5 devices as programmable switches
188
+
189
+ ## 10.1.0 (2022-09-25)
190
+
191
+ ### Added
192
+
193
+ - Support devices with UUID 128 (SPM Main Unit)
194
+ - Support devices with UUID 154 (DW2-Wifi-L)
195
+ - Support devices with UUID 168 (Zigbee Bridge Pro)
196
+ - Support devices with UUID 190 (POWR316/POWR316D/POWR320D)
197
+ - Work-in-progress for devices with UUIDs:
198
+ - 130 (SPM sub-unit)
199
+ - 174 (SwitchMan devices)
200
+ - 173 (Sonoff L3)
201
+ - 1514 (Zigbee motor controller)
202
+ - 3258 (Zigbee RGBW light)
203
+
204
+ ### Changed
205
+
206
+ - Correct parameters for `updatePlatformAccessories()`
207
+ - Bump `node` recommended versions to v14.20.1 or v16.17.1
208
+ - Bump `ws` to v8.9.0
209
+ - Updated dev dependencies
210
+
211
+ ## 10.0.0 (2022-07-08)
212
+
213
+ ⚠️ After updating to this version:
214
+ - Each time you start the plugin, you will be logged out the eWeLink app, and so I would recommend:
215
+ - Creating a new eWeLink account, and sharing your devices to this new account
216
+ - **Most importantly**, you should use your **main** account with the plugin, and login to the eWeLink app with your shared account
217
+
218
+ ### Added
219
+
220
+ - Use a custom eWeLink APPID and APPSECRET if needed
221
+
222
+ ### Changed
223
+
224
+ - Bump `node` recommended versions to v14.20.0 or v16.16.0
225
+
226
+ ## 9.1.0 (2022-07-07)
227
+
228
+ ⚠️ 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).
229
+
230
+ ### Added
231
+
232
+ - Support for Sonoff TH Elite
233
+
234
+ ### Changed
235
+
236
+ - Bump `ws` to v8.8.0
237
+ - Updated dev dependencies
238
+
239
+ ## 9.0.1 (2022-06-08)
240
+
241
+ ### Changed
242
+
243
+ - Bump `node` recommended versions to v14.19.3 or v16.15.1
244
+
245
+ ### Fixed
246
+
247
+ - A potential issue showing errors in the logs
248
+
249
+ ## 9.0.0 (2022-05-29)
250
+
251
+ ### Potentially Breaking Changes
252
+
253
+ ⚠️ The minimum required version of Homebridge is now v1.4.0
254
+ ⚠️ The minimum required version of Node is now v14
255
+
256
+ ### Changed
257
+
258
+ - Changed to ESM package
259
+ - Bump `node` recommended versions to v14.19.3 or v16.15.0
260
+
261
+ ## 8.15.0 (2022-05-02)
262
+
263
+ ### Added
264
+
265
+ - **New Devices**
266
+ - Sonoff S40
267
+ - **New Log Languages**
268
+ - Thai (thanks [@tomzt](https://github.com/homebridge-plugins/homebridge-ewelink/pull/367))
269
+ - **Configuration**
270
+ - `offlineAsOff` option for light devices - enable to show offline devices as 'off' in Homebridge/HomeKit
271
+
272
+ ### Changed
273
+
274
+ - Bump `axios` to v0.27.2
275
+ - Bump `ws` to v8.6.0
276
+ - Bump `node` recommended versions to v14.19.1 or v16.15.0
277
+
278
+ ## 8.14.0 (2022-04-17)
279
+
280
+ ### Added
281
+
282
+ - **New Devices**
283
+ - Sonoff B05-BL-A19 bulbs (UIID 136 devices) (also supports LAN mode)
284
+ - Sonoff MINIR3 (UIID 138 devices) (also supports LAN mode)
285
+ - Sonoff S-Mate (UIID 177 devices) as a Stateless Programmable Sensor
286
+
287
+ ## 8.13.2 (2022-04-03)
288
+
289
+ ### Changed
290
+
291
+ - Updated dependencies
292
+
293
+ ## 8.13.1 (2022-03-20)
294
+
295
+ ### Changed
296
+
297
+ - Bump `axios` to v0.26.1
298
+ - Bump `node` recommended versions to v14.19.1 or v16.14.2
299
+
300
+ ## 8.13.0 (2022-02-23)
301
+
302
+ ### Added
303
+
304
+ - Support DUALR3 Lite
305
+
306
+ ### Changed
307
+
308
+ - Bump `axios` to v0.26.0
309
+
310
+ ## 8.12.0 (2022-02-12)
311
+
312
+ ### Added
313
+
314
+ - Option to disable the timer for irrigation valve simulations
315
+ - Power information to supported devices in internal API
316
+ - Target temperature threshold for TH-heater simulation, see #346
317
+
318
+ ### Changed
319
+
320
+ - Bump `node` recommended versions to v14.19.0 or v16.14.0
321
+ - Bump `homebridge` recommended version to v1.4.0
322
+ - Bump `ws` to v8.5.0
323
+
324
+ ## 8.11.2 (2022-01-23)
325
+
326
+ ### Changed
327
+
328
+ - Bump `axios` to v0.25.0
329
+
330
+ ### Fixed
331
+
332
+ - Fix LAN mode support for iFan04
333
+
334
+ ## 8.11.1 (2022-01-15)
335
+
336
+ ### Changed
337
+
338
+ - Bump `ws` to v8.4.2
339
+
340
+ ### Fixed
341
+
342
+ - `undefined` log message on web socket error
343
+
344
+ ## 8.11.0 (2022-01-13)
345
+
346
+ ### Added
347
+
348
+ - Option to ignore eWeLink homes by ID (IDs will be displayed in the log when plugin starts)
349
+
350
+ ### Changed
351
+
352
+ - Bump `node` recommended versions to v14.18.3 or v16.13.2
353
+ - Bump `ws` to v8.4.1
354
+
355
+ ### Fixed
356
+
357
+ - Minor colour temperature issue for Mangotek RLD60C0E27 (UIID 33)
358
+
359
+ ## 8.10.0 (2022-01-07)
360
+
361
+ ### Added
362
+
363
+ - **New Devices**
364
+ - Support for Mangotek RLD60C0E27 light (devices with UIID 33)
365
+ - Support for Zigbee Smoke Sensors (devices with UIID 5026)
366
+
367
+ ### Fixed
368
+
369
+ - Plugin crash for older versions of Homebridge
370
+
371
+ ## 8.9.1 (2022-01-05)
372
+
373
+ ### Changed
374
+
375
+ - Plugin will log HAPNodeJS version on startup
376
+ - Bump `homebridge` recommended version to v1.3.9
377
+
378
+ ## 8.9.0 (2021-12-27)
379
+
380
+ ### Added
381
+
382
+ - Option to show both 'Heat' and 'Cool' modes for the TH10/16 thermostat simulation
383
+
384
+ ## 8.8.0 (2021-12-21)
385
+
386
+ ### Added
387
+
388
+ - **New Devices**
389
+ - Support for SwitchMan M5 (1/2/3 Gang)
390
+ - Support for Sonoff NSPanel
391
+ - **Simulations**
392
+ - Expose a single-channel device as a `Heater` or `Cooler` accessory type, using the current temperature value from another eWeLink, Govee or Meross sensor (Govee and Meross sensors will not work with HOOBS)
393
+ - Current temperature values from sensors will be cached in the homebridge storage directory to allow my other plugins to create `Heater` and `Cooler` accessories with the temperature values
394
+ - **eWeLink Groups**
395
+ - Expose eWeLink groups as HomeKit switches
396
+
397
+ ### Changed
398
+
399
+ - Some config options rearranged for easier access
400
+ - Bump `ws` to v8.4.0
401
+
402
+ ## 8.7.1 (2021-12-09)
403
+
404
+ ### Fixed
405
+
406
+ - Show 'Hide Channels' and 'Inched Channels' in config schema form even when no 'Show As' is selected
407
+
408
+ ## 8.7.0 (2021-12-08)
409
+
410
+ ### Added
411
+
412
+ - Support Sonoff L2
413
+ - Expose a single or multi-channel generic switch as a `Audio Receiver`, `Set Top Box` or `Streaming Stick` HomeKit category types
414
+ - The accessory will need to be published as an external accessory meaning it will need to be added separately to HomeKit
415
+ - Expose an Eachen GD-DC5 as a lock simulation
416
+
417
+ ### Changed
418
+
419
+ - Bump `homebridge` recommended version to v1.3.8
420
+ - Bump `node` recommended versions to v14.18.2 or v16.13.1
421
+ - Bump `ws` to v8.3.0
422
+
423
+ ### Fixed
424
+
425
+ - Potential uncaught errors updating subdevices of an RF bridge
426
+
427
+ ## 8.6.0 (2021-11-18)
428
+
429
+ ### Added
430
+
431
+ - The plugin will now retrieve devices from **all** your homes in your eWeLink account
432
+ - Expose an RF Bridge `curtain` device type as a HomeKit `WindowCovering`, `Door` or `Window` accessory simulation
433
+ - Expose a TH10/16 as a `Thermostat` device type
434
+
435
+ ### Fixed
436
+
437
+ - An issue initialising a 2-Garage-Door simulation
438
+
439
+ ## 8.5.0 (2021-11-03)
440
+
441
+ ### Added
442
+
443
+ - Ability to use a contact sensor simulation to show the correct state of a garage door/lock simulation
444
+
445
+ ## 8.4.2 (2021-10-31)
446
+
447
+ ### Changed
448
+
449
+ - Bump `node` recommended versions to v14.18.1 or v16.13.0
450
+ - Bump `axios` to v0.24.0
451
+
452
+ ## 8.4.1 (2021-10-20)
453
+
454
+ ### Changed
455
+
456
+ - Some small changes to Fakegato debug logging
457
+
458
+ ### Fixed
459
+
460
+ - An Eve app 'no data' gap for garage and contact sensor devices when restarting the plugin
461
+
462
+ ## 8.4.0 (2021-10-16)
463
+
464
+ ### Added
465
+
466
+ - Expose a single or multi-channel device as a gate type (shown as garage door)
467
+ - If you use the Home app to open the door, it will then automatically close after a configured number of seconds
468
+
469
+ ### Changed
470
+
471
+ - `disableNoResponse` will be set to `true` by the plugin when using in LAN mode
472
+ - Recommended node versions bumped to v14.18.1 or v16.11.1
473
+ - Recommended Homebridge bumped to v1.3.5
474
+ - Bump `axios` to v0.23.0
475
+
476
+ ### Fixed
477
+
478
+ - An error when trying to unregister a hidden accessory from Homebridge
479
+
480
+ ## 8.3.6 (2021-10-01)
481
+
482
+ ### Changed
483
+
484
+ - Bump `ws` to v8.2.3
485
+
486
+ ## 8.3.5 (2021-10-01)
487
+
488
+ ### Changed
489
+
490
+ - Bump `axios` to v0.22.0
491
+
492
+ ## 8.3.4 (2021-09-30)
493
+
494
+ ### Changed
495
+
496
+ - Recommended node versions bumped to v14.18.0 or v16.10.0
497
+
498
+ ## 8.3.3 (2021-09-14)
499
+
500
+ ## Fixed
501
+
502
+ - Fixed an issue where an irrigation valve simulation would not turn off after the set time
503
+
504
+ ## 8.3.2 (2021-09-09)
505
+
506
+ ### Changed
507
+
508
+ - `configureAccessory` function simplified to reduce chance of accessory cache retrieval failing
509
+ - Bump `axios` to v0.21.4
510
+ - Bump `ws` to v8.2.2
511
+
512
+ ## 8.3.1 (2021-09-05)
513
+
514
+ ### Changed
515
+
516
+ - Recommended node version bumped to v14.17.6
517
+ - Bump `axios` to v0.21.3
518
+ - Bump `ws` to v8.2.1
519
+
520
+ ## 8.3.0 (2021-08-26)
521
+
522
+ ### Added
523
+
524
+ - Support for KingArt KING-Q1 garage door device
525
+ - Expose KingArt KING-Q4 device as a `Window` or `Door` HomeKit accessory type
526
+ - Custom Eve characteristic to invert status of inched switch without sending a command to device
527
+
528
+ ### Changed
529
+
530
+ - 'Status By Inching' switches will no longer revert to 'off' when Homebridge is restarted
531
+
532
+ ## 8.2.1 (2021-08-22)
533
+
534
+ ### Changed
535
+
536
+ - Bump `ws` to v8.2.0
537
+
538
+ ### Fixed
539
+
540
+ - An issue preventing DUALR3 from initialising
541
+ - Fix for uiid `112`
542
+
543
+ ## 8.2.0 (2021-08-22)
544
+
545
+ ### Added
546
+
547
+ - Support for UIIDs `138` `139` `140` `141`
548
+
549
+ ## 8.1.0 (2021-08-17)
550
+
551
+ ### Added
552
+
553
+ - `inchChannels` option for multi-channel switches and outlets (where the plugin will set on/off status based on inching)
554
+ - `language` option to have the plugin log in French, thanks to @jp-lno
555
+
556
+ ## 8.0.2 (2021-08-12)
557
+
558
+ ### Changed
559
+
560
+ - **Platform Versions**
561
+ - Recommended node version bumped to v14.17.5
562
+
563
+ ## 8.0.1 (2021-08-04)
564
+
565
+ ### Changed
566
+
567
+ - Improved battery calculations for DW2 sensors
568
+
569
+ ## 8.0.0 (2021-07-29)
570
+
571
+ ### Important Note
572
+
573
+ - Your Accessory Simulations will stop working with this update if you have not re-set them up in the appropriate device configuration sections.
574
+ - **There is no longer a separate Accessory Simulations section**
575
+ - It is recommended to re-setup your simulations **before** updating to this version
576
+
577
+ ### Added
578
+
579
+ - **Single Channel Devices**
580
+ - Option to configure a single channel device to set its status based on device inching
581
+ - **DUALR3 Motor Mode**
582
+ - Expose a DUALR3 in motor mode as a `GarageDoorOpener` accessory type
583
+ - **Temperature/Humidity Sensor Devices**
584
+ - Option to offset recorded temperature or humidity by a scale factor
585
+ - **Configuration**
586
+ - `disableNoResponse` setting to disable marking cloud-offline devices as 'No Response' in HomeKit
587
+ - Plugin will now check for duplicate device ID entries in the config and ignore them
588
+
589
+ ### Changed
590
+
591
+ - ⚠️ **Platform Versions**
592
+ - Recommended node version bumped to v14.17.4
593
+ - Recommended homebridge version bumped to v1.3.4
594
+ - ⚠️ **Accessories**
595
+ - Plugin will now mark cloud-offline devices with 'No Response' by default
596
+ - Plugin will now use HomeKit `Battery` service type instead of `BatteryService`
597
+ - **Backend**
598
+ - Plugin will now reattempt initial HTTP connection on `ECONNABORTED` error
599
+
600
+ ### Fixed
601
+
602
+ - Plugin will correctly update `StatusLowBattery` characteristic with `INT` instead of type `BOOL`
603
+
604
+ ### Removed
605
+
606
+ - ⚠️ `offlineAsNoResponse` configuration setting - is now default - can be disabled with new `disableNoResponse` setting
607
+ - ⚠️ `ignoredDevices` configuration setting - now use the `ignoreDevice` option in the device type sections
608
+ - ⚠️ `groups` configuration setting - now use the `showAs` option in the device type sections
609
+
610
+ ## 7.1.0 (2021-07-10)
611
+
612
+ ### Added
613
+
614
+ - **New Devices**
615
+ - Support for Zigbee multi-channel devices
616
+
617
+ ### Changed
618
+
619
+ - **Homebridge UI**
620
+ - `label` field now appears first in the device configuration sections
621
+ - A device can now be ignored/removed from Homebridge by the `ignoreDevice` setting in the device configuration sections
622
+ - Bump `ws` dependency to v7.5.3
623
+
624
+ ## 7.0.2 (2021-07-08)
625
+
626
+ ### Changes
627
+
628
+ - Revert node version bump to v14.17.3 (back to v14.17.2)
629
+
630
+ ### 7.0.1 (2021-07-08)
631
+
632
+ ### Changes
633
+
634
+ - Device model in configuration will be validated
635
+
636
+ ### Fixed
637
+
638
+ - An issue preventing garage doors and locks with a defined sensor from initialising
639
+
640
+ ## 7.0.0 (2021-07-08)
641
+
642
+ ### Important Notes
643
+
644
+ - This release includes breaking changes (denoted below with a ⚠️), so take note especially if:
645
+ - You use the plugin in LAN-only mode,
646
+ - You have Sonoff devices exposed as Outlet accessories, or
647
+ - You use Accessory Simulations
648
+
649
+ ### Added
650
+
651
+ - **LAN Mode (without eWeLink credentials)**
652
+ - The plugin now supports removing eWeLink credentials from the config when in LAN mode. It is important to read about this feature before enabling it - [read more](https://github.com/homebridge-plugins/homebridge-ewelink/wiki/Connection-Methods#lan-mode-without-ewelink-credentials)
653
+ - **Homebridge UI**
654
+ - Device-specific settings will show and hide depending on the new 'Device Model' (`deviceModel`) option
655
+ - This showing/hiding of options will hopefully be available in the HOOBS UI soon
656
+ - **Accessory Logging**
657
+ - `overrideLogging` setting per device type (to replace the removed `overrideDisabledLogging`), which can be set to (and will override the global device logging and debug logging settings):
658
+ - `"default"` to follow the global device update and debug logging setting for this accessory (default if setting not set)
659
+ - `"standard"` to enable device update logging but disable debug logging for this accessory
660
+ - `"debug"` to enable device update and debug logging for this accessory
661
+ - `"disable"` to disable device update and debug logging for this accessory
662
+ - **Startup Logging**
663
+ - An accessory warning if a manually configured IP is different from the discovered IP
664
+ - An accessory warning if a shared device is used over the cloud
665
+ - An accessory warning if a cloud-device is reported offline
666
+ - **No Response Status**
667
+ - Added a global setting `offlineAsNoResponse` to mark cloud-offline accessories as 'No Response' in HomeKit
668
+ - **Power Readings**
669
+ - Power readings (via Eve app) now visible for accessories when exposed as `Switch`
670
+ - **DUALR3 Devices**
671
+ - Support for LAN mode control for DUALR3 in motor mode
672
+ - Power readings (via Eve app) available when in motor mode
673
+ - Option to expose as a `WindowCovering`, `Window` or `Door` accessory type when in motor mode
674
+ - **iFan Devices**
675
+ - Support for LAN mode and ability to specify a manual IP
676
+ - **TH10/16 Devices**
677
+ - Support for LAN mode for all Accessory Simulations and ability to specify a manual IP
678
+ - **RF Bridge Devices**
679
+ - Ability to change sensor type and other configurable options without the need to re-add the accessory
680
+ - Configuration option `resetOnStartup` to reset the subdevices, useful when adding/removing subdevices to the bridge
681
+ - Added option to specify a manual IP for an RF Bridge
682
+ - Added option to expose an RF sensor device as a `Doorbell` accessory type
683
+ - Added option to expose an RF sensor device as a `StatelessProgrammableSwitch` accessory type
684
+ - **Light Devices**
685
+ - Remove Adaptive Lighting feature from a device by setting the `adaptiveLightingShift` to `-1`
686
+ - **Zigbee Button Devices**
687
+ - Comparison of trigger time against notification time to reduce duplicate accessory updates
688
+ - Will no longer request current state when coming back online to reduce duplicate accessory updates
689
+ - **Zigbee Switch Devices**
690
+ - Option to expose as an `Outlet`
691
+ - **Humidity Sensor Devices**
692
+ - Config option to offset the recorded humidity (%RH) for devices that report this
693
+ - **Accessory Simulations**
694
+ - Expose a generic single/multi-channel device as a `Doorbell` accessory
695
+ - Expose a generic single/multi-channel device as a `StatelessProgrammableSwitch` accessory
696
+ - Added the option of using a DW2 or Zigbee contact sensor to determine _Locked_ and _Unlocked_ state for lock simulation
697
+ - Power readings (via Eve app) visible for simulations when using a DUALR3 device
698
+ - **New Devices**
699
+ - Support for Zigbee leak sensors
700
+ - Support for device with eWeLink UIID 67 _RollingDoor_
701
+
702
+ ### Changed
703
+
704
+ - **LAN Mode**
705
+ - ⚠️ If you have the plugin in `lan`-only mode then the plugin will remove any accessories that do not support LAN mode
706
+ - **Configuration**
707
+ - ⚠️ The 'Outlet Devices' (`outletDevices[]`) section has been removed from the configuration - you will need to reconfigured these devices within the 'Single Devices' (`singleDevices[]`) section
708
+ - **Accessory Simulations**
709
+ - ⚠️ The 'Accessory Simulations' (`groups[]`) section will be removed in a future plugin version - you should now setup your simulations from within the appropriate device type section using the 'Show As' setting
710
+ - Simulations for TH10/16, DW2 and `doorbell`, `p_button` & `sensor` will need to be recreated immediately
711
+ - Garage door, window blind, door, window, valve, tap, lock and switch-valve simulations will continue to work for now but will need to be recreated at some point in the future
712
+ - ⚠️ Eachen GD-DC5 devices no longer need to be setup as a simulation if this deviceModel is chosen in the configuration
713
+ - **Outlet Devices**
714
+ - ⚠️ Will now be exposed by default as `Switch`, use the 'Show As' setting to change back to `Outlet` if needed
715
+ - **Homebridge UI**
716
+ - More interactive - device configuration will expand once device ID and model entered
717
+ - Device configuration options will now hide/show based on the `deviceModel` field
718
+ - **Startup Logging**
719
+ - Accessory configuration options will be logged regardless of logging level
720
+ - **iFan Devices**
721
+ - Previous fan speed will be used again after turning off and on
722
+ - **Polling**
723
+ - Polling for power/temperature/humidity readings increased to two minutes
724
+ - Polling for power/temperature/humidity readings will be skipped if device is marked as offline
725
+ - **Configuration**
726
+ - `sensorTimeDifference` minimum reduced to 5 seconds and default reduced to 60 seconds
727
+ - **Dependencies**
728
+ - Recommended node version bump to v14.17.3
729
+ - Bump `ws` dependency to v7.5.2
730
+
731
+ ### Fixed
732
+
733
+ - An issue preventing controlling a garage door simulation when using a sensor
734
+ - An issue with the DUALR3 in motor mode hanging on 'Closing...' or 'Opening...'
735
+ - Fixed the multiple notifications when closing an Eachen device garage door
736
+ - A `RangeError` error which caused HOOBS bridge to restart
737
+
738
+ ### Removed
739
+
740
+ - `overrideDisabledLogging` setting for each accessory type
741
+ - `outletDevices[]` configuration section
742
+ - `switchDevices[].showAsOutlet` removed - use `switchDevices[].showAs` instead
743
+ - `ContactSensorState` and other unneeded characteristics from garage (simulation) services
744
+
745
+ ## 6.8.0 (2021-06-14)
746
+
747
+ ### Added
748
+
749
+ - **Accessory Simulations**
750
+ - Expose a single/multi channel device as any type of sensor
751
+ - Expose a single/multi channel device an _Air Purifier_
752
+ - Expose a TH10/16 device as a _Cooler_
753
+ - Expose a TH10/16 device as a _Humidifier_
754
+ - Expose a TH10/16 device as a _Dehumidfier_
755
+ - **LAN Mode**
756
+ - Enabled for TH10/16 (requires firmware 3.5.0)
757
+ - **Plugin UI**
758
+ - Show MAC address of accessory in plugin-ui
759
+
760
+ ### Changed
761
+
762
+ - TH10/16 simulation accessory type change from _Thermostat_ to _Heater_
763
+
764
+ ### Removed
765
+
766
+ - Remove `setup` config option for simulations as device type is now automatically determined
767
+
768
+ ### Fixed
769
+
770
+ - Fix a logging issue for the zigbee contact sensor
771
+
772
+ ## 6.7.1 (2021-05-27)
773
+
774
+ ### Fixed
775
+
776
+ - Fixes an issue with sensors with a garage simulation
777
+ - Fixes an issue with TH10/16 devices with web socket timeouts
778
+
779
+ ## 6.7.0 (2021-05-26)
780
+
781
+ ### Added
782
+
783
+ - Hide a contact sensor from HomeKit when used with a garage door simulation
784
+ - Support devices with eWeLink UIID 112, 113, 114
785
+
786
+ ### Changed
787
+
788
+ - Avoid repeated battery logging for the Sonoff DW2
789
+ - iFan logging modifications
790
+ - Throw an error when controlling a device when the web socket is closed (avoid queuing updates)
791
+ - Recommended node version bump to v14.17.0
792
+ - Bump `ws` dependency to v7.4.6
793
+ - Use `standard-prettier` code formatting
794
+
795
+ ### Fixed
796
+
797
+ - Fix internal API auth issue when using a base64 encoded password
798
+
799
+ ## 6.6.0 (2021-05-10)
800
+
801
+ ### Added
802
+
803
+ - Log internal API requests when in debug mode
804
+ - Support querying temperature and humidity values via the internal API
805
+
806
+ ### Changed
807
+
808
+ - Display temperature and humidity units for the zigbee temperature/humidity sensor in the logs
809
+ - Reduce the 'No Response' timeout to 2 seconds
810
+ - Update the correct corresponding characteristic after the 'No Response' timeout
811
+ - Ensure user is using at least Homebridge v1.3.0
812
+ - Update homebridge-ui wiki links to match github readme file
813
+
814
+ ### Removed
815
+
816
+ - Removed `encodedPassword` and `language` config options
817
+ - The plugin will now initially try the supplied password and if incorrect will attempt another login with a base64 decoded version
818
+ - Language option unnecessary until if and when other languages are available
819
+
820
+ ### Fixed
821
+
822
+ - Fixes an issue where the web socket would not close on plugin shutdown
823
+
824
+ ## 6.5.1 (2021-05-07)
825
+
826
+ ### Changed
827
+
828
+ - Amendments to internal API endpoints
829
+ - Device IP changes will now reflect correctly
830
+
831
+ ### Fixed
832
+
833
+ - Fixes an initialisation issue with the 'garage' and 'obstruction detection' switch simulations
834
+
835
+ ## 6.5.0 (2021-05-06)
836
+
837
+ ### Added
838
+
839
+ - Internal HTTP API to query/control the state of certain homebridge-ewelink accessories
840
+ - Options for new configuration setting `apiPort` are:
841
+ - `0` to disable the API (default setting)
842
+ - `1` to enable the API with a random available port (port will be shown in the log)
843
+ - Any higher integer to enable the API on this fixed port
844
+ - Documentation for the API can be seen at the base url (Homebridge IP + API port)
845
+
846
+ ## 6.4.0 (2021-05-04)
847
+
848
+ ### Added
849
+
850
+ - Power, voltage and current readings for DUALR3 when exposed as outlets
851
+ - RF Bridge remote buttons will turn on for 3 seconds in HomeKit when pressed
852
+ - Link a Zigbee contact sensor to a single garage door to report the garage door state
853
+ - Set a temperature offset for the Zigbee temperature/humidity sensor
854
+ - Configuration options to manually set account http host and country code [#249](https://github.com/homebridge-plugins/homebridge-ewelink/pull/249)
855
+
856
+ ### Changed
857
+
858
+ - Change Sonoff POWR2/S31 polling interval to a fixed 60 seconds
859
+ - iFan speed will now log as {low, medium, high}
860
+ - Remove 'Outlet In Use' characteristics for outlets that don't support power readings
861
+ - Remove Eve power characteristics for outlets that don't support power readings
862
+ - More language strings added to separate language file
863
+ - Accessory 'identify' function will now add an entry to the log
864
+ - Backend refactoring, function and variable name changes
865
+
866
+ ## 6.3.0 (2021-04-28)
867
+
868
+ ### Added
869
+
870
+ - Support DUALR3 motor mode (as a _WindowCovering_ service)
871
+
872
+ ### Changed
873
+
874
+ - Remove old _Switch_ services from DUALR3 when in motor mode
875
+ - iFan devices now use caching to avoid unnecessary duplicate updates
876
+ - Increase ws timeout from 5 to 6 seconds
877
+ - Decrease lan-only timeout from 10 to 9 seconds
878
+
879
+ ## 6.2.2 (2021-04-27)
880
+
881
+ ### Changed
882
+
883
+ - Adjust iFan speed thresholds (now 0% is off, 1-33% is low, 34-66% is medium and 67-100% is high)
884
+ - Changed commands for multi-channel devices to only update desired channel (not all channels)
885
+ - Pause Adaptive Lighting if device is offline
886
+ - Automatically retry eWeLink login on startup in case of certain error codes
887
+ - Update package description (remove 'with original firmware' as this is redundant for eWeLink devices)
888
+
889
+ ## 6.2.1 (2021-04-18)
890
+
891
+ ### Changed
892
+
893
+ - Trim new lines and spaces from password when decoded from base64
894
+ - Updated dependencies (`ws`)
895
+
896
+ ## 6.2.0 (2021-04-16)
897
+
898
+ ### Added
899
+
900
+ - LAN mode for Sonoff RF Bridge
901
+
902
+ ### Changed
903
+
904
+ - More compact logging for eWeLink 504 error
905
+ - Recover accessories from the cache using the UUID
906
+ - Reduce WS timeout to 5 seconds to reduce cases of `was slow to respond` HB warning
907
+ - Update wiki links in the Homebridge plugin-ui
908
+
909
+ ### Removed
910
+
911
+ - Remove online/offline status for Zigbee sensor devices
912
+
913
+ ### Fixed
914
+
915
+ - Fix characteristic NaN warning for `LastActivation`
916
+
917
+ ## 6.1.2 (2021-04-14)
918
+
919
+ ### Fixed
920
+
921
+ - Remove any existing humidity sensor for TH10/16 if DS18B20 sensor is used
922
+
923
+ ## 6.1.1 (2021-04-13)
924
+
925
+ ### Fixed
926
+
927
+ - Fixed an unhandled rejection error when controlling certain CCT bulbs
928
+
929
+ ## 6.1.0 (2021-04-12)
930
+
931
+ ### Added
932
+
933
+ - Support for doorbell model SA-026 (can be exposed as any sensor type as per other RF sensors)
934
+ - Updated plugin-ui 'Support' page links to match GitHub readme file
935
+
936
+ ### Changed
937
+
938
+ - Improvements to RF Bridge:
939
+ - No more characteristic warnings for `LastActivation` for motion and contact sensors
940
+ - Removed logs for 'not triggered' if device has since been triggered again
941
+
942
+ ## 6.0.3 (2021-04-08)
943
+
944
+ ### Fixed
945
+
946
+ - Revert 'No Response' messages for **DW2** devices as they go on and offline
947
+ - Fixed the interval time length for calculating total energy consumption for relevant devices
948
+
949
+ ## 6.0.2 (2021-04-07)
950
+
951
+ ### Changed
952
+
953
+ - Revert 'No Response' messages for **DW2** devices as they go on and offline
954
+
955
+ ## 6.0.1 (2021-04-07)
956
+
957
+ ### Requirements
958
+
959
+ - **Homebridge Users**
960
+
961
+ - This plugin has a minimum requirement of Homebridge v1.3.3
962
+
963
+ - **HOOBS Users**
964
+ - This plugin has a minimum requirement of HOOBS v3.3.4
965
+
966
+ ### Changed
967
+
968
+ - 'No Response' messages for **Zigbee and DW2** devices as they go on and offline
969
+ - 'No Response' messages for **all devices** if controlled and unsuccessful (and this status will be reverted after 5 seconds)
970
+ - Use the new `.onGet`/`.onSet` methods available in Homebridge v1.3
971
+ - Updated README to reflect minimum supported Homebridge/HOOBS and Node versions
972
+ - Updated recommended Node to v14.16.1
973
+
974
+ ### Fixed
975
+
976
+ - Fixes a caching issue with the iFan accessory
977
+
978
+ ## 5.6.0 (2021-03-25)
979
+
980
+ ### Added
981
+
982
+ - Enter your eWeLink password as a base64 encoded string and use the option `encodedPassword` to let the plugin know ([#223](https://github.com/homebridge-plugins/homebridge-ewelink/issues/223))
983
+ - Support for zigbee colour temperature lights (ewelink uiid 1258) ([#222](https://github.com/homebridge-plugins/homebridge-ewelink/issues/222)), including:
984
+ - Ikea Tradfri E14 600 lumen
985
+
986
+ ### Changed
987
+
988
+ - Improvements to web socket connection: ([#224](https://github.com/homebridge-plugins/homebridge-ewelink/issues/224))
989
+ - On startup, the plugin will wait to connect to the web socket before initialising devices
990
+ - A new web socket address will be requested if the provided address causes errors
991
+ - In particular this should fix the `ENOTFOUND as-pconnect4.coolkit.cc` error that some users in the Asia continent were receiving
992
+
993
+ ## 5.5.1 (2021-03-21)
994
+
995
+ ### Changed
996
+
997
+ - Remove the custom `minValue` for `CurrentTemperature` characteristic
998
+ - More welcome messages
999
+ - Updated `plugin-ui-utils` dependency
1000
+
1001
+ ## 5.5.0 (2021-03-17)
1002
+
1003
+ ### Added
1004
+
1005
+ - Enable LAN control for the Sonoff SV
1006
+ - Log entries will show for 'uncontrollable' devices if `mode:lan` on plugin startup
1007
+ - Log entries to highlight unnecessary top-level configuration options you may have set
1008
+ - Added a note in the plugin settings about changing RF bridge sensors and its consequences
1009
+
1010
+ ### Changed
1011
+
1012
+ - Remove country code configuration option as the plugin can determine your region automatically
1013
+ - Modified config schema to show titles/descriptions for non Homebridge UI users
1014
+ - Automatically show useful info in logs for 'yet to implement' devices
1015
+ - Updated links on plugin-ui to match GitHub wiki
1016
+ - [backend] Eve characteristics abstracted into separate file for better efficiency
1017
+
1018
+ ## 5.4.0 (2021-03-14)
1019
+
1020
+ ### Added
1021
+
1022
+ - The plugin now differentiates between LAN support for **incoming** and **outgoing** updates, allowing incoming updates for:
1023
+ - TH10/16
1024
+ - B02 and B05 bulbs
1025
+
1026
+ ### Fixed
1027
+
1028
+ - Attempt to fix outlet polling updates so the device reports updated info rather than the previous info.
1029
+
1030
+ ## 5.3.0 (2021-03-10)
1031
+
1032
+ ### Added
1033
+
1034
+ - Set up a polling interval for outlet devices to obtain power information on a regular basis (useful when the device doesn't automatically send frequent updates)
1035
+
1036
+ ### Changed
1037
+
1038
+ - Adaptive Lighting now requires Homebridge 1.3 release
1039
+ - Garages no longer need 'dummy' contact sensor to view Eve history
1040
+ - For this reason, the `exposeContactSensor` setting is now redundant and so has been removed
1041
+ - Outlet intervals for energy calculation and updates will stop on Homebridge shutdown
1042
+
1043
+ ## 5.2.0 (2021-03-08)
1044
+
1045
+ ### Added
1046
+
1047
+ - **Accessory Simulations**
1048
+ - Expose an optional contact sensor for Eachen garage devices for historical data in the Eve app
1049
+ - Set custom minimum/maximum target temperatures for the TH10/16 thermostat simulation
1050
+
1051
+ ### Changed
1052
+
1053
+ - Specify a custom IP for the Sonoff D1
1054
+ - Show full error stack on plugin disable in debug mode
1055
+ - Updated dependencies
1056
+
1057
+ ### Fixed
1058
+
1059
+ - Fixes a `multiple callback` error with CCT bulb accessories
1060
+
1061
+ ## 5.1.1 (2021-03-02)
1062
+
1063
+ ### Fixed
1064
+
1065
+ - Fixes an issue sending LAN updates to multi-channel devices
1066
+
1067
+ ## 5.1.0 (2021-03-02)
1068
+
1069
+ ### Added
1070
+
1071
+ - **Accessory Simulations**
1072
+ - Added `Door` service type simulation
1073
+ - Added `Window` service type simulation
1074
+ - [experimental] Specify different operation time for UP and DOWN for garages, blinds, doors and windows
1075
+ - **Accessories**
1076
+ - Support for Sonoff DUALR3
1077
+ - Support for Konesky Mosquito Killer
1078
+ - Support for Sonoff SC (Sensor Centre)
1079
+ - [experimental] Support for Sonoff D1 LAN control
1080
+
1081
+ ### Changed
1082
+
1083
+ - Less strict threshold for determining a 'significant' colour change for disabling Adaptive Lighting
1084
+
1085
+ ## 5.0.6 (2021-02-26)
1086
+
1087
+ ### Fixed
1088
+
1089
+ - Removes the extra _Switch_ service that was accidentally added to certain bulbs
1090
+
1091
+ ## 5.0.5 (2021-02-25)
1092
+
1093
+ ### Changed
1094
+
1095
+ - Reverse the polarity of the leak sensor simulation
1096
+ - You can expose a DW2 sensor as a leak sensor using [this guide](https://www.youtube.com/watch?v=YFu2LZfrrqs) as an Accessory Simulation
1097
+
1098
+ ## 5.0.4 (2021-02-24)
1099
+
1100
+ ### Changed
1101
+
1102
+ - Plugin will check that certain Accessory Simulations have been setup with the device type
1103
+ - Hide IP address field in plugin settings if plugin `mode` is set to `wan`
1104
+
1105
+ ## 5.0.3 (2021-02-24)
1106
+
1107
+ ### Changed
1108
+
1109
+ - Remove old _Switch_ services when setting up Accessory Simulations
1110
+ - Add the type of Accessory Simulation to the logged options on restart
1111
+
1112
+ ## 5.0.2 (2021-02-24)
1113
+
1114
+ ### Fixed
1115
+
1116
+ - Fixes an issue initialising Accessory Simulation Lock devices
1117
+
1118
+ ## 5.0.1 (2021-02-24)
1119
+
1120
+ ### Fixed
1121
+
1122
+ - Fixes an issue initialising Contact Sensor devices
1123
+
1124
+ ## 5.0.0 (2021-02-24)
1125
+
1126
+ - ⚠️ This release includes an overhaul of the settings in particular to specific device configuration
1127
+ - The following options have been replaced:
1128
+ - `hideChanFromHB`, `switchAsOutlet`, `outletAsSwitch`, `inUsePowerThreshold`, `hideLightFromFan`, `hideSwitchFromTH`, `thAsThermostat`, `resetRFBridge`, `lowBattThreshold`, `sensorTimeDifference`, `bulbB02BA60`, `bulbB02FST64`, `thTempOffset`, `hideZBLDPress`, `ZBDWBatt`, `ipOverride`
1129
+ - If you use any of the above options then please take some time to review the changes after updating the plugin
1130
+ - Detailed information about the changes can be seen [here](https://gist.github.com/bwp91/e87d9d3eb0e5dbc08e9ae7b31e33366e)
1131
+
1132
+ ### Added
1133
+
1134
+ - **Configuration**
1135
+ - The ability to explicitly enable device logging per device if you have `disableDeviceLogging` set to true
1136
+ - A `label` setting per device group which has no effect except to help identify the device when editing the configuration
1137
+ - New `brightnessStep` option to specify a minimum brightness step in the Home app per dimmer/bulb/LED strip
1138
+ - New `adaptiveLightingShift` option to offset the Adaptive Lighting values per bulb
1139
+ - `showAsOutlet` option extended multi-channel switch and light switch devices to expose them as outlets
1140
+ - **Accessories**
1141
+ - Enhanced Eve information available for contact sensors:
1142
+ - DW2
1143
+ - Zigbee Contact Sensor
1144
+ - **Accessory Simulations**
1145
+ - Expose a DW2 contact sensor as a leak sensor
1146
+ - Sub-accessories will be removed automatically when setting up a new Accessory Simulation
1147
+ - **Homebridge Plugin UI**
1148
+ - 'My Devices' shows a red/green icon on the to show device WAN/LAN reachability
1149
+ - 'My Devices' shows the firmware version for your device
1150
+ - **New Devices**
1151
+ - Support for eWeLink switch uiid 81, 82, 83, 84 and 107 device types
1152
+ - Support for the 'Sonoff Hum' humidifier device (on/off and mode)
1153
+
1154
+ ### Changed
1155
+
1156
+ - New plugin configuration format - [more info](https://gist.github.com/bwp91/e87d9d3eb0e5dbc08e9ae7b31e33366e)
1157
+ - Device firmware version will now show correctly in HomeKit apps
1158
+ - Information about error 406 added to the logs in the form of a link (shown when error is received)
1159
+ - Updated minimum Node to v14.16.0
1160
+
1161
+ ### Fixed
1162
+
1163
+ - Fixes a characteristic warning for _MotionDetected_ for Zigbee Motion Sensors
1164
+
1165
+ ## 4.7.6 (2021-02-17)
1166
+
1167
+ ### Fixed
1168
+
1169
+ - Fixes an issue with the DW2 detecting garage door states
1170
+
1171
+ ## 4.7.5 (2021-02-15)
1172
+
1173
+ ### Changed
1174
+
1175
+ - Fixes an issue with the DW2 detecting garage door states
1176
+
1177
+ ## 4.7.4 (2021-02-15)
1178
+
1179
+ ### Fixed
1180
+
1181
+ - Fixes an issue when using custom RF sensors
1182
+
1183
+ ## 4.7.3 (2021-02-13)
1184
+
1185
+ ### Changed
1186
+
1187
+ - Hide WS messages that have no useful information about a device
1188
+ - Thermostat accessory simulation will now setup after a small delay to let the accessory initialise first
1189
+ - Thermostat device will now suggest changing temperature scale from F to C in the eWeLink app
1190
+ - Changes to colour conversion:
1191
+ - Lighter colours appear brighter
1192
+ - Solid red is now easier to obtain via the Home app
1193
+
1194
+ ## 4.7.2 (2021-02-12)
1195
+
1196
+ ### Fixed
1197
+
1198
+ - Fixes a bug where config items separated by a comma weren't adhered to properly
1199
+ - Stop subsequent warning messages if a device fails to initialise
1200
+
1201
+ ## 4.7.1 (2021-02-11)
1202
+
1203
+ ### Changed
1204
+
1205
+ - The 'auto' and 'cool' modes will now be hidden for thermostat devices in the Eve app
1206
+ - Added a 10 second timeout when sending web socket messages
1207
+ - Updated dependencies:
1208
+ - `websocket-as-promised` to v2.0.1
1209
+ - Fakegato library formatting and simplification
1210
+
1211
+ ### Fixed
1212
+
1213
+ - Fixed a bug when initialising lock accessory simulations
1214
+
1215
+ ## 4.7.0 (2021-02-10)
1216
+
1217
+ ### Added
1218
+
1219
+ - Support for the [eWeLink thermostat](https://ewelinkcommunity.net/device-lists/heating/kkmoon-hc-t010-ewf/) device type
1220
+ - A queue for device updates to improve reliability, this also results in:
1221
+ - Faster device updates for colour bulbs and diffusers
1222
+ - Configuration checks to highlight in the logs any unnecessary or incorrectly formatted settings you have
1223
+ - Added a note in the plugin UI when adding an Accessory Simulation that the accessory will need to be removed from the cache
1224
+ - Links to 'Configuration' and 'Uninstall' wiki pages in the plugin-ui
1225
+
1226
+ ### Changed
1227
+
1228
+ - ⚠️ `ignoredDevices` configuration option is now an array not a string - [see details](https://gist.github.com/bwp91/90db67d578a8206c5a98a3447839f9e5)
1229
+ - Reinstated `ipOverride` into the Homebridge plugin UI screen
1230
+ - Improved colour temperature conversion for L1 and L1 Lite devices
1231
+ - HTTP error codes will be displayed in the logs if and when the plugin re-attempts the connection
1232
+ - Error messages refactored to show the most useful information
1233
+ - [Backend] Major code refactoring
1234
+ - [Backend] Code comments
1235
+ - Updated minimum Node to v14.15.5
1236
+ - Updated minimum Homebridge to v1.1.7
1237
+ - Updated dependencies
1238
+
1239
+ ### Removed
1240
+
1241
+ - Removed `nameOverride` configuration option - the plugin can now obtain channel names from eWeLink
1242
+ - Removed `resetRFBridge` option - the same usage can be achieved with `ignoredDevices`
1243
+
1244
+ ### Fixed
1245
+
1246
+ - Fixed a bug where Adaptive Lighting would not be disabled if the colour was changed from the eWeLink app
1247
+ - Fixed an issue with the 'Lock' Accessory Simulation where the status would never update as 'Unlocked'
1248
+
1249
+ ## 4.6.1 (2021-02-02)
1250
+
1251
+ ### Changed
1252
+
1253
+ - Extra debug logging for WS reconnection status
1254
+ - Updated `ws` dependency to v7.4.3
1255
+
1256
+ ## 4.6.0 (2021-01-30)
1257
+
1258
+ ### Added
1259
+
1260
+ - **[Experimental]** Use a TH10/16 device as a thermostat using an Accessory Simulation [more info](https://github.com/homebridge-plugins/homebridge-ewelink/issues/161#issuecomment-770230157)
1261
+ - Support for the Zigbee type white bulb
1262
+
1263
+ ### Changed
1264
+
1265
+ - Updated plugin-ui-utils dep and use new method to get cached accessories
1266
+ - Increase the timeout for LAN control to 10 seconds for LAN only settings
1267
+ - Show LAN update errors in the log
1268
+
1269
+ ## 4.5.1 (2021-01-28)
1270
+
1271
+ ### Changed
1272
+
1273
+ - Set the switch as the primary service of a TH10/16 device
1274
+ - Only show the line in error logs if it exists (no more `[line undefined]`)
1275
+
1276
+ ### Fixed
1277
+
1278
+ - Fixes an issue where RF sensors would not use a custom defined type (again!)
1279
+
1280
+ ## 4.5.0 (2021-01-28)
1281
+
1282
+ ### Added
1283
+
1284
+ - Use a switch to control the `Obstruction Detected` feature of a garage door
1285
+
1286
+ ### Changed
1287
+
1288
+ - More consistent and clearer error logging
1289
+
1290
+ ### Fixed
1291
+
1292
+ - Fix for TH10/16 devices when the HomeKit switch would show the state of 'auto' mode
1293
+ - Fix for TH10/16 devices (shown as thermostat) where the plugin would not show the current state of the device
1294
+ - Fix for the display of watts/amps/volts for outlets that support this
1295
+
1296
+ ## 4.4.5 (2021-01-24)
1297
+
1298
+ ### Fixed
1299
+
1300
+ - Fix where the battery for DW2 device would not update
1301
+
1302
+ ## 4.4.4 (2021-01-24)
1303
+
1304
+ ### Changed
1305
+
1306
+ - Backend - better handling of errors
1307
+
1308
+ ## 4.4.3 (2021-01-20)
1309
+
1310
+ ### Fixed
1311
+
1312
+ - Fixes an issue where RF sensors would not use a custom defined type
1313
+
1314
+ ## 4.4.2 (2021-01-20)
1315
+
1316
+ ### Changed
1317
+
1318
+ - Minimum Homebridge beta needed for Adaptive Lighting bumped to beta-46
1319
+
1320
+ ### Fixed
1321
+
1322
+ - Fixes an issue when adding new RF bridge devices
1323
+
1324
+ ## 4.4.1 (2021-01-20)
1325
+
1326
+ ### Changed
1327
+
1328
+ - Fakegato logging disabled in Homebridge `debug` mode, can be explicitly enabled with `debugFakegato`
1329
+
1330
+ ## 4.4.0 (2021-01-14)
1331
+
1332
+ ### Added
1333
+
1334
+ - Single Accessory Simulations for multi-channel devices (e.g. 1 valve using a Sonoff 4CH)
1335
+ - `operationTime` for Accessory Simulations will now be validated and increased to 20 if less than 20 or an invalid number
1336
+
1337
+ ### Changed
1338
+
1339
+ - ⚠️ **Accessory Simulations** - if use '1 Lock', '1 Tap/Faucet' or '1 Valve' you will need to update your configuration with the Device Setup field (via Homebridge UI) or adding the line `"setup": "oneSwitch"` directly to your configuration file in the groups section
1340
+ - Changes to plugin now in CHANGELOG.md
1341
+
1342
+ ### Removed
1343
+
1344
+ - Removed `Obstruction Detected` tests
1345
+
1346
+ ## 4.3.0 (2021-01-12)
1347
+
1348
+ ### Added
1349
+
1350
+ - New Accessory Simulations:
1351
+ - 2 Taps/Faucets using a multi-channel device
1352
+ - 4 Irrigation Valves using a multi-channel device #182
1353
+ - New `disableDeviceLogging` config option to hide device state logging #183
1354
+
1355
+ ### Changed
1356
+
1357
+ - `hideDevFromHB` config option renamed to `ignoredDevices`
1358
+ - Minimum `operationTime` for associated Accessory Simulations increased to 20 (2 seconds)
1359
+ - Removal of maximum values on plugin settings screen for all `number` types
1360
+ - Changes to startup log messages
1361
+ - Adaptive lighting minimum Homebridge beta version is now beta-42
1362
+ - Backend code changes
1363
+ - Updated dependencies