homey-zwavedriver
v2.2.1
Published
This module can be used to make the development of Z-Wave apps for Homey easier.
Downloads
136
Readme
Homey ZWaveDriver
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.
Related Modules
- 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
Installation
$ npm install homey-zwavedriver
Requirements
This module requires Homey Apps SDK v3.
Usage
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
Documentation
See https://athombv.github.io/node-homey-zwavedriver
Deprecations and breaking changes for 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.