zigbee-herdsman-converters 19.12.0 → 19.13.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 (126) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/converters/fromZigbee.d.ts.map +1 -1
  3. package/converters/fromZigbee.js +17 -16
  4. package/converters/fromZigbee.js.map +1 -1
  5. package/converters/toZigbee.d.ts.map +1 -1
  6. package/converters/toZigbee.js +24 -23
  7. package/converters/toZigbee.js.map +1 -1
  8. package/devices/bosch.d.ts.map +1 -1
  9. package/devices/bosch.js +3 -2
  10. package/devices/bosch.js.map +1 -1
  11. package/devices/develco.d.ts.map +1 -1
  12. package/devices/develco.js +2 -1
  13. package/devices/develco.js.map +1 -1
  14. package/devices/easyiot.d.ts.map +1 -1
  15. package/devices/easyiot.js +9 -8
  16. package/devices/easyiot.js.map +1 -1
  17. package/devices/ewelink.d.ts.map +1 -1
  18. package/devices/ewelink.js +2 -1
  19. package/devices/ewelink.js.map +1 -1
  20. package/devices/gledopto.d.ts.map +1 -1
  21. package/devices/gledopto.js +2 -1
  22. package/devices/gledopto.js.map +1 -1
  23. package/devices/ikea.js +5 -2
  24. package/devices/ikea.js.map +1 -1
  25. package/devices/kwikset.d.ts.map +1 -1
  26. package/devices/kwikset.js +0 -4
  27. package/devices/kwikset.js.map +1 -1
  28. package/devices/led_trading.d.ts.map +1 -1
  29. package/devices/led_trading.js +2 -1
  30. package/devices/led_trading.js.map +1 -1
  31. package/devices/lixee.d.ts.map +1 -1
  32. package/devices/lixee.js +11 -9
  33. package/devices/lixee.js.map +1 -1
  34. package/devices/lumi.d.ts.map +1 -1
  35. package/devices/lumi.js +5 -4
  36. package/devices/lumi.js.map +1 -1
  37. package/devices/profalux.d.ts.map +1 -1
  38. package/devices/profalux.js +3 -2
  39. package/devices/profalux.js.map +1 -1
  40. package/devices/sonoff.d.ts.map +1 -1
  41. package/devices/sonoff.js +27 -26
  42. package/devices/sonoff.js.map +1 -1
  43. package/devices/sunricher.d.ts.map +1 -1
  44. package/devices/sunricher.js +3 -2
  45. package/devices/sunricher.js.map +1 -1
  46. package/devices/tuya.d.ts.map +1 -1
  47. package/devices/tuya.js +4 -3
  48. package/devices/tuya.js.map +1 -1
  49. package/devices/ubisys.d.ts.map +1 -1
  50. package/devices/ubisys.js +6 -5
  51. package/devices/ubisys.js.map +1 -1
  52. package/devices/yale.d.ts.map +1 -1
  53. package/devices/yale.js +2 -1
  54. package/devices/yale.js.map +1 -1
  55. package/index.d.ts +2 -2
  56. package/index.d.ts.map +1 -1
  57. package/index.js +5 -4
  58. package/index.js.map +1 -1
  59. package/lib/generateDefinition.d.ts.map +1 -1
  60. package/lib/generateDefinition.js +3 -2
  61. package/lib/generateDefinition.js.map +1 -1
  62. package/lib/legacy.d.ts +3 -3
  63. package/lib/legacy.d.ts.map +1 -1
  64. package/lib/legacy.js +94 -115
  65. package/lib/legacy.js.map +1 -1
  66. package/lib/legrand.d.ts.map +1 -1
  67. package/lib/legrand.js +2 -1
  68. package/lib/legrand.js.map +1 -1
  69. package/lib/light.d.ts.map +1 -1
  70. package/lib/light.js +4 -3
  71. package/lib/light.js.map +1 -1
  72. package/lib/logger.d.ts.map +1 -1
  73. package/lib/logger.js +4 -4
  74. package/lib/logger.js.map +1 -1
  75. package/lib/lumi.d.ts.map +1 -1
  76. package/lib/lumi.js +36 -39
  77. package/lib/lumi.js.map +1 -1
  78. package/lib/modernExtend.d.ts.map +1 -1
  79. package/lib/modernExtend.js +9 -9
  80. package/lib/modernExtend.js.map +1 -1
  81. package/lib/ota/common.d.ts.map +1 -1
  82. package/lib/ota/common.js +35 -36
  83. package/lib/ota/common.js.map +1 -1
  84. package/lib/ota/inovelli.d.ts.map +1 -1
  85. package/lib/ota/inovelli.js +3 -2
  86. package/lib/ota/inovelli.js.map +1 -1
  87. package/lib/ota/jethome.d.ts.map +1 -1
  88. package/lib/ota/jethome.js +5 -4
  89. package/lib/ota/jethome.js.map +1 -1
  90. package/lib/ota/ledvance.d.ts.map +1 -1
  91. package/lib/ota/ledvance.js +2 -1
  92. package/lib/ota/ledvance.js.map +1 -1
  93. package/lib/ota/lixee.d.ts.map +1 -1
  94. package/lib/ota/lixee.js +3 -2
  95. package/lib/ota/lixee.js.map +1 -1
  96. package/lib/ota/salus.d.ts.map +1 -1
  97. package/lib/ota/salus.js +2 -1
  98. package/lib/ota/salus.js.map +1 -1
  99. package/lib/ota/tradfri.d.ts.map +1 -1
  100. package/lib/ota/tradfri.js +2 -1
  101. package/lib/ota/tradfri.js.map +1 -1
  102. package/lib/ota/ubisys.d.ts.map +1 -1
  103. package/lib/ota/ubisys.js +4 -3
  104. package/lib/ota/ubisys.js.map +1 -1
  105. package/lib/ota/zigbeeOTA.d.ts.map +1 -1
  106. package/lib/ota/zigbeeOTA.js +6 -5
  107. package/lib/ota/zigbeeOTA.js.map +1 -1
  108. package/lib/philips.d.ts.map +1 -1
  109. package/lib/philips.js +2 -1
  110. package/lib/philips.js.map +1 -1
  111. package/lib/tuya.d.ts.map +1 -1
  112. package/lib/tuya.js +3 -3
  113. package/lib/tuya.js.map +1 -1
  114. package/lib/types.d.ts +4 -4
  115. package/lib/types.d.ts.map +1 -1
  116. package/lib/ubisys.d.ts.map +1 -1
  117. package/lib/ubisys.js +2 -1
  118. package/lib/ubisys.js.map +1 -1
  119. package/lib/utils.d.ts +1 -2
  120. package/lib/utils.d.ts.map +1 -1
  121. package/lib/utils.js +4 -10
  122. package/lib/utils.js.map +1 -1
  123. package/lib/zosung.d.ts.map +1 -1
  124. package/lib/zosung.js +21 -20
  125. package/lib/zosung.js.map +1 -1
  126. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [19.13.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.12.1...v19.13.0) (2024-04-02)
