node-zwave-js icon indicating copy to clipboard operation
node-zwave-js copied to clipboard

feat(cc): implement Schedule Entry Lock CC

Open AlCalzone opened this issue 3 years ago • 18 comments

fixes: #4821

AlCalzone avatar Jul 22 '22 14:07 AlCalzone

@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.

AlCalzone avatar Jul 25 '22 14:07 AlCalzone

🎉 The packages have been published. You can now install the test version with

yarn add [email protected]

zwave-js-bot avatar Jul 25 '22 14:07 zwave-js-bot

@zwave-js-bot pack this

AlCalzone avatar Aug 16 '22 13:08 AlCalzone

👋 Hey @AlCalzone! I've started to deploy this PR as a development build. You can monitor the progress here.

zwave-js-bot avatar Aug 16 '22 13:08 zwave-js-bot

🎉 The packages have been published. You can now install the test version with

yarn add [email protected]

zwave-js-bot avatar Aug 16 '22 13:08 zwave-js-bot

@zwave-js-bot pack this

AlCalzone avatar Aug 25 '22 13:08 AlCalzone

👋 Hey @AlCalzone! I've started to deploy this PR as a development build. You can monitor the progress here.

zwave-js-bot avatar Aug 25 '22 13:08 zwave-js-bot

🎉 The packages have been published. You can now install the test version with

yarn add [email protected]

zwave-js-bot avatar Aug 25 '22 13:08 zwave-js-bot

@zwave-js-bot pack this

AlCalzone avatar Aug 30 '22 17:08 AlCalzone

👋 Hey @AlCalzone! I've started to deploy this PR as a development build. You can monitor the progress here.

zwave-js-bot avatar Aug 30 '22 17:08 zwave-js-bot

🎉 The packages have been published. You can now install the test version with

yarn add [email protected]

zwave-js-bot avatar Aug 30 '22 17:08 zwave-js-bot

TODO: add proper logging TODO: interpret empty schedules (0xffff....) when reading

AlCalzone avatar Aug 31 '22 14:08 AlCalzone

@zwave-js-bot pack this

AlCalzone avatar Aug 31 '22 17:08 AlCalzone

👋 Hey @AlCalzone! I've started to deploy this PR as a development build. You can monitor the progress here.

zwave-js-bot avatar Aug 31 '22 17:08 zwave-js-bot

🎉 The packages have been published. You can now install the test version with

yarn add [email protected]

zwave-js-bot avatar Aug 31 '22 17:08 zwave-js-bot

@zwave-js-bot pack this

AlCalzone avatar Sep 06 '22 11:09 AlCalzone

👋 Hey @AlCalzone! I've started to deploy this PR as a development build. You can monitor the progress here.

zwave-js-bot avatar Sep 06 '22 11:09 zwave-js-bot

🎉 The packages have been published. You can now install the test version with

yarn add [email protected]

zwave-js-bot avatar Sep 06 '22 11:09 zwave-js-bot

TODO: Update and merge

AlCalzone avatar Sep 28 '22 13:09 AlCalzone

@zwave-js-bot approve

AlCalzone avatar Sep 29 '22 08:09 AlCalzone