Skip to content

Collection of device converters to be used with zigbee-herdsman

License

Notifications You must be signed in to change notification settings

sesse/zigbee-herdsman-converters

This branch is 89 commits behind Koenkk/zigbee-herdsman-converters:master.

Folders and files

NameName
Last commit message
Last commit date
Feb 22, 2025
Mar 3, 2025
Feb 22, 2025
Feb 22, 2025
Mar 6, 2025
Mar 15, 2025
Mar 11, 2025
Feb 22, 2025
Nov 3, 2023
Feb 18, 2025
Mar 13, 2025
Mar 13, 2025
May 23, 2018
Feb 24, 2025
Mar 6, 2025
Mar 13, 2025
Mar 9, 2025
Jul 29, 2024
Mar 11, 2025

Repository files navigation

NPM

zigbee-herdsman-converters

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

Breaking changes

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

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 -g pnpm
pnpm install --frozen-lockfile
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.

About

Collection of device converters to be used with zigbee-herdsman

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%