zigbee-herdsman-converters 25.90.0 → 25.92.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 (38) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/devices/ewelink.d.ts.map +1 -1
  3. package/dist/devices/ewelink.js +2 -1
  4. package/dist/devices/ewelink.js.map +1 -1
  5. package/dist/devices/gledopto.js +1 -1
  6. package/dist/devices/gledopto.js.map +1 -1
  7. package/dist/devices/inovelli.js +1 -1
  8. package/dist/devices/inovelli.js.map +1 -1
  9. package/dist/devices/lightsolutions.d.ts.map +1 -1
  10. package/dist/devices/lightsolutions.js +7 -0
  11. package/dist/devices/lightsolutions.js.map +1 -1
  12. package/dist/devices/lincukoo.d.ts.map +1 -1
  13. package/dist/devices/lincukoo.js +8 -0
  14. package/dist/devices/lincukoo.js.map +1 -1
  15. package/dist/devices/lumi.d.ts.map +1 -1
  16. package/dist/devices/lumi.js +60 -54
  17. package/dist/devices/lumi.js.map +1 -1
  18. package/dist/devices/philips.d.ts.map +1 -1
  19. package/dist/devices/philips.js +10 -2
  20. package/dist/devices/philips.js.map +1 -1
  21. package/dist/devices/somfy.d.ts.map +1 -1
  22. package/dist/devices/somfy.js +7 -0
  23. package/dist/devices/somfy.js.map +1 -1
  24. package/dist/devices/sonoff.d.ts.map +1 -1
  25. package/dist/devices/sonoff.js +42 -53
  26. package/dist/devices/sonoff.js.map +1 -1
  27. package/dist/devices/third_reality.d.ts.map +1 -1
  28. package/dist/devices/third_reality.js +98 -34
  29. package/dist/devices/third_reality.js.map +1 -1
  30. package/dist/devices/tuya.d.ts.map +1 -1
  31. package/dist/devices/tuya.js +119 -8
  32. package/dist/devices/tuya.js.map +1 -1
  33. package/dist/lib/lumi.d.ts +5 -0
  34. package/dist/lib/lumi.d.ts.map +1 -1
  35. package/dist/lib/lumi.js +250 -0
  36. package/dist/lib/lumi.js.map +1 -1
  37. package/dist/models-index.json +1 -1
  38. package/package.json +1 -1
@@ -4238,57 +4238,51 @@ exports.definitions = [
4238
4238
  ],
4239
4239
  },
