-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled Error - Index Out of Range #42
Comments
is there any way around this at the moment? I haven't looked through the error to see how trivial it is (i am also no pro when it comes to this) Should i remove a device that is causing this? |
This error appears with bad (damaged) data packets. This problem appears periodically with all devices. I've patched node_modules\zigbee-shepherd\node_modules\zcl-packet\lib\zcl.js zcl.header = function (buf) {
|
ahh, nope - just got another one after readding a Mijia motion sensor:
|
I'm running in a docker container and i'm not sure where to find the detail log file... |
Probably you are not running the latest version. Your log shows To update your docker container:
Now run again, this will pull the last version from hub.docker.com. |
will give it a go - i thought i had recently done this, but will see what
happens now :)
…On Tue, May 29, 2018 at 1:47 AM, Koen Kanters ***@***.***> wrote:
Probably you are not running the latest version.
Your log shows at Object.zcl.header (/app/node_modules/zcl-packet/
lib/zcl.js:73:24), this is not possible because there is a comment at
this line: https://github.com/Koenkk/zcl-packet/blob/master/lib/zcl.js#L73
.
To update your docker container:
docker rm -f ZIGBEE2MQTT_CONTAINER_NAME
docker rmi -f ZIGBEE2MQT_IMAGE_NAME
Now run again, this will pull the last version from hub.docker.com.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGU9IPmErt_QPbI336-3d_9ge5Pb8gg-ks5t3DgWgaJpZM4T8Q7o>
.
|
nope i was wrong, i did not update it correctly.
Looking good now, i can also see more details coming out of the Mi plugs
which is good :)
cheers,
On Tue, May 29, 2018 at 10:38 AM, Leigh van der Merwe <palitu822@gmail.com>
wrote:
… will give it a go - i thought i had recently done this, but will see what
happens now :)
On Tue, May 29, 2018 at 1:47 AM, Koen Kanters ***@***.***>
wrote:
> Probably you are not running the latest version.
>
> Your log shows at Object.zcl.header (/app/node_modules/zcl-packet/
> lib/zcl.js:73:24), this is not possible because there is a comment at
> this line: https://github.com/Koenkk/zcl-packet/blob/master/lib/zcl.js#
> L73.
>
> To update your docker container:
>
> docker rm -f ZIGBEE2MQTT_CONTAINER_NAME
> docker rmi -f ZIGBEE2MQT_IMAGE_NAME
>
> Now run again, this will pull the last version from hub.docker.com.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#42 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AGU9IPmErt_QPbI336-3d_9ge5Pb8gg-ks5t3DgWgaJpZM4T8Q7o>
> .
>
|
Ok good, let me know if you encounter this again. |
another error that just popped up... this seems to happen after getting data from a xiaomi temp/humidity sensor
WSDCGQ01LM
.The text was updated successfully, but these errors were encountered: