Hey guys! I'm trying to bind an Ikea LED bulb to a TRADFRI switch. But I've never done a zigbee mqtt binding... Is there anywhere i could get instructions?
OMG....I actually had done all of the parts of the first video. Super easy and intuitively. I just can't believe that after such an easy pairing, the MQTT can't use the UI bind options to actually pair them, and you need instead to go crawling for EVERY message each device sends, to manually assign them functions by typing them onto the configuration.yaml. I was hoping this was....a bit more straightforward. Nothing has been updated on this since the last 2 years since the video was made??
I mean, the Zigbee2MQTT Device/Exposes, already exposes the values that can be modified for each device...So Zigbee actually KNOWS this already, no need to go to that debugger puzzle thing he was showing to get those values. But I'm not sure about any other changes.
EDIT: Holy cow. I'm halfway there, and I don't even know why. No yaml editing necessary anymore (mostly, I think). The OFF button DOES register to the Ikea light, and it really goes through Zigbee2mqtt. But, only to turn it off. On and the dimmer/color options are getting ignored.
Let's see...
If I press OFF button on my Light Switch, all this happens:
EDIT2: OK...Finally found the reason for the errors while attempting to bind. So, the way I see it, you bind THE CONTROLLER to whatever you want it to control. So if you want to bind a remote to a light (or bunch of lights), you go to the Device / Your Remote, and from there, you choose to bind it. First, bind all possible options to the Coordinator (your HA server), then on another row, choose the same source (I think, 1), and the destination will be your light to be controlled.
And now this...the moment you press bind, you need to IMMEDIATELY click any button on the remote, because otherwise it's sleeping and it misses the bind command, erroring after a timeout. It goes back to sleep damn fast too!
I still need to assign commands to the left/right buttons, but I'll give it a rest for tonight :)
The OFF button DOES register to the Ikea light, and it really goes through Zigbee2mqtt. But, only to turn it off. On and the dimmer/color options are getting ignored
Glad it (partly) works!
I have returned all my Ikea stuff. It was just a painfull process to link it (and keep it that way), I did it through ZHA. Now have bulbs from Hue and have never a problem with it. Also the accessoires work seamless.