Homey ZWaveDriver

npm Lint NPM Deploy Documentation To GitHub Pages

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

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 of ZwaveDevice.
  • onMeshInit() is deprecated in favour of onNodeInit().
  • calculateZwaveDimDuration is deprecated in favour of calculateDimDuration.
  • ZwaveMeteringDevice and ZwaveLockDevice are removed.