zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

IKEA LED1623G12 ruins network

Open ChrisSantiago82 opened this issue 6 years ago • 32 comments

Hello, I have a network of zigbeedevices for a while. Everything is stable. I have a 4 Securifi Peanut Smart Plugs, and 6 Motion Sensors (Ikea and others). Everything runs stable, some of the sensor are at the edge of the network.

I'm trying to add now 4 IKEA LED1623G12 Bulbs. They are in good positions and should not only bring lights, they should also improve the network by routing it. Pairing and everything works. But approximately after 1 day sometimes less, everything breaks down.

  • If I try to send a message to the lights, I'm getting a No network route' (205). But the lights are in range because they were working well all day.

  • And the Plugs crush now as well. Here I'm getting a 'MAC no ack' (233)'. And it's the same with all of them (4 Plugs). The sensors that are still in rage work. The once that are depending on the Plugs or Lights to relay the message, of course stop working.

  • Just to rejoin the devices is not possible. Even if they are just next to the Raspberry/USB. If I delete them out of the Database, sometimes they can be rejoined but mostly not and when this happens, I have to delete everything and pretty much ending up Repairing the whole network. Sometimes this also happens when in the process of repairing the network. As I said, if I do it without the IKEA bulbs, I don't have those problems.

After 2 weeks of doing this, repairing everything daily, I have removed the ikea bulbs yesterday, and now everything runs stable. I don't think it's a range/network problem, because it should be much worse without the bulbs than with them. They should lead the path to all of the devices.

What can I do to improve this situation?

ChrisSantiago82 avatar Feb 07 '20 21:02 ChrisSantiago82

With the IKEA devices (10) I also have a few issues here:

  • I have two FLOALT panels in the hallway around 1.5 meters alway from each other. The second one which is more far away from the Zigbee stick often needs a second MQTT message to turn on.
  • the IKEA remotes delivered with the FLOALT panels also drop out off the network every now and then.
  • I also have many 205 errors every now and then

With the single Aqara bulb I have I do not see this issue.

I also have the feeling that IKEA devices and Zigbee2Mqtt do not work well together. I am now actually importing Zigbee error messages into InfluxDB and visualize them in Grafana to get an overview. image

Doesn't look good most often these are IKEA lamps reporting a 205.

tricoos avatar Feb 08 '20 08:02 tricoos

Well, my problem is that I'm getting to the point where I'm only receiving 205 from the bulbs, and the other devices 233. Like it's not once in a while and that brings down the whole network. Now I have my network up without the bulbs for a couple of days and it's works perfectly...

ChrisSantiago82 avatar Feb 08 '20 09:02 ChrisSantiago82

It most often helps for me to restart zigbee2mqtt, but then again it's not all bulbs at the same time reporting 205 but as you can see from the spikes in the graph there might be some kind of correlation. I cannot take out the FLOALT panels because these are the main lighting in this apartment, unfortunately.

tricoos avatar Feb 08 '20 10:02 tricoos

When I'm at this stage, restarting zigbee2mqtt doesn't help anymore. Even restoring the Database doesn't help. At this moment the only thing that seems to work is delete everything and start from zero again

ChrisSantiago82 avatar Feb 08 '20 10:02 ChrisSantiago82

If nothing at all works anymore for me I stop zigbee2mqtt, unplug the stick, wait a few seconds, replug the stick and then start zigbee2mqtt again. Maybe the stick is locking up?

tricoos avatar Feb 08 '20 10:02 tricoos

No, that doesn't help either. And just to repair the devices doesn't help neither. I really have to delete them out of the database.

ChrisSantiago82 avatar Feb 08 '20 10:02 ChrisSantiago82

Yes, I have to remove them as well.

tricoos avatar Feb 08 '20 10:02 tricoos

Now the big question, how can we improve it? How can we improve the ikea bulbs support?

ChrisSantiago82 avatar Feb 08 '20 14:02 ChrisSantiago82

Just out of interest, are you on ikea's newer zigbee 3.0 firmware or still on the older one?

sjorge avatar Feb 08 '20 16:02 sjorge

I'm sorry I'm not so experienced with this. Where can I find the ikea zigbee firmware version? And how could I update it?

ChrisSantiago82 avatar Feb 08 '20 16:02 ChrisSantiago82

zigbee2mqtt/bridge/config/devices/get should have the firmware info in the return payload.

For now, you need the official ikea gateway to update the firmware... but this will soon be possible using zigbee2mqtt too... but that is still in development.

