How to use the zigbee-herdsman/dist/zcl.getAttributeTypeLegacy function in zigbee-herdsman

To help you get started, we’ve selected a few zigbee-herdsman examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Koenkk / zigbee2mqtt / lib / extension / responder.js View on Github external
createReadResponseRec(cId, attrId, value) {
        return {
            attrId: attrId,
            status: 0,
            attrData: value,
            dataType: Zcl.getAttributeTypeLegacy(cId, attrId).value,
        };
    }

zigbee-herdsman

An open source ZigBee gateway solution with node.js.

MIT
Latest version published 8 days ago

Package Health Score

81 / 100
Full package analysis