4
+
5
+
6
+ ### Features
7
+
8
+ * Improve logging ([#7289](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7289)) ([5fa8327](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5fa8327da80fc9eb85d284f67cef970c30939079))
9
+
10
+ ## [19.12.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.12.0...v19.12.1) (2024-04-02)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **ignore:** fix ikea.ts ([cb9910f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/cb9910f44ae49195638b8114d71e8633b0003088))
16
+
3
17
  ## [19.12.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.11.2...v19.12.0) (2024-04-02)
4
18
 
5
19
 
@@ -1 +1 @@
1
- {"version":3,"file":"fromZigbee.d.ts","sourceRoot":"","sources":["../src/converters/fromZigbee.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,EAAE,EAAE,WAAW,EAAuB,MAAM,cAAc,CAAC;AAKnE,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AA4hK1C,QAAA,MAAM,UAAU;;;;;;;;;;;;QA9TR;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA5iIH;;;WAGG;;;;;;QAoCH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sKAkjHiD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4wBpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -29,6 +29,7 @@ const constants = __importStar(require("../lib/constants"));
29
29
  const libColor = __importStar(require("../lib/color"));
30
30
  const utils = __importStar(require("../lib/utils"));
31
31
  const exposes = __importStar(require("../lib/exposes"));
32
+ const NS = 'zhc:fz';
32
33
  const defaultSimulatedBrightness = 255;
33
34
  const e = exposes.presets;
34
35
  const ea = exposes.access;
@@ -2320,8 +2321,8 @@ const converters1 = {
2320
2321
  return null;
2321
2322
  default:
2322
2323
  // Unknown dps
2323
- meta.logger.debug(`livolo_cover_state: Unhandled DP ${dp} for ${meta.device.manufacturerName}: \
2324
- ${msg.data.toString('hex')}`);
2324
+ meta.logger.debug(`Unhandled DP ${dp} for ${meta.device.manufacturerName}: \
2325
+ ${msg.data.toString('hex')}`, NS);
2325
2326
  }
2326
2327
  }
2327
2328
  },
@@ -2369,7 +2370,7 @@ const converters1 = {
2369
2370
  return { action: value };
2370
2371
  }
2371
2372
  else {
2372
- meta.logger.warn('Unknown lock status with source ' + msg.data[3] + ' and event code ' + msg.data[4]);
2373
+ meta.logger.warning('Unknown lock status with source ' + msg.data[3] + ' and event code ' + msg.data[4], NS);
2373
2374
  }
2374
2375
  },
2375
2376
  },
