Weird interference between IKEA Tradfri switch and Aqara Smart Plug
SOLVED
Hi,
some time ago I installed lights in my office powered by the IKEA Tradfri LED Driver and switched over Home Assistant and ZigBee2MQTT with an IKEA Trradfri Switch. Everything worked perfectly for around 2 months and then the switch started to also switch the Aqara Smart Plug for my monitors. But only this one, the other Aqara Smart Plugs in this room are not effected.
Exactly the same happened in my living room, where I also have a Tradfri Driver, a switch, and an Aqara Smart Plug. There is no automation set up, that would have that effect, and I can't find anything suspicious in the logs. The "fix" I found is to remove the switch completely and pair it again in Zigbee2MQTT. But then it only works for a couple of weeks as intended and starts the same, weird behavior again.
Has anyone an idea what could cause this and how I could debug it further?
When I first set up my IKEA remotes, they would sometimes bind to a random other light in the room. This happened when I used the IKEA method of pushing the reset button and holding the remote up to the target light. Not sure if it was caused by touchlink having a lot bigger range than it should have or if it has something to do with how the devices create zigbee groups. For me, this problem stopped happening once I switched to using zigbee2mqtt's own group and binding controls rather than try to pair the remote using the IKEA hub method.
So, check the remote's binding section in zigbee2mqtt console. Perhaps there other device is listed there, or you can try unbinding the default bind group to see if it does anything.
(I just checked, one of my remotes that is presently out of battery is bound to the default bind group according to z2m, even though it shouldn't be. Could be a bug with the IKEA remote where it resets back to a default binding and the plug happens to be listening on the same ID as well.)