zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

IKEA TRADFRI remote control, color temperature not working

Open ripperle opened this issue 7 years ago • 227 comments

Hello,

after updating to the latest coordinator firmware (stable, January 2019) I was able to connect my IKEA TRADFRI floalt panel und the Ikea 5 button remote control...

Over zigbee2mqtt I have full control to the IKEA light panel (on/off, brightness, color temperature)

With the remote control I lost the ability to change the color temperature... So I can only switch it on and off and change brightness...

Very weird behavior... 😁

Somebody any idea how that can be happen and how to solve it.?

ripperle avatar Mar 10 '19 20:03 ripperle

Did you try this: http://www.zigbee2mqtt.io/information/binding.html#ikea-tradri-remote-control-e1524 ?

Koenkk avatar Mar 10 '19 21:03 Koenkk

No, not yet,

I don't want do use the remote in zigbee2mqtt so I thought that wouldn't be necessary

ripperle avatar Mar 11 '19 08:03 ripperle

@koenkk I am having a similar issue. I have followed the cc sniffer guidance and bound the switch to a light fitting with three bulbs. The on/off switch and brightness work flawlessly but the change colour buttons do not change colour temperature like they used to when using the tradfri hub.

tim-devel avatar Mar 12 '19 13:03 tim-devel

I noticed that the normal IKEA panel supports only 3 different color temperatures...

With zigbee2mqtt I can set more than that! Maybe the firmware of the panel gets in an unknown state or something?!

ripperle avatar Mar 12 '19 19:03 ripperle

I've just checked and indeed setting colour temperature is not possible using this method. Perhaps some extra setup is done, need to do some more sniffing..

Koenkk avatar Mar 13 '19 20:03 Koenkk

I have just paired a second remote to a full colour tradfri bulb. Set up went well and it integrates well with home assistant but the arrow buttons do not change colour with this bulb too

tim-devel avatar Mar 19 '19 22:03 tim-devel

In my environment the IKEA remote control works very well with the IKEA bulbs, inclusive setting of the color temperature.

