knx-dpt

0.0.3 • Public • Published

KNX Datapoint library

npm version Build Status Build Status

Supported datatypes

For a full overview of supported datapoints, see here

Installation

$ npm install knx-dpt

Usage

Including the library

const dptlib = require('knx-dpt');

Getting a datapoint

By name

var dpt = dptlib.resolve('DPT6');

By name and subid

var dpt = dptlib.resolve('DPT6.020');

As property

var dpt = dptlib.dpt6

Testing

The tests run using tape and use faucet to present the results in a human-readable format. Make sure you've got all required modules installed:

$ npm install

Running the local test suite

You can run local unit tests:

$ npm test

Credits

This library is based on the work of:

  • Elias Karakoulakis and his KNX library.

License

This code is free to use under the terms of the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i knx-dpt

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • rubenoost