Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
Z

zigbee-herdsman-converters

> 编程语言
Open source

Collection of device converters to be used with zigbee-herdsman

1.2K stars0 likes1 views
WebsiteGitHub

About

Collection of device converters to be used with zigbee-herdsman

zigbee-herdsman-converters

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

Contributing

See Zigbee2MQTT how to support new devices.

Creating a pull request

Github codespaces

You can use Github codespaces to create pull requests with a fully setup editor, right from your web browser:

  • https://docs.github.com/en/codespaces/developing-in-a-codespace/creating-a-codespace-for-a-repository
  • https://docs.github.com/en/codespaces/developing-in-a-codespace/using-github-codespaces-for-pull-requests

Locally

Install the prerequisites:

bash
npm install -g pnpm
pnpm install --frozen-lockfile

Submitting your pull request

Before you submit a pull request, you should run the following commands to ensure your changes will pass the tests:

bash
pnpm run check --fix
pnpm run build
pnpm test

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

Breaking changes

25.0.0

  • Changed the onEvent api, see https://github.com/Koenkk/zigbee-herdsman-converters/pull/9650 for more info.
  • A device argument has been added to postProcessConvertedFromZigbeeMessage (https://github.com/Koenkk/zigbee-herdsman-converters/pull/9693)
  • rawData now needs to be provided to Fz.Message.meta (https://github.com/Koenkk/zigbee-herdsman-converters/pull/9775)

24.0.0

  • It's not longer possible to call definition.exposes(undefined, undefined), use definition.exposes({isDummyDevice: true}, {}) instead (#9601)

23.0.0

  • A Publish now has to be passed to toZigbee converters (#8875)

22.0.0

  • addDefinition has been renamed to addExternalDefinition
  • An import of zigbee-herdsman-converters does not expose all definitions anymore. Use this instead:
javascript
(await import('zigbee-herdsman-converters/devices/index')).default.forEach((baseDefinition) => {
    const d = zhc.prepareDefinition(baseDefinition);
});

21.0.0

  • Various breaking changes, see CHANGELOG.md.

20.0.0

  • A toZigbee converter is now allowed to not define any key, in this case the converter should be used for any key.

19.0.0

  • Legacy extend was removed

18.0.0

  • After converting a message with a fromZigbee converter, postProcessConvertedFromZigbeeMessage should be called now (for applying calibration/precision)

17.0.0

  • Various methods in index.ts are now async and return a Promise

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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScripthacktoberfest

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言