Release notes are here: https://ww8.ikea.com/ikeahomesmart/releasenotes/releasenotes.html

e.g.

WS 1.0 (E14, E27, GU10) V-2.3.007.
Devices are upgraded with ZB3.0.

Means that firmware 2.3.007 or newer will be running zigbee 3.0 instead of the older 1.2 variant.

sjorge avatar Feb 08 '20 16:02 sjorge

Here is the Log File. I have joined one of the bulbs before I made this log. There are also some ikea motion detectors, but with those I never had an issue. The Light bulb has the address 0x000b57fffebb51a5

[{"ieeeAddr":"0x00124b0018e32224","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack12","dateCode":"20190619","lastSeen":1581180833427},{"ieeeAddr":"0x000d6f0004a87e3a","type":"Router","networkAddress":37390,"model":"PP-WHT-US","friendly_name":"Plug1","manufacturerID":4098,"manufacturerName":"Securifi Ltd.\u0000\u0000\u0000\u0000\u0000\u0000�W\u0001\b�#\u0000 �Y\u0001\b�","powerSource":"Unknown","modelID":"PP-WHT-US","lastSeen":1581180735922},{"ieeeAddr":"0x000d6f0004f75240","type":"Router","networkAddress":57446,"model":"PP-WHT-US","friendly_name":"Plug2","manufacturerID":4098,"manufacturerName":"Securifi Ltd.\u0000\u0000\u0000\u0000\u0000\u0000�W\u0001\b�#\u0000 �Y\u0001\b�","powerSource":"Unknown","modelID":"PP-WHT-US","lastSeen":1581180735908},{"ieeeAddr":"0x00158d0002f3c10c","type":"EndDevice","networkAddress":20534,"model":"RTCGQ11LM","friendly_name":"Sensor1","manufacturerID":4151,"manufacturerName":"LUMI","powerSource":"Battery","modelID":"lumi.sensor_motion.aq2","lastSeen":1581114058933},{"ieeeAddr":"0x000b57fffe956f3d","type":"EndDevice","networkAddress":47301,"model":"E1525/E1745","friendly_name":"Sensor5","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","powerSource":"Battery","modelID":"TRADFRI motion sensor","hardwareVersion":1,"softwareBuildID":"1.1.1.1-5.7.2.0","dateCode":"20160927","lastSeen":1581078780260},{"ieeeAddr":"0x000d6f000a784aa0","type":"Router","networkAddress":23927,"model":"PP-WHT-US","friendly_name":"Plug5","manufacturerID":4098,"manufacturerName":"Securifi Ltd.\u0000\u0000\u0000\u0000\u0000\u0000�W\u0001\b�#\u0000 �Y\u0001\b�","powerSource":"Unknown","modelID":"PP-WHT-US","lastSeen":1581180737449},{"ieeeAddr":"0x000d6f000a77ed09","type":"Router","networkAddress":13096,"model":"PP-WHT-US","friendly_name":"Plug99","manufacturerID":4098,"manufacturerName":"Securifi Ltd.\u0000\u0000\u0000\u0000\u0000\u0000�W\u0001\b�#\u0000 �Y\u0001\b�","powerSource":"Unknown","modelID":"PP-WHT-US","lastSeen":1581180735997},{"ieeeAddr":"0x000b57fffe9bc1ea","type":"EndDevice","networkAddress":23759,"model":"E1525/E1745","friendly_name":"Sensor2","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","powerSource":"Battery","modelID":"TRADFRI motion sensor","hardwareVersion":1,"softwareBuildID":"1.1.1.1-5.7.2.0","dateCode":"20160927","lastSeen":1581077533452},{"ieeeAddr":"0x000b57fffe92cc8f","type":"EndDevice","networkAddress":10078,"model":"E1525/E1745","friendly_name":"Sensor3","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","powerSource":"Battery","modelID":"TRADFRI motion sensor","hardwareVersion":1,"softwareBuildID":"1.1.1.1-5.7.2.0","dateCode":"20160927","lastSeen":1581026684768},{"ieeeAddr":"0x000d6f000a76de47","type":"Router","networkAddress":46009,"model":"PP-WHT-US","friendly_name":"Plug4","manufacturerID":4098,"manufacturerName":"Securifi Ltd.\u0000\u0000\u0000\u0000\u0000\u0000�W\u0001\b�#\u0000 �Y\u0001\b�","powerSource":"Unknown","modelID":"PP-WHT-US","lastSeen":1581180784711},{"ieeeAddr":"0x000b57fffe9653f8","type":"EndDevice","networkAddress":3847,"model":"E1525/E1745","friendly_name":"Sensor4","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","powerSource":"Battery","modelID":"TRADFRI motion sensor","hardwareVersion":1,"softwareBuildID":"1.1.1.1-5.7.2.0","dateCode":"20160927","lastSeen":1581026190584},{"ieeeAddr":"0x000b57fffe920d2a","type":"EndDevice","networkAddress":34440,"model":"E1525/E1745","friendly_name":"Sensor7","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","powerSource":"Battery","modelID":"TRADFRI motion sensor","hardwareVersion":1,"softwareBuildID":"1.1.1.1-5.7.2.0","dateCode":"20160927","lastSeen":1581026559995},{"ieeeAddr":"0x000b57fffe9b47ac","type":"EndDevice","networkAddress":31983,"model":"E1525/E1745","friendly_name":"Sensor6","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","powerSource":"Battery","modelID":"TRADFRI motion sensor","hardwareVersion":1,"softwareBuildID":"1.1.1.1-5.7.2.0","dateCode":"20160927","lastSeen":1581026557483},{"ieeeAddr":"0x000b57fffebb51a5","type":"Router","networkAddress":3080,"model":"LED1622G12","friendly_name":"0x000b57fffebb51a5","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelID":"TRADFRI bulb E26 W opal 1000lm","hardwareVersion":1,"softwareBuildID":"1.2.214","dateCode":"20170302","lastSeen":1581180739380}]

