Can IKEA Lamp be controlled directly by remote and connect to ZHA?

Hi!

I do have a IKEA Trådfri-lamps and remote. Can I pair it directly to the lamp (to be controlled even if Home Assistant are down) AND to the Conbee via ZHA? Or does all Zigbee communication have to go over the Conbee-network?

Why? I want the lamp and remote to work even it the gateway are down. And for some curiosity… :slight_smile:

No you can’t.

1 Like

Thanks! I kind of understand why! :grinning:

I’m sure it can. See the second video on linked page bellow.
Smart bulbs and remote controllers can be paired together without need of having any gateway. It works for Philips Hue and IKEA TRÅDFRI.

Don’t know about ZHA, but you sure can using Zigbee2MQTT

According to @francisp the seems you can… sorry for the confusion.

A bit confused here…
I don’t have IKEA Gateway in the system. Only HA and Conbee2 in the system.

Check out binding in ZHA.

How I did it in Zigbee2MQTT :

Pair the E1743 to the coordinator. Create a group in Zigbee2MQTT. Put my bulb in the group in Zigbee2MQTT. Bind the E1743 to the group. Now the E1743 controls the bulb directly, and I can still use lovelace and automations in HA to control the bulb.

See

under binding.

1 Like

Can you also react on button presses of the remote?

Yes I can.

1 Like

Thanks for all wisdom!

I do use ZHA, can the groups be created there or is it a Zigbee2MQTT feature only?

If ZHA is a less feature rich alternative, can I change to Zigbee2MQTT easily without having to recreate the Zigbee network (reset and include all nodes)? I have Mosquitto running and used by HA already. I run HA on Ubuntu + Docker.

You can create groups with ZHA, but I never played with the functionality.

Interesting! :slight_smile: Need to check it out!

I don’t use ZHA (I use deconz), however I can tell you that you need to repair every device if you switch to ZigBee2MQTT.

1 Like

Did you ever come to a solution for this? If so I am really interesting to hear about it.

In Deconz, if I remember correctly, you can do it either by putting the bulb in the remote “group” (though I had issues with it sometimes not creating the group automatically, so had to mess with it using the api), or by binding the clusters directly (in deconz you can do so via the vnc gui). From what I read, the same should be possible in ZHA (either via groups or via cluster binding) - but can’t say how exactly as I am not running them. :slight_smile:

For the on/off square-dimmer from IKEA i was able to bind to a IKEA wall plug.

But I have not figured out how to bind to a IKEA lama for controlling it (on/off/dim).

Also, note I have actually not tested it with HA offline, but I guess the communication are not handeled by HA / Conbee 2.

This Blueprint simplifies the automation when I rely on HA:

I have successfully been able to control my Ikea lamp (Floalt) from both the Trådfri remote and from HA following the suggestions in this thread. Now an issue has however occurred. I can still control the color temperature from both remote and HA but the when changing the color temperature using the remote does not reflect in HA. Anyone else experiencing the same and/or has a suggestion for resolving this?

FYI, binding and unbinding is explained in ZHA documentation but please feel free to improve that documentation to make it more clear and easier to understand as well as explain the steps needed:

https://www.home-assistant.io/integrations/zha#binding-and-unbinding

Yes, I was able to achieve this. There are many threads where people ask about this and many of them think it’s impossible. The thing is that you need to do very specific steps for this to work, which is why people couldn’t figure this out. It took me the whole day to get it. I am bumping this thread with detailed instructions on how to achieve this in hopes that this will help others.

This is how you can pair IKEA lamps to BOTH HA/ZHA and the remote control (a Styrbar in my case)

  • Pair the lamps to ZHA. Ignore the remote control for now. You can reset the lamps if needed by rapidly flipping the main switch exactly 6 times.
  • Put batteries on the remote control. Start the process to pair a new ZHA device. Now, quickly press the remote’s pair button 4 times (no more, no less) and place it right next to your Zigbee dongle. In the case of the Styrbar you know it worked because a red LED will light up. This should cause it to pair with ZHA with no issues.
  • Now, in order to pair the controller directly to the lamps, you need to use ZHA’s bind feature. Open the remote control in ZHA’s view, click the three dots and then click on “Manage zigbee device”
  • Go to the Binding tab. Select the lamp you want to pair it to. Now, here’s the part that people couldn’t figure out: you need to make sure the remote is alive during the binding process by keeping it active. Hold one of the remote’s buttons and don’t let go; press the Bind button and wait until you get a green checkmark (should only take a second or so). You can let go after that. The remote will now be paired to both ZHA and the lamp.
  • Repeat the binding process for other lamps if applicable. Depending on the remote’s firmware you may have to bind to a group instead of individual lamps.

Some notes:

  • It took me several attempts of binding/unbinding to get the remote paired to my 4 lamps. Sometimes I would get a checkmark for all 4 lamps, but only 3 would respond to the control. I would then unbind all of them and try again; eventually it worked.
  • The left/right buttons that control the color temperature don’t work for some reason. I imagine this may be an issue on the ZHA side.
4 Likes