@@ -2437,7 +2438,7 @@ const converters1 = {
2437
2438
  }*/
2438
2439
  if (msg.data.includes(Buffer.from([19, 5, 0]), 13)) {
2439
2440
  if (meta.logger)
2440
- meta.logger.debug('Detected Livolo Curtain Switch');
2441
+ meta.logger.debug('Detected Livolo Curtain Switch', NS);
2441
2442
  // curtain switch, hack
2442
2443
  meta.device.modelID = 'TI0001-curtain-switch';
2443
2444
  meta.device.save();
@@ -2453,7 +2454,7 @@ const converters1 = {
2453
2454
  }
2454
2455
  if (msg.data.includes(Buffer.from([19, 13, 0]), 13)) {
2455
2456
  if (meta.logger)
2456
- meta.logger.debug('Detected Livolo Pir Sensor');
2457
+ meta.logger.debug('Detected Livolo Pir Sensor', NS);
2457
2458
  meta.device.modelID = 'TI0001-pir';
2458
2459
  meta.device.save();
2459
2460
  }
@@ -3109,7 +3110,7 @@ const converters1 = {
3109
3110
  0x50: 'lock', 0x51: 'unlock', 0x52: 'half_open', 0x53: 'tilt',
3110
3111
  };
3111
3112
  if (!lookup.hasOwnProperty(commandID)) {
3112
- meta.logger.error(`PTM 215ZE: missing command '${commandID}'`);
3113
+ meta.logger.error(`PTM 215ZE: missing command '${commandID}'`, NS);
3113
3114
  }
3114
3115
  else {
3115
3116
  return { action: lookup[commandID] };
@@ -3138,7 +3139,7 @@ const converters1 = {
3138
3139
  };
3139
3140
  const ID = `${commandID}_${msg.data.commandFrame.raw?.slice(0, 1).join('_') ?? ''}`;
3140
3141
  if (!lookup.hasOwnProperty(ID)) {
3141
- meta.logger.error(`PTM 216Z: missing command '${ID}'`);
3142
+ meta.logger.error(`PTM 216Z: missing command '${ID}'`, NS);
3142
3143
  }
3143
3144
  else {
3144
3145
  return { action: lookup[ID] };
@@ -3348,7 +3349,7 @@ const converters1 = {
3348
3349
  else if (mode === 0x05)
3349
3350
  payload.pilot_wire_mode = 'off';
3350
3351
  else {
3351
- meta.logger.warn(`Bad mode : ${mode}`);
3352
+ meta.logger.warning(`Bad mode : ${mode}`, NS);
3352
3353
  payload.pilot_wire_mode = 'unknown';
3353
3354
  }
3354
3355
  return payload;
@@ -3393,7 +3394,7 @@ const converters1 = {
3393
3394
  0x34: 'stop', 0x35: 'up', 0x36: 'down', // 600087l
3394
3395
  };
3395
3396
  if (!lookup.hasOwnProperty(commandID)) {
3396
- meta.logger.error(`Legrand GreenPower: missing command '${commandID}'`);
3397
+ meta.logger.error(`Legrand GreenPower: missing command '${commandID}'`, NS);
3397
3398
  }
3398
3399
  else {
3399
3400
  return { action: lookup[commandID] };
@@ -3601,7 +3602,7 @@ const converters1 = {
3601
3602
  if (msg.data.hasOwnProperty('currentPositionLiftPercentage') && msg.data['currentPositionLiftPercentage'] == 50) {
3602
3603
  if ((entry.CurrentPosition == -1 && entry.lastPreviousAction == -1) ||
3603
3604
  entry.lastPreviousAction == 50) {
3604
- meta.logger.warn(`ZMCSW032D ignore action `);
3605
+ meta.logger.warning(`ZMCSW032D ignore action`, NS);
3605
3606
  return;
3606
3607
  }
3607
3608
  }
@@ -4156,7 +4157,7 @@ const converters1 = {
4156
4157
  0x62: 'press_3_and_4', 0x63: 'release_3_and_4', 0x64: 'press_1_and_2', 0x65: 'release_1_and_2',
4157
4158
  };
4158
4159
  if (!lookup.hasOwnProperty(commandID)) {
4159
- meta.logger.error(`Hue Tap: missing command '${commandID}'`);
4160
+ meta.logger.error(`Hue Tap: missing command '${commandID}'`, NS);
4160
4161
  }
4161
4162
  else {
4162
4163
  return { action: lookup[commandID] };
@@ -4344,7 +4345,7 @@ const converters1 = {
4344
4345
  attribute['occupiedHeatingSetpoint'] = msg.data['setpoint'];
4345
4346
  msg.endpoint.saveClusterAttributeKeyValue('hvacThermostat', attribute);
4346
4347
  result['occupied_heating_setpoint'] = parseFloat(msg.data['setpoint']) / 100.0;
4347
- meta.logger.debug(`received wiser setpoint command with value: '${msg.data['setpoint']}'`);
4348
+ meta.logger.debug(`received wiser setpoint command with value: '${msg.data['setpoint']}'`, NS);
4348
4349
  return result;
4349
4350
  },
4350
4351
  },
@@ -4441,7 +4442,7 @@ const converters1 = {
4441
4442
  return;
4442
4443
  const lookup = { 0x21: 'press_on', 0x20: 'press_off', 0x34: 'release', 0x35: 'hold_on', 0x36: 'hold_off' };
4443
4444
  if (!lookup.hasOwnProperty(commandID)) {
4444
- meta.logger.error(`Sunricher: missing command '${commandID}'`);
4445
+ meta.logger.error(`Sunricher: missing command '${commandID}'`, NS);
4445
4446
  }
4446
4447
  else {
4447
4448
  return { action: lookup[commandID] };
@@ -4467,7 +4468,7 @@ const converters1 = {
4467
4468
  0x34: 'release',
4468
4469
  };
4469
4470
  if (!lookup.hasOwnProperty(commandID)) {
4470
- meta.logger.error(`Sunricher: missing command '${commandID}'`);
4471
+ meta.logger.error(`Sunricher: missing command '${commandID}'`, NS);
4471
4472
  }
4472
4473
  else {
4473
4474
  return { action: lookup[commandID] };
@@ -5077,7 +5078,7 @@ const converters2 = {
5077
5078
  };
5078
5079
  await msg.endpoint.command('hvacThermostat', 'wiserSmartSetSetpoint', payload, { srcEndpoint: 11, disableDefaultResponse: true });
5079
5080
  meta.logger.debug(`syncing vact setpoint was: '${result.occupied_heating_setpoint}'` +
5080
- ` now: '${meta.state.occupied_heating_setpoint}'`);
5081
+ ` now: '${meta.state.occupied_heating_setpoint}'`, NS);
5081
5082
  }
5082
5083
  }
5083
5084
  else {
@@ -5105,7 +5106,7 @@ const converters2 = {
5105
5106
  else if (mode === 0x05)
5106
5107
  payload.pilot_wire_mode = 'comfort_-2';
5107
5108
  else {
5108
- meta.logger.warn(`wrong mode : ${mode}`);
5109
+ meta.logger.warning(`wrong mode : ${mode}`, NS);
5109
5110
  payload.pilot_wire_mode = 'unknown';
5110
5111
  }
5111
5112
  return payload;