1.0.23 • Published 4 months ago
node-vscp-class v1.0.23
node-vscp-class
VSCP class constants for the node.js package node-vscp-class
Install
Install with
npm install node-vscp-class
optionally with '--save' to save dependency in the package.json file.
Usage
const vscp_class = require('node-vscp-class');
...
// Get numeric id for class
console.log(vscp_class.VSCP_CLASS2_MEASUREMENT_STR);
// Get symbolic value for class
// vscp_class(vscpClass);
// output: 'CLASS1.SETVALUEZONEX3'
console.log(vscp_class(88));
Events
Available events are here
Using this module with node-red
If you work with VSCP it is convenient to use constants instead of magical numbers when defining/sending event. Info on how to do this is available here.
This package is part of the VSCP(Very Simple Control Protocol) IoT framework.
1.0.21
7 months ago
1.0.23
4 months ago
1.0.19
3 years ago
1.0.18
3 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.11
5 years ago
1.0.12
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago