Koenkk / zigbee-herdsman

A Node.js Zigbee library
MIT License
456 stars 277 forks source link

i have a big timeout issue after merge #151

Closed arteck closed 4 years ago

arteck commented 4 years ago

https://github.com/Koenkk/zigbee-herdsman/commit/86e082392d456d1047cd05f193dd81a93a9b78f0

my hue bulbs and other devs are many timeouts with this version.. the parameter was too small "const DataConfirmTimeout = 3000;" and i set it to 6000.. thats ok... but i cant find it in new version...

Koenkk commented 4 years ago

Data confirm timeout is this value (6000) https://github.com/Koenkk/zigbee-herdsman/blob/master/src/controller/model/endpoint.ts#L497 minus 1000.

arteck commented 4 years ago

the new .62 version is not better..sry

Error on send command to 0x0017880103dcc9d2. Error: Error: Command 0x0017880103dcc9d2/11 genOnOff.on({}, {"timeout":12000,"manufacturerCode":null,"disableDefaultResponse":false}) failed (Error: Timeout - 31551 - 11 - 66 - 6 - 11 after 12000ms) at Endpoint. (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:339:23) at Generator.throw () at rejected (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:6:65) 2020-03-11 17:01:14.419 - error: zigbee.0 (7939) Error on send command to 0x0017880103dcc9d2. Error: Error: Command 0x0017880103dcc9d2/11 lightingColorCtrl.moveToColorTemp({"colortemp":153,"transtime":20}, {"timeout":12000,"manufacturerCode":null,"disableDefaultResponse":false}) failed (Error: Timeout - 31551 - 11 - 70 - 768 - 11 after 12000ms) at Endpoint. (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:339:23) at Generator.throw () at rejected (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:6:65) 2020-03-11 17:01:41.425 - error: zigbee.0 (7939) Error on send command to 0x0017880103dcc9d2. Error: Error: Command 0x0017880103dcc9d2/11 genOnOff.off({}, {"timeout":12000,"manufacturerCode":null,"disableDefaultResponse":false}) failed (Error: Timeout - 31551 - 11 - 76 - 6 - 11 after 12000ms) at Endpoint. (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:339:23) at Generator.throw () at rejected (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:6:65) 2020-03-11 17:05:50.793 - error: zigbee.0 (7939) Error on send command to 0x0017880103648612. Error: Error: Command 0x0017880103648612/11 genLevelCtrl.moveToLevelWithOnOff({"level":254,"transtime":20}, {"timeout":12000,"manufacturerCode":null,"disableDefaultResponse":false}) failed (Error: Data request failed with error: 'No network route' (205)) at Endpoint. (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:339:23) at Generator.throw () at rejected (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:6:65) 2020-03-11 17:06:28.943 - error: zigbee.0 (7939) Error on send command to 0x0017880103dcc9d2. Error: Error: Command 0x0017880103dcc9d2/11 genOnOff.on({}, {"timeout":12000,"manufacturerCode":null,"disableDefaultResponse":false}) failed (Error: Timeout - 31551 - 11 - 98 - 6 - 11 after 12000ms) at Endpoint. (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:339:23) at Generator.throw () at rejected (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:6:65) 2020-03-11 17:06:28.951 - error: zigbee.0 (7939) Error on send command to 0x0017880103648612. Error: Error: Command 0x0017880103648612/11 genOnOff.on({}, {"timeout":12000,"manufacturerCode":null,"disableDefaultResponse":false}) failed (Error: Timeout - 45521 - 11 - 99 - 6 - 11 after 12000ms) at Endpoint. (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:339:23) at Generator.throw () at rejected (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/endpoint.js:6:65)

arteck commented 4 years ago

other problem is also the hue dimmer RWL021 lose the config/connection

maybe its a hue problem only ?? the error message is from hue also

arteck commented 4 years ago

ok new info... I'm not alone with this problem and it's not only with hue .. the last correct version is 0.12.52 what works stable.. no connection lost or similar...

switch to version > 0.12.52 .. after some time, some devices are not be reached.. the hue dimmer has no configure and flashes red led

i have here 40 Devices .. i tested CC2538+CC2592 and cc26x2r also .. same problem ..

Koenkk commented 4 years ago

Did you also check 0.12.63 with the latest cc26x2r firmware? https://github.com/Koenkk/Z-Stack-firmware/blob/develop/coordinator/Z-Stack_3.x.0/bin/CC26X2R1_20200312.zip

arteck commented 4 years ago

nope.. i have here >40 Devices and it's no fun to reconnect all or do I have a possibility to take over the devices ?

Koenkk commented 4 years ago

Check of there is a coordinator_backup.json file in your data directory, if then yes

arteck commented 4 years ago

yes i have... then reflash and check ...

arteck commented 4 years ago

So.. very nice..works perfect...big thx

Koenkk commented 4 years ago

Good!

gev commented 4 years ago

@arteck did you solve the timeout problem? I have the same! Tested on 2531, 2530 and 2538. during issue no one answer from any device in a network and about 30 seconds later all works as well

samtherecordman commented 4 years ago

@arteck I'd also like to know how you solved the problem. My device, in-wall dimmer, works but continues to throw this timeout error message.

samtherecordman commented 4 years ago

@Koenkk Hi Koen, new user joining this great community. Thank you for your hard work! Wonder if I should open a new issue for a similar timeout error in my setup.