This module can be used to make the development of Z-Wave apps for Homey easier.
It is essentially a map-tool from Homey-capabilities to Z-Wave Command Classes.
This module requires Homey Apps SDK v3.
- node-homey-rfdriver — Module for RF drivers
- node-homey-zigbeedriver — Module for Zigbee drivers
- node-homey-oauth2app — Module for OAuth2 apps
- node-homey-log — Module to log unhandled errors to Sentry
$ npm install homey-zwavedriver
This module requires Homey Apps SDK v3.
Your device should extend ZwaveDevice. Start by looking at the docs for ZwaveDevice
. This is the class you most likely want to extend from. If you are implementing a light
device take a look at
ZwaveLightDevice
.
See examples/fibaroplug.js and examples/fibaroplug.json
See https://athombv.github.io/node-homey-zwavedriver
This is a non exhaustive list of deprecations and breaking changes in homey-zwavedriver
with respect to homey-meshdriver
which might be good to be aware of:
MeshDevice
is removed in favour ofZwaveDevice
.onMeshInit()
is deprecated in favour ofonNodeInit()
.calculateZwaveDimDuration
is deprecated in favour ofcalculateDimDuration
.ZwaveMeteringDevice
andZwaveLockDevice
are removed.