node-zwave-js
node-zwave-js copied to clipboard
feat(cc): implement Schedule Entry Lock CC
fixes: #4821
@zwave-js-bot pack this @jmgiaever in case you want to give this a shot. There's no value API though since it does not make much sense here, so you'll need to use driver function to execute stuff.
https://github.com/zwave-js/node-zwave-js/blob/schedule-entry-lock-cc/docs/api/CCs/ScheduleEntryLock.md details the API methods you can access using
const node = driver.controller.nodes.get(2); // replace 2 with the node ID
const selAPI = node.commandClasses["Schedule Entry Lock"]
// example:
await selAPI.setEnabled(true, 2); // enables all schedules for user 2
The argument object shapes are defined here: https://github.com/zwave-js/node-zwave-js/pull/4836/files#diff-5b7ac4296cddb7604b4506aecaf28b18f3971fc6ff901f1cf012eeeed906dd56R1288-R1291 and some below.
🎉 The packages have been published. You can now install the test version with
yarn add [email protected]
@zwave-js-bot pack this
👋 Hey @AlCalzone! I've started to deploy this PR as a development build. You can monitor the progress here.
🎉 The packages have been published. You can now install the test version with
yarn add [email protected]
@zwave-js-bot pack this
👋 Hey @AlCalzone! I've started to deploy this PR as a development build. You can monitor the progress here.
🎉 The packages have been published. You can now install the test version with
yarn add [email protected]
@zwave-js-bot pack this
👋 Hey @AlCalzone! I've started to deploy this PR as a development build. You can monitor the progress here.
🎉 The packages have been published. You can now install the test version with
yarn add [email protected]
TODO: add proper logging TODO: interpret empty schedules (0xffff....) when reading
@zwave-js-bot pack this
👋 Hey @AlCalzone! I've started to deploy this PR as a development build. You can monitor the progress here.
🎉 The packages have been published. You can now install the test version with
yarn add [email protected]
@zwave-js-bot pack this
👋 Hey @AlCalzone! I've started to deploy this PR as a development build. You can monitor the progress here.
🎉 The packages have been published. You can now install the test version with
yarn add [email protected]
TODO: Update and merge
@zwave-js-bot approve