4240
4240
  {
4241
- zigbeeModel: ["lumi.light.acn031"],
4242
- model: "HCXDD12LM",
4243
- vendor: "Aqara",
4244
- description: "Ceiling light T1",
4245
- configure: async (device, coordinatorEndpoint) => {
4246
- const endpoint = device.getEndpoint(1);
4247
- await endpoint.read("manuSpecificLumi", [0x0515], { manufacturerCode: manufacturerCode });
4248
- await endpoint.read("manuSpecificLumi", [0x0516], { manufacturerCode: manufacturerCode });
4249
- await endpoint.read("genLevelCtrl", [0x0012], {});
4250
- await endpoint.read("genLevelCtrl", [0x0013], {});
4251
- },
4252
- extend: [
4253
- m.deviceEndpoints({ endpoints: { white: 1, rgb: 2 } }),
4254
- lumiLight({ colorTemp: true, powerOutageMemory: "light", endpointNames: ["white"] }),
4255
- lumiLight({ colorTemp: true, deviceTemperature: false, powerOutageCount: false, color: { modes: ["xy", "hs"] }, endpointNames: ["rgb"] }),
4256
- lumiZigbeeOTA(),
4257
- lumi.lumiModernExtend.lumiDimmingRangeMin(),
4258
- lumi.lumiModernExtend.lumiDimmingRangeMax(),
4259
- lumi.lumiModernExtend.lumiOffOnDuration(),
4260
- lumi.lumiModernExtend.lumiOnOffDuration(),
4261
- ],
4262
- },
4263
- {
4264
- zigbeeModel: ["lumi.light.acn032"],
4241
+ zigbeeModel: ["lumi.light.acn032", "lumi.light.acn031"],
4265
4242
  model: "CL-L02D",
4266
4243
  vendor: "Aqara",
4267
4244
  description: "Ceiling light T1M",
4245
+ whiteLabel: [
4246
+ {
4247
+ model: "HCXDD12LM",
4248
+ vendor: "Aqara",
4249
+ description: "Ceiling light T1",
4250
+ fingerprint: [{ modelID: "lumi.light.acn031" }],
4251
+ },
4252
+ ],
4268
4253
  configure: async (device, coordinatorEndpoint) => {
4269
4254
  const endpoint = device.getEndpoint(1);
4270
4255
  await endpoint.read("manuSpecificLumi", [0x0515], { manufacturerCode: manufacturerCode });
4271
4256
  await endpoint.read("manuSpecificLumi", [0x0516], { manufacturerCode: manufacturerCode });
4257
+ await endpoint.read("manuSpecificLumi", [0x051f], { manufacturerCode: manufacturerCode });
4258
+ await endpoint.read("manuSpecificLumi", [0x0520], { manufacturerCode: manufacturerCode });
4259
+ await endpoint.read("manuSpecificLumi", [0x0522], { manufacturerCode: manufacturerCode });
4260
+ await endpoint.read("manuSpecificLumi", [0x0523], { manufacturerCode: manufacturerCode });
4272
4261
  await endpoint.read("genLevelCtrl", [0x0012], {});
4273
4262
  await endpoint.read("genLevelCtrl", [0x0013], {});
4274
4263
  },
4275
4264
  extend: [
4276
4265
  m.deviceEndpoints({ endpoints: { white: 1, rgb: 2 } }),
4277
4266
  lumiLight({ colorTemp: true, endpointNames: ["white"] }),
4278
- lumiLight({ colorTemp: true, deviceTemperature: false, powerOutageCount: false, color: { modes: ["xy", "hs"] }, endpointNames: ["rgb"] }),
4279
- lumiZigbeeOTA(),
4280
- m.enumLookup({
4281
- name: "power_on_behavior",
4282
- lookup: { on: 0, previous: 1, off: 2 },
4283
- cluster: "manuSpecificLumi",
4284
- attribute: { ID: 0x0517, type: 0x20 },
4285
- description: "Controls the behavior when the device is powered on after power loss",
4286
- zigbeeCommandOptions: { manufacturerCode },
4267
+ lumiLight({
4268
+ colorTemp: true,
4269
+ deviceTemperature: false,
4270
+ powerOutageCount: false,
4271
+ color: { modes: ["xy"] },
4272
+ endpointNames: ["rgb"],
4287
4273
  }),
4274
+ m.forcePowerSource({ powerSource: "Mains (single phase)" }),
4275
+ lumiPowerOnBehavior({ lookup: { on: 0, previous: 1, off: 2 } }),
4276
+ m.identify(),
4277
+ lumiZigbeeOTA(),
4288
4278
  lumi.lumiModernExtend.lumiDimmingRangeMin(),
4289
4279
  lumi.lumiModernExtend.lumiDimmingRangeMax(),
4290
- lumi.lumiModernExtend.lumiOffOnDuration(),
4291
4280
  lumi.lumiModernExtend.lumiOnOffDuration(),
4281
+ lumi.lumiModernExtend.lumiOffOnDuration(),
4282
+ lumi.lumiModernExtend.lumiT1MEffect(),
4283
+ lumi.lumiModernExtend.lumiRGBEffectSpeed(),
4284
+ lumi.lumiModernExtend.lumiRGBEffectColors(),
4285
+ lumi.lumiModernExtend.lumiSegmentColors(),
4292
4286
  ],
4293
4287
  },
4294
4288
  {
@@ -4339,38 +4333,33 @@ exports.definitions = [
4339
4333
  ],
4340
4334
  },
4341
4335
  {
4342
- zigbeeModel: [
4343
- "lumi.light.agl003",
4344
- "lumi.light.agl005",
4345
- "lumi.light.agl006",
4346
- "lumi.light.agl001",
4347
- "lumi.light.agl002",
4348
- "lumi.light.agl007",
4349
- "lumi.light.agl008",
4350
- ],
4336
+ zigbeeModel: ["lumi.light.agl001", "lumi.light.agl003", "lumi.light.agl005", "lumi.light.agl007"],
4351
4337
  model: "T2_E27",
4352
4338
  vendor: "Aqara",
4353
- description: "E27 led bulb",
4339
+ description: "E27 RGB led bulb",
4354
4340
  whiteLabel: [
4355
4341
  {
4356
4342
  model: "T2_GU10",
4357
4343
  vendor: "Aqara",
4358
- description: "GU10 led bulb",
4359
- fingerprint: [{ modelID: "lumi.light.agl005" }, { modelID: "lumi.light.agl006" }],
4344
+ description: "GU10 RGB led bulb",
4345
+ fingerprint: [{ modelID: "lumi.light.agl005" }, { modelID: "lumi.light.agl007" }],
4360
4346
  },
4361
4347
  {
4362
4348
  model: "T2_E26",
4363
4349
  vendor: "Aqara",
4364
- description: "E26 led bulb",
4365
- fingerprint: [{ modelID: "lumi.light.agl001" }, { modelID: "lumi.light.agl002" }],
4350
+ description: "E26 RGB led bulb",
4351
+ fingerprint: [{ modelID: "lumi.light.agl001" }],
4366
4352
  },
4367
4353
  ],
4368
4354
  configure: async (device, coordinatorEndpoint) => {
4369
4355
  const endpoint = device.getEndpoint(1);
4370
- await endpoint.read("manuSpecificLumi", [0x0528], { manufacturerCode: manufacturerCode });
4371
- await endpoint.read("manuSpecificLumi", [0x052c], { manufacturerCode: manufacturerCode });
4372
4356
  await endpoint.read("manuSpecificLumi", [0x0515], { manufacturerCode: manufacturerCode });
4373
4357
  await endpoint.read("manuSpecificLumi", [0x0516], { manufacturerCode: manufacturerCode });
4358
+ await endpoint.read("manuSpecificLumi", [0x051f], { manufacturerCode: manufacturerCode });
4359
+ await endpoint.read("manuSpecificLumi", [0x0520], { manufacturerCode: manufacturerCode });
4360
+ await endpoint.read("manuSpecificLumi", [0x0523], { manufacturerCode: manufacturerCode });
4361
+ await endpoint.read("manuSpecificLumi", [0x0528], { manufacturerCode: manufacturerCode });
4362
+ await endpoint.read("manuSpecificLumi", [0x052c], { manufacturerCode: manufacturerCode });
4374
4363
  await endpoint.read("genLevelCtrl", [0x0012], {});
4375
4364
  await endpoint.read("genLevelCtrl", [0x0013], {});
4376
4365
  },
@@ -4386,19 +4375,36 @@ exports.definitions = [
4386
4375
  lumi.lumiModernExtend.lumiOnOffDuration(),
4387
4376
  lumi.lumiModernExtend.lumiTransitionCurveCurvature(),
4388
4377
  lumi.lumiModernExtend.lumiTransitionInitialBrightness(),
4378
+ lumi.lumiModernExtend.lumiRGBEffect({ off: 0, breathing: 1, candlelight: 2, fading: 3, flash: 4 }),
4379
+ lumi.lumiModernExtend.lumiRGBEffectSpeed(),
4380
+ lumi.lumiModernExtend.lumiRGBEffectColors(),
4389
4381
  ],
4390
4382
  },
4391
4383
  {
4392
- zigbeeModel: ["lumi.light.agl004"],
4384
+ zigbeeModel: ["lumi.light.agl002", "lumi.light.agl004", "lumi.light.agl006", "lumi.light.agl008"],
4393
4385
  model: "T2_E27_CCT",
4394
4386
  vendor: "Aqara",
4395
- description: "E27 led bulb",
4387
+ description: "E27 CCT led bulb",
4388
+ whiteLabel: [
4389
+ {
4390
+ model: "T2_GU10_CCT",
4391
+ vendor: "Aqara",
4392
+ description: "GU10 CCT led bulb",
4393
+ fingerprint: [{ modelID: "lumi.light.agl006" }, { modelID: "lumi.light.agl008" }],
4394
+ },
4395
+ {
4396
+ model: "T2_E26_CCT",
4397
+ vendor: "Aqara",
4398
+ description: "E26 CCT led bulb",
4399
+ fingerprint: [{ modelID: "lumi.light.agl002" }],
4400
+ },
4401
+ ],
4396
4402
  configure: async (device, coordinatorEndpoint) => {
4397
4403
  const endpoint = device.getEndpoint(1);
4398
- await endpoint.read("manuSpecificLumi", [0x0528], { manufacturerCode: manufacturerCode });
4399
- await endpoint.read("manuSpecificLumi", [0x052c], { manufacturerCode: manufacturerCode });
4400
4404
  await endpoint.read("manuSpecificLumi", [0x0515], { manufacturerCode: manufacturerCode });
4401
4405
  await endpoint.read("manuSpecificLumi", [0x0516], { manufacturerCode: manufacturerCode });
4406
+ await endpoint.read("manuSpecificLumi", [0x0528], { manufacturerCode: manufacturerCode });
4407
+ await endpoint.read("manuSpecificLumi", [0x052c], { manufacturerCode: manufacturerCode });
4402
4408
  await endpoint.read("genLevelCtrl", [0x0012], {});
4403
4409
  await endpoint.read("genLevelCtrl", [0x0013], {});
4404
4410
  },