knxultimate
Version:
KNX IP protocol implementation for Node. This is the ENGINE of Node-Red KNX-Ultimate node.
58 lines • 1.56 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const config = {
id: 'DPT5',
basetype: {
bitlength: 8,
signedness: 'unsigned',
range: [0, 255],
valuetype: 'basic',
desc: '8-bit unsigned value',
help: `// Set a percentage. Based on subtype, you can send a range 0-100 or 0-255
// Set blinds to half position
msg.payload = 50;
return msg;`,
helplink: 'https://github.com/Supergiovane/node-red-contrib-knx-ultimate/wiki/-Sample---Dimming',
},
subtypes: {
'001': {
name: 'Percentage (0..100%)',
desc: 'percent',
unit: '%',
scalar_range: [0, 100],
},
'003': {
name: 'Angle, Degrees (0..360)',
desc: 'angle degrees',
unit: '°',
scalar_range: [0, 360],
},
'004': {
name: 'Percentage (0..255%)',
desc: 'percent',
unit: '%',
},
'005': {
name: 'Ratio (0..255)',
desc: 'ratio',
unit: 'ratio',
},
'006': {
name: 'Tariff (0..255)',
desc: 'tariff',
unit: 'tariff',
},
'010': {
name: 'Pulses (0..255)',
desc: 'counter pulses',
unit: 'pulses',
},
100: {
name: 'Fan stage (0..255)',
desc: 'Fan Stage',
unit: '',
},
},
};
exports.default = config;
//# sourceMappingURL=dpt5.js.map