Skip to content
프로젝트

Koenkk/zigbee-herdsman-converters

GitHub에서 보기

소개

zigbee-herdsman에서 사용할 수 있는 디바이스 변환기 모음

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+2
in 15 days
+7
in 1 month
+14

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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:

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

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

관련 프로젝트 살펴보기

불러오는 중…