What I've done

  • Complete new setup after two crashes due to tests of the reporting feature (but that's another story)
  • Paired some IKEA bulbs
  • Paired IKEA Remote Control
  • Found out and added the group number of the Remote Control
  • Added the bulbs to the group of the Remote Control (no bind!)
  • every feature works well

zigbee2mqtt version 1.2.1 (commit #e5ca977) Coordinator firmware version: '20190223'

Great Job! Thanks to Koenkk and all contributors!

didiht avatar Mar 20 '19 09:03 didiht

@didiht So you don't paired the remote directly with the IKEA lamps? Are the remote working without the zigbee2mqtt coordinater?

ripperle avatar Mar 21 '19 18:03 ripperle

@ripperle No, I did not pair the remote directly with the IKEA bulbs. Yes, the remote control works with the IKEA bulbs, even without the zigbee2mqtt coordinator.

I made following test:

  • Delete the lamp from the group of the IKEA remote control -> IKEA remote does not work with the bulb anylonger
  • Add lamp again to the group of the IKEA remote -> it works again, toggle, brightness, color temperature

With the 'bind' feature I had no success to set the color_temperature with the IKEA remote previously, but I didin't test this with the current version.

didiht avatar Mar 22 '19 13:03 didiht

@didiht I tried exactly your setup: reset everything, pair control and lights to cc2530 controller, sniff the group, add lights to group. Switching on/off and changing brightness works like a charm. However: setting the color temperature via IKEA remote control ist not working.

Can I help doing some sniffing? When I press the arrow buttons on the IKEA remote control I receive the following message in Wireshark: ZCL Scenes: Unknown Command, Seq: xx There ist no "response" from the "receiving" lamp.

Frame 581: 55 bytes on wire (440 bits), 55 bytes captured (440 bits) on interface 0
IEEE 802.15.4 Data, Dst: 0xa041, Src: 0xf909
ZigBee Network Layer Data, Dst: Broadcast, Src: 0xf909
ZigBee Application Support Layer Data, Group: 0xb62e, Src Endpt: 1
    Frame Control Field: Data (0x0c)
    Group: 0xb62e
    Cluster: Scenes (0x0005)
    Profile: Home Automation (0x0104)
    Source Endpoint: 1
    Counter: 7
ZigBee Cluster Library Frame, Mfr: Unknown (0x117c)
    Frame Control Field: Cluster-specific (0x05)
    Manufacturer Code: Unknown (0x117c)
    Sequence Number: 88
    Command: Unknown (0x07)
    Payload

zigbee2mqtt version 1.2.1 (commit #e5ca977) Coordinator firmware version for CC2530 (via USB): '20190223'

bjobo avatar Mar 23 '19 13:03 bjobo

@bjobo Maybe I have to mention that before pairing to z2m all IKEA devices were paired to the IKEA bridge to get the newest firmware.

I also sniffed an arrow-left-click and identified two frames:

  • The first one with external source address of the remote (Frame 2)
  • The second one with external source address of the bulb (Frame 4)
Frame 2: 115 bytes on wire (920 bits), 115 bytes captured (920 bits) on interface 0
Internet Protocol Version 4, Src: 192.168.1.3, Dst: 192.168.1.3
User Datagram Protocol, Src Port: 17754 (17754), Dst Port: 17754 (17754)
ZigBee Encapsulation Protocol, Channel: 11, Length: 55
IEEE 802.15.4 Data, Dst: 0x6e92, Src: 0x0409
ZigBee Network Layer Data, Dst: Broadcast, Src: 0x0409
Frame Control Field: 0x0248, Frame Type: Data, Discover Route: Enable, Security Data
ZigBee Application Support Layer Data, Group: 0x7a2a, Src Endpt: 1
    Frame Control Field: Data (0x0c)
    Group: 0x7a2a
    Cluster: Scenes (0x0005)
    Profile: Home Automation (0x0104)
    Source Endpoint: 1
    Counter: 25
ZigBee Cluster Library Frame, Mfr: Unknown (0x117c)
    Frame Control Field: Cluster-specific (0x05)
    Manufacturer Code: Unknown (0x117c)
    Sequence Number: 77
    Command: Unknown (0x07)
Data (4 bytes)

0000  01 01 0d 00                                       ....


Frame 4: 115 bytes on wire (920 bits), 115 bytes captured (920 bits) on interface 0
Internet Protocol Version 4, Src: 192.168.1.3, Dst: 192.168.1.3
User Datagram Protocol, Src Port: 17754 (17754), Dst Port: 17754 (17754)
ZigBee Encapsulation Protocol, Channel: 11, Length: 55
IEEE 802.15.4 Data, Dst: Broadcast, Src: 0x6e92
ZigBee Network Layer Data, Dst: Broadcast, Src: 0x0409
Frame Control Field: 0x0248, Frame Type: Data, Discover Route: Enable, Security Data
ZigBee Application Support Layer Data, Group: 0x7a2a, Src Endpt: 1
    Frame Control Field: Data (0x0c)
    Group: 0x7a2a
    Cluster: Scenes (0x0005)
    Profile: Home Automation (0x0104)
    Source Endpoint: 1
    Counter: 25
ZigBee Cluster Library Frame, Mfr: Unknown (0x117c)
    Frame Control Field: Cluster-specific (0x05)
    Manufacturer Code: Unknown (0x117c)
    Sequence Number: 77
    Command: Unknown (0x07)
Data (4 bytes)

0000  01 01 0d 00                                       ....

Maybe that helps.

If I can do any further investigation just tell me.

didiht avatar Mar 26 '19 08:03 didiht

@ripperle @bjobo Now I had the same issue: Removing, and pairing again (6 x powercycle) lost the ability of changing the color_temp with the (grouped) remote.

But following procedure leads in my environment to the expected functionality:

  • remove the bulb from the zigbee2mqtt bridge
  • stop zigbee2mqtt bridge
  • pair the bulb to the IKEA bridge with the IKEA remote via Tradfri app
  • remove the bulb from the bridge via Tradfri app
  • power off the bulb
  • start zigbee2mqtt bridge
  • power on the bulb nearby the CC253x (no powercycle!)
  • add the bulb to the group of the IKEA Remote
  • SUCCESS color_temp is working again with the IKEA remote

It seems there is a (small?) difference of the initial states (reset with powercycle, reset by pairing and removing from IKEA bridge) that leads to the variance of functionality. Could you test this please?

@Koenkk Maybe we could give a hint in the documentation after others have tested this procedure and confirm that it works?

didiht avatar Mar 28 '19 14:03 didiht

So it seems the tradfri hub does some special setup, could you sniff the zigbee traffic when pairing it to the hub? http://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html

Koenkk avatar Mar 28 '19 15:03 Koenkk

@didiht I have no IKEA gateway or IKEA app 😁

ripperle avatar Mar 28 '19 17:03 ripperle

@Koenkk Finally I could sniff the traffic during pairing. Involved components are IKEA hub, IKEA App, IKEA remote and IKEA bulb LED1545G12 (white spectrum). But I don't have the Khow How to analyze. What next? Shall I upload the WS file?

didiht avatar Apr 01 '19 09:04 didiht

@didiht Hooray! Today I finaly got time to test your procedure. I can confirm that color changing now ist working. I'd support your hypothesis that the key aspect is not to powercycle the bulb after removing it from the TRADFRI app. However, this evening I was not able to filter the IKEA TRADFRI connect from the zigbee traffic due to too much 'noise' of other zigbee devices (and missing experience with wireshark and the zigbee protocol). If necessary I'v to try again at the weekend.

But following procedure leads in my environment to the expected functionality:

* remove the bulb from the zigbee2mqtt bridge

* stop zigbee2mqtt bridge

* pair the bulb to the IKEA bridge with the IKEA remote via Tradfri app

* remove the bulb from the bridge via Tradfri app

* power off the bulb

* start zigbee2mqtt bridge

* power on the bulb nearby the CC253x (no powercycle!)

* add the bulb to the group of the IKEA Remote

* **SUCCESS** color_temp is working again with the IKEA remote

It seems there is a (small?) difference of the initial states (reset with powercycle, reset by pairing and removing from IKEA bridge) that leads to the variance of functionality.

bjobo avatar Apr 03 '19 19:04 bjobo

@didiht could you upload it here?

Koenkk avatar Apr 04 '19 06:04 Koenkk

@bjobo I am glad to be able to help :smile:

@Koenkk here it is: Ws.zip

didiht avatar Apr 04 '19 07:04 didiht

Hi, same problem here.

Is there an Solution without Tradfri Bridge?

Devices are LED1624G9 and LED1546G12.

coordinator_firmware 20190223

Zigbee2MQTT version1.3.1

After reset the bulbs and tradfri remote to factory and pairing with Zigbee2MQTT, no more ability to change colors / color temp with the remote.

After adding the bulbs to Tradfri remotes group, even no luck.

Same sniffer output like https://github.com/Koenkk/zigbee2mqtt/issues/1232#issuecomment-475870840

On/Off and brightness on Tradfri remotes working good.

djusHa avatar May 04 '19 07:05 djusHa

I've did some further investigation but didn't manage to decrypt the network.

I think the only hope to ever solve this issue is that IKEA shares the required Zigbee commands. I've asked them here: https://www.reddit.com/r/tradfri/comments/bpx9qf/what_magic_setup_does_the_e1524_ikea_tradfri/, fingers crossed..

Koenkk avatar May 17 '19 21:05 Koenkk