Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

zigbee-herdsman-conver

Koenkk490MIT1.0.1TypeScript support: included

NPM

xiaomi, tradfri, hue, wemo, zigbee, zigbee-shepherd

readme

NPM

zigbee-herdsman-converters

Collection of device converters to be used with zigbee-herdsman.

Breaking changes

15.0.0

  • OTA isUpdateAvailable now returns an object instead of a boolean (e.g. {available: true, currentFileVersion: 120, otaFileVersion: 125})
  • OTA updateToLatest now returns a number (fileVersion of the new OTA) instead of a void

Contributing

See Zigbee2MQTT how to support new devices.

Submitting a pull request

If you'd like to submit a pull request, you should run the following commands to ensure your changes will pass the tests:

npm install
npm run lint
npm test
npm run build

If any of those commands finish with an error your PR won't pass the tests and will likely be rejected.

Documentation of definition meta property

  • 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)
  • multiEndpointSkip: array of attributes to not suffix with the endpoint name
  • multiEndpointEnforce: enforce a certain endpoint for an attribute, e.g. {"power": 4} see utils.enforceEndpoint()
  • disableDefaultResponse: used by toZigbee converters to disable the default response of some devices as they don't provide one. (default: false)
  • applyRedFix: see toZigbee.light_color (default: false)
  • supportsEnhancedHue: see toZigbee.light_color (default: true)
  • supportsHueAndSaturation: see toZigbee.light_color (default: true), usually set by light_* extends via options.
  • timeout: timeout for commands to this device used in toZigbee. (default: 10000)
  • coverInverted: Set to true for cover controls that report position=100 as open (default: false)
  • coverStateFromTilt: Set cover state based on tilt
  • turnsOffAtBrightness1: Indicates light turns off when brightness 1 is set (default: false)
  • pinCodeCount: Amount of pincodes the lock can handle
  • disableActionGroup: Prevents some converters adding the action_group to the payload (default: false)
  • tuyaThermostatSystemMode/tuyaThermostatPreset: TuYa specific thermostat options
  • thermostat: see e.g. HT-08 definition
    • {dontMapPIHeatingDemand: true}: do not map pIHeatingDemand/pICoolingDemand from 0-255 -> 0-100, see fromZigbee.thermostat (default: false)
  • battery:
    • {dontDividePercentage: true}: prevents batteryPercentageRemaining from being divided (ZCL 200=100%, but some report 100=100%) (default: false)
    • {voltageToPercentage: '3V_2100'}: convert voltage to percentage using specified option. See utils.batteryVoltageToPercentage() (default: null, no voltage to percentage conversion)

changelog

Changelog

15.105.1 (2023-10-31)

Bug Fixes

15.105.0 (2023-10-30)

Features

Bug Fixes

15.104.0 (2023-10-29)

Features

Bug Fixes

15.103.0 (2023-10-27)

Features

Bug Fixes

15.102.0 (2023-10-25)

Features

Bug Fixes

15.101.0 (2023-10-23)

Features

Bug Fixes

15.100.0 (2023-10-22)

Features

Bug Fixes

15.99.0 (2023-10-21)

Features

