diff --git a/lib/extension/deviceReceive.js b/lib/extension/deviceReceive.js index 40062e113..fa24fd8c4 100644 --- a/lib/extension/deviceReceive.js +++ b/lib/extension/deviceReceive.js @@ -73,7 +73,10 @@ class DeviceReceive { const cmdId = message.data.cmdId; const converters = mappedDevice.fromZigbee.filter((c) => { if (cid) { - return c.cid === cid && c.type === message.type; + // readRsp messages have the same structure as attReport messages. + // search for attReport converters on readRsp. + const search = message.type === 'readRsp' ? 'attReport' : message.type; + return c.cid === cid && c.type === search; } else if (cmdId) { return c.cmd === cmdId; } @@ -84,6 +87,11 @@ class DeviceReceive { // Check if there is an available converter if (!converters.length) { if (cid) { + // Don't log readRsp messages, they are not interesting most of the time. + if (message.type === 'readRsp') { + return; + } + logger.warn( `No converter available for '${mappedDevice.model}' with cid '${cid}', ` + `type '${message.type}' and data '${JSON.stringify(message.data)}'` diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 81829c0b4..d5dfe9a6e 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -6109,8 +6109,8 @@ } }, "zigbee-shepherd": { - "version": "git+https://github.com/Koenkk/zigbee-shepherd.git#4de4613dd80f7f2b17eefe7848d116b85586a26d", - "from": "git+https://github.com/Koenkk/zigbee-shepherd.git#4de4613dd80f7f2b17eefe7848d116b85586a26d", + "version": "git+https://github.com/Koenkk/zigbee-shepherd.git#ce12cdd9c7aa11ac9f7464839db6215d05926207", + "from": "git+https://github.com/Koenkk/zigbee-shepherd.git#ce12cdd9c7aa11ac9f7464839db6215d05926207", "requires": { "areq": "^0.2.0", "busyman": "^0.3.0", diff --git a/package.json b/package.json index 49070267e..385fd88c0 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "semver": "*", "winston": "2.4.2", "ziee": "*", - "zigbee-shepherd": "git+https://github.com/Koenkk/zigbee-shepherd.git#4de4613dd80f7f2b17eefe7848d116b85586a26d", + "zigbee-shepherd": "git+https://github.com/Koenkk/zigbee-shepherd.git#ce12cdd9c7aa11ac9f7464839db6215d05926207", "zigbee-shepherd-converters": "7.2.4", "zive": "*" },