Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge πŸŒ‰, get rid of your proprietary Zigbee bridges πŸ”¨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.11k stars 1.68k forks source link

Ikea tradfri bulbs/spots drop from network (1.6.0 / 20190608) #2032

Closed sandervandegeijn closed 4 years ago

sandervandegeijn commented 5 years ago

Bug Report

What happened

After a while I can't turn on Ikea Tradfri lamps (two GU10 spots and four E27 bulbs). They seem to be offline from zigbee2mqtt's perpective. CC2531 stick is close by all the bulbs and on USB extension cable, Xiaomi sensors that are much farther away can reach the stick just fine and work fine.

https://pastebin.com/cKRKMrUj

Power cycling the lamps does not help:

After cycling power:

https://pastebin.com/darPm1HP

Watching the logs for a while, I see some errors that reference device id's that match the Ikea bulbs:

https://pastebin.com/U2nLZLc6

What did you expect to happen

Lamps keep working

How to reproduce it (minimal and precise)

Wait a few hours

Debug Info

zigbee2mqtt version: 1.6.0 Also tried latest-dev docker image from 24-09-2019: same behaviour ( https://pastebin.com/mqx5AdQ4 ) CC253X firmware version: 20190608

Koenkk commented 5 years ago

Sorry I meant https://github.com/Koenkk/zigbee2mqtt/issues/2032#issuecomment-546699548

When the bulbs are paired to the ikea hub they also end up being uncontrollable?

sandervandegeijn commented 5 years ago

Haven't used the ikea hub extensively but can try. Can't imagine that won't work tbh, this stuff gets sold to the masses, if it was this shitty Ikea would get everything back :) But will try anyway.

Koenkk commented 5 years ago

@neographikal it seems that some bulbs have a firmware bug and in that case it will even happen with the IKEA hub (see https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1261#issuecomment-536604489).

Koenkk commented 5 years ago

@neographikal while looking at your wireshark log I found an interesting thing.

When things work: image

When things stop working: image

The strangest thing is that after the on/off command, which the bulb doesn't respond to, it still send a link status update, meaning that it is still in the network (and alive??).

sandervandegeijn commented 5 years ago

Pfoee so this is really a bug in the Tradfri bulbs? I've got the problem with the E14 non color / non WB version, E27 same version Γ‘nd the GU10's..... That would be really really shitty. I can do another capture with the 3.0 firmware now on the stick. Bulbs themselves are on the latest Ikea firmware.

Pairing is way way better with this, but the network problems persist.

Koenkk commented 5 years ago

The only way to find that out is to test them with the tradfri hub.

aherbjornsen commented 5 years ago

I've experienced identical problems with bulbs falling out, in particular "GU10 WS" bulbs.

I updated my GU10s and some "E14 WS" and "E27 WS" I have with the latest test build (2.3.007) a couple of weeks ago.

Since then I've had one single GU10 drop out, which is a huge improvement.

sandervandegeijn commented 5 years ago

How do I get the test build on them? I got the Tradfri hub but I don't see an option to update (on latest version).

Koenkk commented 5 years ago

Afaik tradfri bulbs with the 1.x firmware are not updated anymore (in case you have that)

sandervandegeijn commented 5 years ago

Great, I have those. Ok, time to return them I suppose.. This means I'll have to upgrade to the 50% more expensive Hue lights, too bad. On the other hand, this is a massive waste of time lol

LukeHandle commented 5 years ago

@neographikal are you able to post the models / IKEA IDs of the ones your bought? Might be useful for others.

For reference, my GU10 400lm WS (White Spectrum) - 904.086.03 was difficult to pair and initially buggy. Since re-pairing (per earlier comment), has been stable for 10 days.

sandervandegeijn commented 5 years ago

I don't have WS numbers on them, I have a bunch of LED1623G12's and LED1649CS's and some GU10 spots.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

SalexSun commented 4 years ago

Just wanted to contribute my findings regarding these bulbs. I have similar problems with the Ikea Tradfri LED1650R5 bulbs. All these bulbs can suddenly stop responding to commands from zigbee2mqtt and at some point they usually start responding again.

I'm running Hassio with the zigbee2mqtt addon installed. In total there are about 40-50 devices where the majority are routers. Recently I moved from CC2531 to CC26X2R1 (very good!) hoping it would also fix the problems with the IKEA bulbs. The IKEA bulbs are located outsize, approximately 15m from the coordinator, but no more than 5m from other routers in the network.

In total I have 12 of these bulbs connected to zigbee2mqtt. I have configured 2 zigbee groups for these bulbs. One groups contains 4 bulbs and the other contains 8 bulbs. Controlling the groups has never been problematic, only when controlling individual bulbs problems occur.

So for those still having problems with these bulbs. When configuring them as for a zigbee group they seem to always respond to commands

groenmarsmannetje commented 4 years ago

I also have similar issues with the IKEA Tradfri GU10 bulbs. After a while some do not report and respond anymore this happens quite randomly. Even the bulbs that are near the coordinator might drop off. This started when I added the last eight bulbs. And I have more then more then 50 devices now and more then half of them are also routers. I use a CC2531 stick with source routing firmware and 2 additional sticks as router. Luckily the bulbs keep responding if you use them as groups so all my automations and remote still work with these grouped bulbs.

I am also considering a CC26X2R1 as coordinator now. Please can you confirm if it is more stable with that device.

Otherwise I might consider to split the mesh network into 2. But I am not sure yet if and how I can set that up on a single raspberry pi with Hassio.

SalexSun commented 4 years ago

At first I used the Philips Hue hub for all my light bulbs. The network with the CC2531 stick only contained some Ikea and Xiaomi sensors. Then I moved all bulbs to the CC2531 network and found major stability issues (CC2531 was running 2018 firmware) where the CC2531 would crash about every day. I decided to move to CC26X2R1 immediately instead of experimenting with alternative CC2531 firmware due to the size of the network, which I expect to keep growing.

The zigbee network is definitely more stable with the CC26X2R1, but the problems described in this issue have not improved. I agree with some other users in this topic who that the problem lies in the Ikea bulbs, not in zigbee2mqtt or zigbee stick/firmware.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

andrenarchy commented 3 years ago

This is still an issue with CC2652R (firmware CC26X2R1_20201026): my IKEA Tradfri sockets suddenly stop responding. I'm running zigbee2mqtt 1.6.2.

The situation here now seems to be that the Tradfri sockets won't even join the network after resetting them. Any ideas?