ZigBee Abstraction Documentation!

We are still finalizing the documentation changes but you can target a different endpoint by passing destEndpoint into additionalParams. For example, to read the Current Level from the Level Control Cluster on endpoint 2:

zigbee.readAttribute(0x0008, 0x0000, [destEndpoint: 0x02])

You can pass destEndpoint in a similar way to zigbee.writeAttribute, zigbee.command, and zigbee.configureReporting.

4 Likes