zigbee-herdsman-converters 25.76.0 → 25.78.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.
Files changed (62) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/converters/actions.d.ts.map +1 -1
  3. package/dist/converters/actions.js +7 -3
  4. package/dist/converters/actions.js.map +1 -1
  5. package/dist/devices/engo.d.ts.map +1 -1
  6. package/dist/devices/engo.js +118 -0
  7. package/dist/devices/engo.js.map +1 -1
  8. package/dist/devices/eurotronic.js +2 -2
  9. package/dist/devices/eurotronic.js.map +1 -1
  10. package/dist/devices/hej.d.ts.map +1 -1
  11. package/dist/devices/hej.js +21 -0
  12. package/dist/devices/hej.js.map +1 -1
  13. package/dist/devices/hive.d.ts.map +1 -1
  14. package/dist/devices/hive.js +7 -0
  15. package/dist/devices/hive.js.map +1 -1
  16. package/dist/devices/lixee.d.ts.map +1 -1
  17. package/dist/devices/lixee.js +86 -25
  18. package/dist/devices/lixee.js.map +1 -1
  19. package/dist/devices/lumi.d.ts.map +1 -1
  20. package/dist/devices/lumi.js +63 -20
  21. package/dist/devices/lumi.js.map +1 -1
  22. package/dist/devices/lytko.d.ts.map +1 -1
  23. package/dist/devices/lytko.js +854 -0
  24. package/dist/devices/lytko.js.map +1 -1
  25. package/dist/devices/moes.d.ts.map +1 -1
  26. package/dist/devices/moes.js +21 -0
  27. package/dist/devices/moes.js.map +1 -1
  28. package/dist/devices/multir.js +2 -2
  29. package/dist/devices/multir.js.map +1 -1
  30. package/dist/devices/namron.d.ts.map +1 -1
  31. package/dist/devices/namron.js +2 -1
  32. package/dist/devices/namron.js.map +1 -1
  33. package/dist/devices/philips.d.ts.map +1 -1
  34. package/dist/devices/philips.js +14 -0
  35. package/dist/devices/philips.js.map +1 -1
  36. package/dist/devices/profalux.d.ts.map +1 -1
  37. package/dist/devices/profalux.js +2 -1
  38. package/dist/devices/profalux.js.map +1 -1
  39. package/dist/devices/slacky_diy.js +1 -1
  40. package/dist/devices/slacky_diy.js.map +1 -1
  41. package/dist/devices/sonoff.d.ts.map +1 -1
  42. package/dist/devices/sonoff.js +4 -1
  43. package/dist/devices/sonoff.js.map +1 -1
  44. package/dist/devices/sunricher.d.ts.map +1 -1
  45. package/dist/devices/sunricher.js +13 -0
  46. package/dist/devices/sunricher.js.map +1 -1
  47. package/dist/devices/third_reality.d.ts.map +1 -1
  48. package/dist/devices/third_reality.js +111 -3
  49. package/dist/devices/third_reality.js.map +1 -1
  50. package/dist/devices/tuya.d.ts.map +1 -1
  51. package/dist/devices/tuya.js +10 -4
  52. package/dist/devices/tuya.js.map +1 -1
  53. package/dist/lib/lumi.d.ts +6 -0
  54. package/dist/lib/lumi.d.ts.map +1 -1
  55. package/dist/lib/lumi.js +77 -0
  56. package/dist/lib/lumi.js.map +1 -1
  57. package/dist/lib/modernExtend.d.ts +2 -1
  58. package/dist/lib/modernExtend.d.ts.map +1 -1
  59. package/dist/lib/modernExtend.js +39 -9
  60. package/dist/lib/modernExtend.js.map +1 -1
  61. package/dist/models-index.json +1 -1
  62. package/package.json +1 -1
