-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
IKEA TRADFRI Outlet is crashing zigbee2mqtt if include_device_information is set #632
Comments
Does this issue also happen with the |
Unfortunately yes, the bug is still present, however the call stack is slightly different:
|
Fixed in the dev branch. |
I have Crash in the Dev branch Nov 28 20:57:02 raspberrypi npm[581]: zigbee2mqtt:info 2018-11-28 20:57:02 MQTT publ ish: topic 'zigbee2mqtt/LED-1', payload '{"state":"ON","device":{"ieeeAddr":"0x000b57f ffed8438d","friendlyName":"LED-1","type":"Router","nwkAddr":13039,"manufId":4476,"manu fName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelId":"TRADFRI bulb G U10 W 400lm","status":"offline"},"brightness":2}' |
Using the latest zigbee2mqtt docker image (0.2.0), I was able to successfully pair my new TRADFRI outlet, but as soon as I try to turn it on or off, zigbee2mqtt crashes:
I search in code for
getDeviceInfoForMqtt
and found it here:zigbee2mqtt/lib/controller.js
Line 470 in b0d3c2f
WORKAROUND: If you set
include_device_information: false
, it works perfectly!The text was updated successfully, but these errors were encountered: