Closed ellmout closed 2 years ago
Hello,
Something like this for me too : Hello !
I make the update of lixee.js with your last version, the auto detect configuration works fine but I have this error in the log :
(node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 109) (node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 117) (node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 111) at Endpoint.read (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:430:22) at Endpoint.checkStatus (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:310:23) (node:7) UnhandledPromiseRejectionWarning: Error: Read 0x00158d0004ff966d/1 liXeePrivate(["statusRegister"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4151,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')
The issue seems to be related to your ZH library. It should not be UNSUPPORTED_ATTRIBUTE.
In any case, in the version I will push to Z2M, you will be able to override the automatic detection.
Feel free to reopen the issue if you need
Hello,
With the last version of lixee.js, zigbee2mqtt crash on start for my linky.