@@ -303,6 +303,13 @@ exports.definitions = [
303
303
  vendor: "Aqara",
304
304
  whiteLabel: [{ vendor: "Aqara", model: "RLS-K01D" }],
305
305
  description: "Light strip T1",
306
+ configure: async (device, coordinatorEndpoint) => {
307
+ const endpoint = device.getEndpoint(1);
308
+ await endpoint.read("manuSpecificLumi", [0x0515], { manufacturerCode });
309
+ await endpoint.read("manuSpecificLumi", [0x0516], { manufacturerCode });
310
+ await endpoint.read("genLevelCtrl", [0x0012], {});
311
+ await endpoint.read("genLevelCtrl", [0x0013], {});
312
+ },
306
313
  extend: [
307
314
  m.light({ effect: false, powerOnBehavior: false, colorTemp: { startup: false, range: [153, 370] }, color: true }),
308
315
  lumiPowerOnBehavior(),
@@ -318,26 +325,6 @@ exports.definitions = [
318
325
  description: "LED strip length",
319
326
  zigbeeCommandOptions: { manufacturerCode },
320
327
  }),
321
- m.numeric({
322
- name: "min_brightness",
323
- valueMin: 0,
324
- valueMax: 99,
325
- unit: "%",
326
- cluster: "manuSpecificLumi",
327
- attribute: { ID: 0x0515, type: 0x20 },
328
- description: "Minimum brightness level",
329
- zigbeeCommandOptions: { manufacturerCode },
330
- }),
331
- m.numeric({
332
- name: "max_brightness",
333
- valueMin: 1,
334
- valueMax: 100,
335
- unit: "%",
336
- cluster: "manuSpecificLumi",
337
- attribute: { ID: 0x0516, type: 0x20 },
338
- description: "Maximum brightness level",
339
- zigbeeCommandOptions: { manufacturerCode },
340
- }),
341
328
  m.binary({
342
329
  name: "audio",
343
330
  valueOn: ["ON", 1],
@@ -381,6 +368,10 @@ exports.definitions = [
381
368
  description: "Effect speed",
382
369
  zigbeeCommandOptions: { manufacturerCode },
383
370
  }),
371
+ lumi.lumiModernExtend.lumiDimmingRangeMin(),
372
+ lumi.lumiModernExtend.lumiDimmingRangeMax(),
373
+ lumi.lumiModernExtend.lumiOffOnDuration(),
374
+ lumi.lumiModernExtend.lumiOnOffDuration(),
384
375
  lumiZigbeeOTA(),
385
376
  ],
386
377
  },
@@ -4251,11 +4242,22 @@ exports.definitions = [
4251
4242
  model: "HCXDD12LM",
4252
4243
  vendor: "Aqara",
4253
4244
  description: "Ceiling light T1",
4245
+ configure: async (device, coordinatorEndpoint) => {
4246
+ const endpoint = device.getEndpoint(1);
4247
+ await endpoint.read("manuSpecificLumi", [0x0515], { manufacturerCode });
4248
+ await endpoint.read("manuSpecificLumi", [0x0516], { manufacturerCode });
4249
+ await endpoint.read("genLevelCtrl", [0x0012], {});
4250
+ await endpoint.read("genLevelCtrl", [0x0013], {});
4251
+ },
4254
4252
  extend: [
4255
4253
  m.deviceEndpoints({ endpoints: { white: 1, rgb: 2 } }),
4256
4254
  lumiLight({ colorTemp: true, powerOutageMemory: "light", endpointNames: ["white"] }),
4257
4255
  lumiLight({ colorTemp: true, deviceTemperature: false, powerOutageCount: false, color: { modes: ["xy", "hs"] }, endpointNames: ["rgb"] }),
4258
4256
  lumiZigbeeOTA(),
4257
+ lumi.lumiModernExtend.lumiDimmingRangeMin(),
4258
+ lumi.lumiModernExtend.lumiDimmingRangeMax(),
4259
+ lumi.lumiModernExtend.lumiOffOnDuration(),
4260
+ lumi.lumiModernExtend.lumiOnOffDuration(),
4259
4261
  ],
4260
4262
  },
4261
4263
  {
@@ -4263,6 +4265,13 @@ exports.definitions = [
4263
4265
  model: "CL-L02D",
4264
4266
  vendor: "Aqara",
4265
4267
  description: "Ceiling light T1M",
4268
+ configure: async (device, coordinatorEndpoint) => {
4269
+ const endpoint = device.getEndpoint(1);
4270
+ await endpoint.read("manuSpecificLumi", [0x0515], { manufacturerCode });
4271
+ await endpoint.read("manuSpecificLumi", [0x0516], { manufacturerCode });
4272
+ await endpoint.read("genLevelCtrl", [0x0012], {});
4273
+ await endpoint.read("genLevelCtrl", [0x0013], {});
4274
+ },
4266
4275
  extend: [
4267
4276
  m.deviceEndpoints({ endpoints: { white: 1, rgb: 2 } }),
4268
4277
  lumiLight({ colorTemp: true, endpointNames: ["white"] }),
@@ -4276,6 +4285,10 @@ exports.definitions = [
4276
4285
  description: "Controls the behavior when the device is powered on after power loss",
4277
4286
  zigbeeCommandOptions: { manufacturerCode },
4278
4287
  }),
4288
+ lumi.lumiModernExtend.lumiDimmingRangeMin(),
4289
+ lumi.lumiModernExtend.lumiDimmingRangeMax(),
4290
+ lumi.lumiModernExtend.lumiOffOnDuration(),
4291
+ lumi.lumiModernExtend.lumiOnOffDuration(),
4279
4292
  ],
4280
4293
  },
