knx-dpt
v0.0.3
Published
Serialize and deserialize KNX datapoints
Readme
KNX Datapoint library
Supported datatypes
For a full overview of supported datapoints, see here
Installation
$ npm install knx-dptUsage
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.dpt6Testing
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 installRunning the local test suite
You can run local unit tests:
$ npm testCredits
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.
