doudz / zigate

python lib for zigate
MIT License
47 stars 22 forks source link

Failed to eval "decode_xiaomi(value) #192

Closed biau closed 4 years ago

biau commented 4 years ago

Hi, Just reporting this error happening with the latest version of the lib:

2020-07-06 15:39:28 ERROR (SyncWorker_13) [zigate] Failed to eval "decode_xiaomi(value)" using "01219f0b03281e0421a81305219d0006240100000000082105140a21ed7721" 2020-07-06 15:39:28 ERROR (SyncWorker_13) [zigate] Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/zigate/clusters.py", line 108, in update 'self': self}) File "", line 1, in File "/usr/local/lib/python3.7/site-packages/zigate/clusters.py", line 204, in decode_xiaomi _type = rawdata[i + 1] IndexError: index out of range