Closed lsteelandt closed 5 years ago
You're right, there was a typo.
It has been fixed in branch dev/3.1a: https://github.com/nouknouk/node-zigate/commit/b8c2e05f9ad509b1bd1b7f54fa3d9280bd87c604
will be merged with the rest in the master branch soon.
https://github.com/nouknouk/node-zigate/blob/9eef0bc1e8a13d315820f0a6cef535e30e68dab8/src/coordinator/coordinator.js#L417
When the Hardware Zigate hold a device not 'known' by the coordinator object (software Zigate), the calling
coordinator.queryDevices()
thrown anReferenceError: dev is not defined
.I suggest that is coming from the reference of
dev.ieee
instead ofzidev.ieee
. Am I right ?