项目
在 GitHub 查看
Koenkk/zigbee-herdsman-converters
关于
用于 zigbee-herdsman 的设备转换器集合
其他项目实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- +7
- 1个月
- +14
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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
onEventapi, see https://github.com/Koenkk/zigbee-herdsman-converters/pull/9650 for more info. - A
deviceargument has been added topostProcessConvertedFromZigbeeMessage(https://github.com/Koenkk/zigbee-herdsman-converters/pull/9693) rawDatanow needs to be provided toFz.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), usedefinition.exposes({isDummyDevice: true}, {})instead (#9601)
23.0.0
- A
Publishnow has to be passed to toZigbee converters (#8875)
22.0.0
addDefinitionhas been renamed toaddExternalDefinition- An import of
zigbee-herdsman-convertersdoes not expose alldefinitionsanymore. Use this instead:
(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,
postProcessConvertedFromZigbeeMessageshould be called now (for applying calibration/precision)
17.0.0
- Various methods in
index.tsare now async and return aPromise
15.0.0
- OTA
isUpdateAvailablenow returns an object instead of a boolean (e.g.{available: true, currentFileVersion: 120, otaFileVersion: 125}) - OTA
updateToLatestnow returns a number (fileVersionof the new OTA) instead of a void
探索相关项目
加载中…
