UNPKG

klf-200-api

Version:

This module provides a wrapper to the socket API of a Velux KLF-200 interface. You will need at least firmware 0.2.0.0.71 on your KLF interface for this library to work.

21 lines 774 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GW_NODE_INFORMATION_CHANGED_NTF = void 0; const common_js_1 = require("./common.js"); class GW_NODE_INFORMATION_CHANGED_NTF extends common_js_1.GW_FRAME_NTF { NodeID; Order; Placement; Name; NodeVariation; constructor(Data) { super(Data); this.NodeID = this.Data.readUInt8(0); this.Name = (0, common_js_1.readZString)(this.Data.subarray(1, 65)); this.Order = this.Data.readUInt16BE(65); this.Placement = this.Data.readUInt8(67); this.NodeVariation = this.Data.readUInt8(68); } } exports.GW_NODE_INFORMATION_CHANGED_NTF = GW_NODE_INFORMATION_CHANGED_NTF; //# sourceMappingURL=GW_NODE_INFORMATION_CHANGED_NTF.js.map