diff --git a/lib/controller.js b/lib/controller.js index 86e65ef1..494a8533 100644 --- a/lib/controller.js +++ b/lib/controller.js @@ -178,8 +178,8 @@ class Controller { if (type === 'message') { logger.debug( - `Received Zigbee message from '${name}' of type '${data.type}' ` + - `with data '${JSON.stringify(data.data)}' from endpoint ${data.endpoint.ID}` + + `Received Zigbee message from '${name}', type '${data.type}', cluster '${data.cluster}' ` + + `, data '${JSON.stringify(data.data)}' from endpoint ${data.endpoint.ID}` + (data.hasOwnProperty('groupID') ? ` with groupID ${data.groupID}` : ``) ); } else if (type === 'deviceJoined') {