npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

zigbee-herdsman-converters

v25.83.0

Published

Collection of device converters to be used with zigbee-herdsman

Downloads

110,854

Readme

NPM

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:

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:

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:
(await import('zigbee-herdsman-converters/devices/index')).default.forEach((baseDefinition) => {
    const d = zhc.prepareDefinition(baseDefinition);
});

21.0.0

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