4281
4294
  {
@@ -4344,12 +4357,27 @@ exports.definitions = [
4344
4357
  fingerprint: [{ modelID: "lumi.light.agl001" }, { modelID: "lumi.light.agl002" }],
4345
4358
  },
4346
4359
  ],
4360
+ configure: async (device, coordinatorEndpoint) => {
4361
+ const endpoint = device.getEndpoint(1);
4362
+ await endpoint.read("manuSpecificLumi", [0x0528], { manufacturerCode });
4363
+ await endpoint.read("manuSpecificLumi", [0x052c], { manufacturerCode });
4364
+ await endpoint.read("manuSpecificLumi", [0x0515], { manufacturerCode });
4365
+ await endpoint.read("manuSpecificLumi", [0x0516], { manufacturerCode });
4366
+ await endpoint.read("genLevelCtrl", [0x0012], {});
4367
+ await endpoint.read("genLevelCtrl", [0x0013], {});
4368
+ },
4347
4369
  extend: [
4348
4370
  lumiLight({ colorTemp: true, color: true, colorTempRange: [111, 500] }),
4349
4371
  lumiPowerOnBehavior({ lookup: { off: 0, on: 1, reverse: 2, restore: 3 } }),
4350
4372
  m.identify(),
4351
4373
  m.forcePowerSource({ powerSource: "Mains (single phase)" }),
4352
4374
  lumiZigbeeOTA(),
4375
+ lumi.lumiModernExtend.lumiDimmingRangeMin(),
4376
+ lumi.lumiModernExtend.lumiDimmingRangeMax(),
4377
+ lumi.lumiModernExtend.lumiOffOnDuration(),
4378
+ lumi.lumiModernExtend.lumiOnOffDuration(),
4379
+ lumi.lumiModernExtend.lumiTransitionCurveCurvature(),
4380
+ lumi.lumiModernExtend.lumiTransitionInitialBrightness(),
4353
4381
  ],
4354
4382
  },
4355
4383
  {
@@ -4357,12 +4385,27 @@ exports.definitions = [
4357
4385
  model: "T2_E27_CCT",
4358
4386
  vendor: "Aqara",
4359
4387
  description: "E27 led bulb",
4388
+ configure: async (device, coordinatorEndpoint) => {
4389
+ const endpoint = device.getEndpoint(1);
4390
+ await endpoint.read("manuSpecificLumi", [0x0528], { manufacturerCode });
4391
+ await endpoint.read("manuSpecificLumi", [0x052c], { manufacturerCode });
4392
+ await endpoint.read("manuSpecificLumi", [0x0515], { manufacturerCode });
4393
+ await endpoint.read("manuSpecificLumi", [0x0516], { manufacturerCode });
4394
+ await endpoint.read("genLevelCtrl", [0x0012], {});
4395
+ await endpoint.read("genLevelCtrl", [0x0013], {});
4396
+ },
4360
4397
  extend: [
4361
4398
  lumiLight({ colorTemp: true, colorTempRange: [153, 370] }),
4362
4399
  lumiPowerOnBehavior({ lookup: { off: 0, on: 1, reverse: 2, restore: 3 } }),
4363
4400
  m.identify(),
4364
4401
  m.forcePowerSource({ powerSource: "Mains (single phase)" }),
4365
4402
  lumiZigbeeOTA(),
4403
+ lumi.lumiModernExtend.lumiDimmingRangeMin(),
4404
+ lumi.lumiModernExtend.lumiDimmingRangeMax(),
4405
+ lumi.lumiModernExtend.lumiOffOnDuration(),
4406
+ lumi.lumiModernExtend.lumiOnOffDuration(),
4407
+ lumi.lumiModernExtend.lumiTransitionCurveCurvature(),
4408
+ lumi.lumiModernExtend.lumiTransitionInitialBrightness(),
4366
4409
  ],
4367
4410
  },
4368
4411
  {