zigbee-herdsman-converters 15.85.0 → 15.86.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 CHANGED
@@ -1,5 +1,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [15.86.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.85.0...v15.86.0) (2023-10-03)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** 552-720X1, 552-720X2 ([#6216](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6216)) ([08aeb57](https://github.com/Koenkk/zigbee-herdsman-converters/commit/08aeb57a29845b38f70ef961850e368f9a182c8d))
9
+ * **add:** BSEN-CV ([#6218](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6218)) ([d2ba8a1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d2ba8a106c09991b78abd78253366593ac3ddf6d))
10
+ * **add:** LED2201G8 https://github.com/Koenkk/zigbee2mqtt/issues/19118 ([db966bc](https://github.com/Koenkk/zigbee-herdsman-converters/commit/db966bcb43f18bf26dbe47189bbdb6413f8259ac))
11
+ * **add:** MOT-C1ZxxC/F ([#5788](https://github.com/Koenkk/zigbee-herdsman-converters/issues/5788)) ([893fa57](https://github.com/Koenkk/zigbee-herdsman-converters/commit/893fa578581d1303741b9e3194377af4a0441a65))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **detect:** Detect `_TZ3000_h8ngtlxy` as TuYa ZN231392 ([#6208](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6208)) ([b1a697e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b1a697e29ffdd30df8ba7afe4fda218c8a151fc4))
17
+ * **detect:** Detect `_TZ3000_lf56vpxj` as TuYa ZP01 https://github.com/Koenkk/zigbee2mqtt/issues/19105 ([69bc287](https://github.com/Koenkk/zigbee-herdsman-converters/commit/69bc2877b7841a60bf137961dcbfe07f43bf28c2))
18
+ * **detect:** Detect `_TZ3000_zl1kmjqx` as TuYa IH-K009 ([#6210](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6210)) ([efce388](https://github.com/Koenkk/zigbee-herdsman-converters/commit/efce3883082e10cd4c73c7d854a4ad15e03f2814))
19
+ * **detect:** Detect `_TZ3210_rcggc0ys` as Moes ZLD-RCW_2 https://github.com/Koenkk/zigbee2mqtt/issues/19130 ([0587220](https://github.com/Koenkk/zigbee-herdsman-converters/commit/05872205c00be503630898c67936a5948090d362))
20
+ * **detect:** Detect `_TZE200_bkkmqmyo` as Hiking DDS238-2 https://github.com/Koenkk/zigbee2mqtt/issues/19117 ([f823fe2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f823fe2569ed4b0613023a5be9d2910922416665))
21
+ * **detect:** Detect `_TZE200_rtrmfadk` as TuYa TS0601_thermostat_1 https://github.com/Koenkk/zigbee2mqtt/issues/19103 ([edf7a49](https://github.com/Koenkk/zigbee-herdsman-converters/commit/edf7a49e00feebd98557e14610f31711ab3151c2))
22
+ * **docs:** fix typo ([#6212](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6212)) ([c4d597e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c4d597e98ee293993f6cb58e432e7fb44bb598e1))
23
+ * Fix `_TZE200_5toc8efa` `current_heating_setpoint` multiplied by 10 https://github.com/Koenkk/zigbee2mqtt/issues/18791 ([8c4d1e3](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8c4d1e377e7096dbd1dabedc9ca79106568db0b9))
24
+ * Fix battery missing for Zemismart ZM85EL-2Z https://github.com/Koenkk/zigbee2mqtt/issues/18413 ([424476f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/424476fe561f0c430f99b4fe10e19fd621d954c5))
25
+ * Fix invalid device model for `TRADFRI bulb GU10 WS 345lm` ([#6217](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6217)) ([3154183](https://github.com/Koenkk/zigbee-herdsman-converters/commit/31541836b67be651fd7e757c2173af2576dfc085))
26
+ * **ignore:** correct typos ([#6214](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6214)) ([dc17051](https://github.com/Koenkk/zigbee-herdsman-converters/commit/dc17051ffcad9eeb2b8225e4900d98206f6d5a1f))
27
+ * **ignore:** correct typos ([#6215](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6215)) ([a9165c3](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a9165c3c7574307d3b14a7aa9da4cc6e8ddf9f0f))
28
+ * **ignore:** update dependencies ([#6209](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6209)) ([accc23e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/accc23ed8c39e549703db2ca7e1e6b993eab1803))
29
+ * Rename `BHT-006GBZB` to `BHT-002/BHT-006` https://github.com/Koenkk/zigbee2mqtt/issues/19091 ([1f7528d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1f7528d4da324ad4ff74d95c3d9a4fd618d2dd8e))
30
+
3
31
  ## [15.85.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.84.0...v15.85.0) (2023-09-28)
4
32
 
5
33
 
package/README.md CHANGED
@@ -23,7 +23,7 @@ npm run build
23
23
  If any of those commands finish with an error your PR won't pass the tests and will likely be rejected.
24
24
 
25
25
  ## Documentation of definition meta property
26
- - `multiEndpoint`: enables the multi endpoint functionallity in e.g. fromZigbee.on_off, example: normally this converter would return {"state": "OFF"}, when multiEndpoint is enabled the 'endpoint' method of the device definition will be called to determine the endpoint name which is then used as key e.g. {"state_left": "OFF"}. Only needed when device sends the same attribute from multiple endpoints. (default: false)
26
+ - `multiEndpoint`: enables the multi endpoint functionality in e.g. fromZigbee.on_off, example: normally this converter would return {"state": "OFF"}, when multiEndpoint is enabled the 'endpoint' method of the device definition will be called to determine the endpoint name which is then used as key e.g. {"state_left": "OFF"}. Only needed when device sends the same attribute from multiple endpoints. (default: false)
27
27
  - `multiEndpointSkip`: array of attributes to not suffix with the endpoint name
28
28
  - `multiEndpointEnforce`: enforce a certain endpoint for an attribute, e.g. {"power": 4} see utils.enforceEndpoint()
29
29
  - `disableDefaultResponse`: used by toZigbee converters to disable the default response of some devices as they don't provide one. (default: false)
@@ -40,5 +40,5 @@ If any of those commands finish with an error your PR won't pass the tests and w
40
40
  - `thermostat`: see e.g. HT-08 definition
41
41
  - `{dontMapPIHeatingDemand: true}`: do not map `pIHeatingDemand`/`pICoolingDemand` from 0-255 -> 0-100, see fromZigbee.thermostat (default: false)
42
42
  - `battery`:
43
- - `{dontDividePercentage: true}`: prevents batteryPercentageRemainig from being divided (ZCL 200=100%, but some report 100=100%) (default: false)
43
+ - `{dontDividePercentage: true}`: prevents batteryPercentageRemaining from being divided (ZCL 200=100%, but some report 100=100%) (default: false)
44
44
  - `{voltageToPercentage: '3V_2100'}`: convert voltage to percentage using specified option. See utils.batteryVoltageToPercentage() (default: null, no voltage to percentage conversion)
@@ -3373,7 +3373,7 @@ const converters = {
3373
3373
  result.action = lockStatusLookup[6 + parseInt(command, 16)];
3374
3374
  result.action_user = parseInt(userId, 16);
3375
3375
  }
3376
- else if (msg.data['65522']) { // set languge
3376
+ else if (msg.data['65522']) { // set language
3377
3377
  const data = Buffer.from(msg.data['65522'], 'ascii').toString('hex');
3378
3378
  const langId = data.substr(6, 2); // 1 chinese, 2: english
3379
3379
  result.action = (lockStatusLookup[14]) + (langId === '2' ? '_english' : '_chinese');
@@ -3511,7 +3511,7 @@ const converters = {
3511
3511
  if (hasAlreadyProcessedMessage(msg, model, msg.data.frameCounter, `${msg.device.ieeeAddr}_${commandID}`))
3512
3512
  return;
3513
3513
  if (commandID === 224)
3514
- return; // Skip commisioning command.
3514
+ return; // Skip commissioning command.
3515
3515
  // Button 1: A0 (top left)
3516
3516
  // Button 2: A1 (bottom left)
3517
3517
  // Button 3: B0 (top right)
@@ -4122,7 +4122,7 @@ const converters = {
4122
4122
  globalStore.putValue(msg.endpoint, 'hold', false);
4123
4123
  }, options.hold_timeout_expire || 4000);
4124
4124
  globalStore.putValue(msg.endpoint, 'hold_timer', holdTimer);
4125
- // After 4000 milliseconds of not reciving release we assume it will not happen.
4125
+ // After 4000 milliseconds of not receiving release we assume it will not happen.
4126
4126
  }, options.hold_timeout || 1000); // After 1000 milliseconds of not releasing we assume hold.
4127
4127
  globalStore.putValue(msg.endpoint, 'timer', timer);
4128
4128
  }
@@ -4802,12 +4802,12 @@ const converters = {
4802
4802
  }
4803
4803
  entry.CurrentPosition = currentPosition;
4804
4804
  if (msg.data.hasOwnProperty('currentPositionLiftPercentage') && msg.data['currentPositionLiftPercentage'] !== 50) {
4805
- // postion cast float to int
4805
+ // position cast float to int
4806
4806
  result.position = currentPosition | 0;
4807
4807
  }
4808
4808
  else {
4809
4809
  if (deltaTimeSec < timeCoverSetMiddle || deltaTimeSec > timeCoverSetMiddle) {
4810
- // postion cast float to int
4810
+ // position cast float to int
4811
4811
  result.position = currentPosition | 0;
4812
4812
  }
4813
4813
  else {
@@ -5161,7 +5161,7 @@ const converters = {
5161
5161
  result.angle_x = Math.round(Math.atan(x / Math.sqrt(y * y + z * z)) * 180 / Math.PI);
5162
5162
  result.angle_y = Math.round(Math.atan(y / Math.sqrt(x * x + z * z)) * 180 / Math.PI);
5163
5163
  result.angle_z = Math.round(Math.atan(z / Math.sqrt(x * x + y * y)) * 180 / Math.PI);
5164
- // calculate absolulte angle
5164
+ // calculate absolute angle
5165
5165
  const R = Math.sqrt(x * x + y * y + z * z);
5166
5166
  result.angle_x_absolute = Math.round((Math.acos(x / R)) * 180 / Math.PI);
5167
5167
  result.angle_y_absolute = Math.round((Math.acos(y / R)) * 180 / Math.PI);