WebThingsIO / zigbee-adapter

Zigbee adapter add-on for WebThings Gateway
Mozilla Public License 2.0
46 stars 29 forks source link

Sometimes commands to devices seem to be delayed #181

Open webwurst opened 4 years ago

webwurst commented 4 years ago

I experience this problem quite regularly and just found an explanation in the Overview.md.

I just would like to have this issue to subscribe for possible changes on the progress.

Currently, there is only a single queue of outgoing commands, and sometimes this causes problems. The way the command queue works, there are often waits for a particular response is received before the next command can be sent. What can happen is that a single device which has decided to go quiet can "hang" the queue for a while until things timeout.

Possible fix:

Duncankn commented 4 years ago

I found that it should be the errors AF SRSP for cmd 1 status error 16! AF SRSP for cmd 1 status error 17! it is related to the zMemError and ZBufferFull of the USB dongle