Bug Fixes

  • detect: Detect TRADFRI bulb E26 WW G95 CL 450lm as IKEA LED2102G3 (#6315) (c5b7cee)
  • Fix various values for _TZE200_5toc8efa divided by 10 (#6316) (d7ef1a8)

15.98.0 (2023-10-20)

Features

  • Expose more actions for TuYa TS004F and add _TZ3000_nuombroo (#6303) (e81ba3f)

Bug Fixes

15.97.0 (2023-10-18)

Features

Bug Fixes

15.96.0 (2023-10-17)

Features

Bug Fixes

15.95.0 (2023-10-16)

Features

Bug Fixes

  • detect: Detect _TZ3000_yfekcy3n as TuYa DS04 (#6296) (acf1004)
  • detect: Detect _TZE200_jkbljri7 as TuYa MIR-HE200-TY (#6293) (90913a2)
  • detect: Detect FEB56-ZSN26YS1.3 as Nue / 3A HGZB-045 (#6292) (cbe9760)
  • detect: Detect TRADFRI bulb E26 CWS 810lm as IKEA LED1924G9 (#6291) (b1917d3)
  • ignore: Revert "fix: Fix incorrect Yookee D10110 cover position (#6211)" (#6289) (33c36fd)

15.94.2 (2023-10-15)

Bug Fixes

  • detect: Detect _TZ3000_empogkya as Zemismart ZM-L03E-Z and _TZ3000_lubfc1t5 as TuYa M10Z (#6281) (2f60e66)
  • detect: Detect PCM002 as Philips 915005733701 (#6287) (7d8c4a5)
  • Fixes for _TZE200_5toc8efa thermostat (#6276) (4d3212f)
  • ignore: update dependencies (#6285) (c3e8a76)

15.94.1 (2023-10-14)

Bug Fixes

15.94.0 (2023-10-13)

Features

Bug Fixes

15.93.0 (2023-10-12)

Features

  • add: CTL-R1-TY-Zigbee (#6264) (18f68d6)
  • ignore: Enable incremental TSC builds (#6273) (d54d5a6)
  • Increase max supported pincodes to 1000 for Onesti Products AS easyCodeTouch_v1 (#6271) (40defe1)

Bug Fixes

15.92.1 (2023-10-10)

Bug Fixes

  • ignore: dummy change to trigger update (487436f)

15.92.0 (2023-10-10)

Features

Bug Fixes

15.91.0 (2023-10-09)

Features

Bug Fixes

15.90.0 (2023-10-08)

Features

Bug Fixes

15.89.1 (2023-10-07)

Bug Fixes

15.89.0 (2023-10-06)

Features

Bug Fixes

15.88.0 (2023-10-05)

Features

Bug Fixes

15.87.0 (2023-10-03)

Features

  • Expose battery for Schneider Electric WV704R0A0902 (#6220) (6957b4f)

Bug Fixes

15.86.1 (2023-10-03)

Bug Fixes

15.86.0 (2023-10-03)

Features

Bug Fixes

15.85.0 (2023-09-28)

Features

Bug Fixes

15.84.0 (2023-09-27)

Features

Bug Fixes

  • ignore: fix b98aacee6c35fbe19a44b1ef3d1d3ea64a57f54c (1001027)

15.83.0 (2023-09-26)

Features

Bug Fixes

15.82.0 (2023-09-24)

Features

Bug Fixes

15.81.1 (2023-09-21)

Bug Fixes

15.81.0 (2023-09-20)

Features

Bug Fixes

15.80.0 (2023-09-19)

Features

Bug Fixes

15.79.0 (2023-09-17)

Features

Bug Fixes

15.78.0 (2023-09-17)

Features

Bug Fixes

15.77.0 (2023-09-16)

Features

Bug Fixes

15.76.0 (2023-09-14)

Features

  • Expose power outage memory for Mercator Ikuü SPP02GIP (#6159) (b92fdd9)

Bug Fixes

  • detect: Detect _TZ3000_skueekg3 as TuYa WHD02 (#6160) (32eebe7)
  • detect: Detect _TZ3000_uwkja6z1 as Nous A4Z (#6162) (ea7644a)

15.75.0 (2023-09-13)

Features

Bug Fixes

15.74.0 (2023-09-11)

Features

Bug Fixes

15.73.0 (2023-09-09)

Features

Bug Fixes

15.72.0 (2023-09-07)

Features

Bug Fixes

  • Rename 948.47 to 948.47/29165 and add color temp range (#6141) (57bd2c7)

15.71.0 (2023-09-06)

Features

Bug Fixes

15.70.0 (2023-09-04)

Features

Bug Fixes

15.69.0 (2023-09-03)

Features

Bug Fixes

15.68.0 (2023-09-02)

Features

Bug Fixes

15.67.1 (2023-09-01)

Bug Fixes

15.67.0 (2023-09-01)

Features

Bug Fixes

15.66.1 (2023-08-31)

Bug Fixes

  • ignore: fix 888918c119756090bb123b061c83587155168ae0 (b18397a)

15.66.0 (2023-08-31)

Features

Bug Fixes

15.65.0 (2023-08-30)

Features

Bug Fixes

  • detect: Detect _TZ3000_aa5t61rh as TS0002_switch_module_3 (#6117) (eb83e94)
  • Fix middle volume value for TuYa YXZBSL (#6119) (2db8db2)

15.64.0 (2023-08-29)

Features

Bug Fixes

  • detect: Detect _TZE204_rhblgy0z as TuYa TS0601_din_1 (#6111) (d2c0dd2)
  • detect: Detect 929002376402 as 929002376401 (#6112) (21a0401)
  • Enable hue/saturation for Paulmann lights (#6114) (1b401e9)

15.63.0 (2023-08-27)

Features

Bug Fixes

15.62.0 (2023-08-26)

Features

15.61.0 (2023-08-24)

Features

Bug Fixes

15.60.0 (2023-08-20)

Features

15.59.0 (2023-08-19)

Features

Bug Fixes

  • ignore: revert 126c55eae80d78cf270e8c616909e53c59c1844c (ddb5115)

15.58.1 (2023-08-18)

Bug Fixes

15.58.0 (2023-08-17)

Features

  • Add label to exposes (#6066) (8f62565)
  • add: 915005988001 (#6080) (e61be78)
  • Support fan mode, keypad lockout and OTA and remove pi heating demand for Zen Zen-01-W (#6078) (520128a)
  • Support schedule for TuYa TS0601_thermostat_3 and add _TZE200_p3dbf6qs and _TZE200_rxntag7i (#6067) (3a948ab)
  • Support tamper for TuYa TS0207_water_leak_detector (#6079) (b166a63)

Bug Fixes

15.57.0 (2023-08-14)

Features

Bug Fixes

15.56.0 (2023-08-12)

Features

Bug Fixes

15.55.3 (2023-08-10)

Bug Fixes

15.55.2 (2023-08-09)

Bug Fixes

15.55.1 (2023-08-08)

Bug Fixes

15.55.0 (2023-08-07)

Features

Bug Fixes

15.54.1 (2023-08-06)

Bug Fixes

15.54.0 (2023-08-05)

Features

15.53.0 (2023-08-04)

Features

Bug Fixes

15.52.0 (2023-08-03)

Features

Bug Fixes

15.51.0 (2023-08-02)

Features

Bug Fixes

15.50.1 (2023-08-01)

Bug Fixes

  • ignore: Fix changelog and model (4e67577)

15.50.0 (2023-07-31)

Features

Bug Fixes

  • detect: Detect _TZE204_ntcy3xu1 as TuYa TS0601_smoke_1 (#6027) (4c15386)
  • ignore: fix f11b5d7b600334383a95520475834384dea21c1d (277e6eb)
  • ignore: Fixes for easyCodeTouch_v1 (#6024) (1a6ac0e)

15.49.0 (2023-07-27)

Features

  • Add new features for Onesti Products AS easyCodeTouch_v1 (#6010) (62fbaa2)
  • add: SOMFY-1241752 (#6019) (ccffb64)
  • add: ZY-M100-S_2 (#5990) (90519ec)
  • detect: Detect _TZ3000_qomxlryd as ORBIS Windows & Door Sensor, _TZ3000_qomxlryd as ORBIS Motion Sensor, _TZ3000_awvmkayh as ORBIS Water Sensor and _TYZB01_821siati as ORBIS Vibration Sensor (#6013) (7ad7aa3)

Bug Fixes

15.48.0 (2023-07-26)

Features

Bug Fixes

15.47.0 (2023-07-25)

Features

Bug Fixes

  • ignore: Improvements for U86Z223A10-ZJU01(GD) (#5997) (2062d03)

15.46.0 (2023-07-24)

Features

15.45.0 (2023-07-23)

Features

Bug Fixes

15.44.0 (2023-07-19)

Features

Bug Fixes

  • detect: Detect _TZE200_zxxfv8wi as HUARUI CMD900LE (#5984) (d5b5c15)

15.43.0 (2023-07-18)

Features

15.42.0 (2023-07-17)

Features

Bug Fixes

15.41.0 (2023-07-15)

Features

Bug Fixes

15.40.0 (2023-07-13)

Features

Bug Fixes

15.39.1 (2023-07-11)

Bug Fixes

15.39.0 (2023-07-10)

Features

Bug Fixes

15.38.0 (2023-07-09)

Features

Bug Fixes

15.37.0 (2023-07-07)

Features

  • add: MG-ZG01W, MG-ZG02W, MG-ZG03W (#5939) (9a375a9)
  • add: TS0003_switch_3_gang_with_backlight (#5953) (ee9a7ab)
  • Update NodOn / ADEO description files and support OTA for some (#5952) (ae047bb)

Bug Fixes

15.36.0 (2023-07-05)

Features

Bug Fixes

  • Fix timers of RTX ZVG1 and Saswell SAS980SWT-7-Z01 (#5948) (0c9bc38)
  • Fix various Eco-Dim.07/Eco-Dim.10 variants not recognised (#5946) (ac852a8)

15.35.1 (2023-07-04)

Bug Fixes

15.35.0 (2023-07-04)

Features

Bug Fixes

15.34.0 (2023-07-02)

Features

Bug Fixes

15.33.1-hotfix.0 (2023-07-08)

Bug Fixes

15.33.1 (2023-07-01)

Bug Fixes

15.33.0 (2023-06-30)

Features

Bug Fixes

  • Change brightness min reporting to 1 to prevent spamming of some devices (#5925) (e82fe59)
  • Fix naming inconsistency for vendor LED-Trading (#5931) (b1f6e97)

15.32.0 (2023-06-27)

Features

Bug Fixes

15.31.0 (2023-06-26)

Features

  • Support occupancy and illuminance for Third Reality 3RSNL02043Z (#5914) (c1f9b33)

Bug Fixes

15.30.0 (2023-06-25)

Features

Bug Fixes

15.29.0 (2023-06-23)

Features

Bug Fixes

15.28.0 (2023-06-22)

Features

Bug Fixes

15.27.0 (2023-06-20)

Features

  • Support OTA for Legrand 067771 and 067772 (#5899) (bcd4a14)

Bug Fixes

15.26.0 (2023-06-19)

Features

Bug Fixes

15.25.0 (2023-06-18)

Features

Bug Fixes

15.24.0 (2023-06-14)

Features

Bug Fixes

15.23.0 (2023-06-13)

Features

Bug Fixes

15.22.0 (2023-06-12)

Features

Bug Fixes

15.21.2 (2023-06-08)

Bug Fixes

  • ignore: Fix 0d0ceb2631ff65379ddbd7a99591453558741b4c (7c03d14)

15.21.1 (2023-06-08)

Bug Fixes

15.21.0 (2023-06-08)

Features

Bug Fixes

15.20.0 (2023-06-08)

Features

Bug Fixes

15.19.1 (2023-06-07)

Bug Fixes

15.19.0 (2023-06-07)

Features

Bug Fixes

15.18.0 (2023-06-05)

Features

Bug Fixes

  • Disable unsupported power_on_behaviour for Innr FL 130 C (#5842) (0de0829)

15.17.0 (2023-06-04)

Features

Bug Fixes

15.16.0 (2023-06-03)

Features

Bug Fixes

15.15.1 (2023-06-02)

Bug Fixes

15.15.0 (2023-06-02)

Features

Bug Fixes

15.14.1 (2023-06-01)

Bug Fixes

  • ignore: Improve Access type check (beadb08)

15.14.0 (2023-06-01)

Features

Bug Fixes

15.13.1-hotfix.1 (2023-06-07)

Bug Fixes

  • ignore: Fix 6e91fbb2947d0d272df6941092b490c2fcf6d5bc (df01d07)

15.13.1-hotfix.0 (2023-06-07)

Bug Fixes

15.13.1 (2023-06-01)

Bug Fixes

15.13.0 (2023-05-31)

Features

Bug Fixes

15.12.0 (2023-05-30)

Features

Bug Fixes

15.11.0 (2023-05-27)

Features

15.10.0 (2023-05-26)

Features

Bug Fixes

  • ignore: fix trailing space in SNZB-02P description (#5800) (5900bf0)

15.9.0 (2023-05-25)

Features

Bug Fixes

15.8.2 (2023-05-24)

Bug Fixes

15.8.1 (2023-05-24)

Bug Fixes

15.8.0 (2023-05-24)

Features

15.7.1 (2023-05-24)

Bug Fixes

15.7.0 (2023-05-23)

Features

Bug Fixes

15.6.0 (2023-05-23)

Features

  • Support illuminance_lux for Xiaomi ZNCLBL01LM (#5781) (1710dbc)

15.5.0 (2023-05-22)

Features

15.4.0 (2023-05-22)

Features

15.3.0 (2023-05-22)

Features

15.2.0 (2023-05-22)

Features

  • Support more features for Acova TAFFETAS2 (#5773) (965eb3c)

15.1.0 (2023-05-22)

Features