KNX示例 欢迎来到本节,您可以在其中找到有关如何使用项目的各种示例。 示例:读取灯的状态 演示了如何发送读取请求以获取灯泡状态。 // send a read request to the KNX actuator client.readRequest(knxGroupAddress); // this is the status pool that holds all status information which have been requested var statusPool = client.getStatusPool(); // the status pool will translate the byte array from KNX into boolean value var isLampOn = statusPool.getValue(