Hi,
Im working on a DTH for an in wall switch with two inputs and two outputs. Trying to figure out how to set up the reporting for on/off: 0x0006 cluster. The outputs can be found on endpoint 1 and 2.
I have setup the reporting like this:
configCmds += zigbee.configureReporting(0x0006, 0x0000, 0x10, 0, 300, null, [destEndpoint: 0x01]) +
zigbee.configureReporting(0x0006, 0x0000, 0x10, 0, 300, null, [destEndpoint: 0x02])
I can see in the logs that the reporting have been setup successfully:
903c7fa1-fff6-412f-9826-c97d7faa7636 14:58:39: debug On/Off reporting successful
903c7fa1-fff6-412f-9826-c97d7faa7636 14:58:39: trace parse: map is [raw:0104 0006 01 01 0140 00 8DDB 00 00 0000 07 01 00, profileId:0104, clusterId:0006, sourceEndpoint:01, destinationEndpoint:01, options:0140, messageType:00, dni:8DDB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00], clusterInt:6, commandInt:7]
903c7fa1-fff6-412f-9826-c97d7faa7636 14:58:43: debug On/Off reporting successful
903c7fa1-fff6-412f-9826-c97d7faa7636 14:58:43: trace parse: map is [raw:0104 0006 02 01 0140 00 8DDB 00 00 0000 07 01 00, profileId:0104, clusterId:0006, sourceEndpoint:02, destinationEndpoint:01, options:0140, messageType:00, dni:8DDB, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:07, direction:01, data:[00], clusterInt:6, commandInt:7]
So, now to the problem, the reports that are sent doesn’t seem to carry the endpoint or the endpoint has been stripped somewhere:
These are the incomming reports in the log:
903c7fa1-fff6-412f-9826-c97d7faa7636 15:03:50: trace parse: event is [name:switch, value:off]
903c7fa1-fff6-412f-9826-c97d7faa7636 15:03:50: trace parse: description is on/off: 0 //No endpoint here
903c7fa1-fff6-412f-9826-c97d7faa7636 15:03:47: trace parse: event is [name:switch, value:off]
903c7fa1-fff6-412f-9826-c97d7faa7636 15:03:47: trace parse: description is on/off: 0 //No endpoint here
The reports doesn’t include the endpoint so I don’t know which childDevice to update…
Does anybody know how to setup this so that I can get reporting for both endpoints with the same cluster?, so that I can tell the reports a part…a bit unusable otherwise. (Well could be used to trigger reads of both endpoints but it doesn’t seem right)
//Tomas