ChrisSantiago82 avatar Feb 08 '20 16:02 ChrisSantiago82

If now the sodwareBuildID is 1.2.214, that means it's the old version?

ChrisSantiago82 avatar Feb 08 '20 16:02 ChrisSantiago82

But maybe I would have to do this with all the bulbs? Maybe there are different versions?

ChrisSantiago82 avatar Feb 08 '20 17:02 ChrisSantiago82

Yep, looks like they are still on the ZB1.2 firmware, I have had less issues with those than with my one on ZB3.0 that keeps dropping out of the network.

sjorge avatar Feb 08 '20 17:02 sjorge

Well, my problem isn't that they drop out of the network. My problem is, that they drop out and take down the whole network as well. But if you say you have more problem with the newer version, than my hope isn't wait for the firmware upgrade;)

ChrisSantiago82 avatar Feb 08 '20 17:02 ChrisSantiago82

Mine isn't acting as a router, as all device in that room use a hue bulb. If your bulb is, that would explain the entire network drop.

sjorge avatar Feb 08 '20 17:02 sjorge

It just happened from one minute to the next: my IKEA lamp in the toilet dropped out of the network ("Error: Data request failed with error: 'No network route' (205)"). I noticed something interesting:

  • as mentioned before you can obviously only rejoin IKEA lamps to the network by removing them from the config and restarting zigbee2mqtt
  • my Aqara bulb however was off for many hours when I found that the switch had been turned off accidentally. I turned it on, the lamp turned on, I closed the door (it's in a closet) which has an Aqara door sensor and when I closed it the light turned off immediately.

It looks like there is an issue with the IKEA lamps - we just need to find out if we can do anything about it or if it is an issue IKEA would have to fix (and probably wouldn't as long as it works with their gateway). I was really astonished how quickly the Aqara bulb rejoined the network. Any by the way the Aqara lamp is way lighter than the IKEA lamp :D

tricoos avatar Feb 14 '20 17:02 tricoos

Yes, I can understand that sometimes a device can drop out or loose connection. But it shouldn't be that it can't rejoin it or even bring down other devices that have a good connection without the bulb as well. Yesterday I had the same situation again, the closest bulb lost connection and gave at 205. Usually I would have to remove it from the config and database and rejoin it again. This time I only remove the USB stick. Without stopping or starting the zigbee2mqtt. Just removed it and put it back in. Of course in other times I restarted the process, or Raspberry. And nothing helped. Now just to unplug the USB and put it back solved the issue with that one bulb. I didn't have to rejoin it.

ChrisSantiago82 avatar Feb 14 '20 17:02 ChrisSantiago82

The bulb that is the farthest away, I didn't put it back again. And since then the whole network is much more stable. I can understand if it's at the limit that this one bulb has problems. But why does it bring down the whole network?

ChrisSantiago82 avatar Feb 14 '20 17:02 ChrisSantiago82