dresden-elektronik / phoscon-app-beta

Access to Phoscon app beta
78 stars 5 forks source link

IKEA Tradfri Dimmer connected but temperature buttons don't work #176

Closed iamkarlson closed 3 years ago

iamkarlson commented 5 years ago

Hey, I was able to connect ikea dimmer with buttons. However, not all the buttons works. Brightness and on/off buttons work, temperature (< and >) buttons don't. Are there any bits of advice about making it works?

Firmware was updated yesterday to the latest available through Phoscon app.

strips commented 5 years ago

I have the same issue. Trying to assign < > buttons to color cycle and scenes with color temp does not work. Cycle does nothing. Scenes can only store brightness. It always reverts to the same neutral white temp.

Product ConBee Version 2.05.52 / 16/12/2018 Firmware 26300500

TRÅDFRI LED bulb E27 980 lumen Wireless dimmable/white spectrum opal white FW 1.2.217 (updated today 2019-01-05)

Remote FW 1.2.214 (updated today 2019-01-05)

manup commented 5 years ago

Please have a look in the latest version. The Ikea 5 button remote control can be configured since a while in the Phoscon App Switch Editor. The latest deCONZ version 2.05.54 adds color temperature control.

https://github.com/dresden-elektronik/deconz-rest-plugin/releases/tag/V2_05_54

Important: When using the Phoscon App Switch Editor

Basic documentation on the Switch Editor:

https://doc.phoscon.de/app/doc.html#group-edit-switches-en

peterlindeman commented 5 years ago

Still doesn't work in latest release. If the button through the App Switch Editor I can only set color temp to warmer but never to colder. When the button is directly coupled to the light group the color temp buttons do not work at all.

For now reverting back to the Ikea bridge

MickL commented 5 years ago

Same here for version 2.05.65 / 24.5.2019 on Hass.io with RaspBee. I added the lights to the Tradfri remote group. On/Off and dim is working, but not changing color. Is there any news on this @manup ?

In the switch editor i can set the buttons but not to the the desired functionality:

This is a serious downgrade for me since before (without gateway) i could change color temperature. Now it is connected to the gateway and the buttons have no functionality. Isnt it possible to implement the desired functionality?

manup commented 5 years ago

How did you configure your remote?

The following should work: image

I added the lights to the Tradfri remote group. On/Off and dim is working, but not changing color. Is there any news on this @manup?

Important: Don't assign lights directly to the remote when using the Switch Editor, this would cause undefined behavior, since the remote and the gateway would send control commands to the lights.

It adds "a little bit" of warm/cold but the Tradfri bulp has only 3 settings (cold, warm, super warm) so i would have to press multiple times to change the actual color

Keep the button pressed... the transition time is chosen quite long. I think we can tune this to be faster in future versions.

When you assign lights directly to the remote, the side buttons won't work since non IKEA lights don't understand these commands, and IKEA lights would need to be configured in a certain way to support this. As a workaround if you wan't fixed values as well as non IKEA lights working use multiple scenes which you can cycle through with the side buttons.

MickL commented 5 years ago

Ah a holding does the trick but it needs 10 seconds to change the color one step instead of one single click. Anyway couldnt you add this behavior initially when connection so new users dont have to use the switch editor?

Despite of this workaround I really would love to see:

peterlindeman commented 5 years ago

How did you configure your remote?

The following should work: image

I added the lights to the Tradfri remote group. On/Off and dim is working, but not changing color. Is there any news on this @manup?

Important: Don't assign lights directly to the remote when using the Switch Editor, this would cause undefined behavior, since the remote and the gateway would send control commands to the lights.

It adds "a little bit" of warm/cold but the Tradfri bulp has only 3 settings (cold, warm, super warm) so i would have to press multiple times to change the actual color

Keep the button pressed... the transition time is chosen quite long. I think we can tune this to be faster in future versions.

When you assign lights directly to the remote, the side buttons won't work since non IKEA lights don't understand these commands, and IKEA lights would need to be configured in a certain way to support this. As a workaround if you wan't fixed values as well as non IKEA lights working use multiple scenes which you can cycle through with the side buttons.

Configured this now several times but cannot get changing the color of the IKEA color bulb working. Hopefully this can be fixed

aaa89h commented 5 years ago

I'm sure my deconz is up to date But oddly i don't have the key assignment feature showing up at all Is it because I'm using deconz on home assistant? I checked for updates but i have the latest deconz firmware

MickL commented 5 years ago

Im on HA/hassio, too. It is just very very hidden. The Phoscon UI looks good but the user experience is very bad imo.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

peterlindeman commented 4 years ago

Hmm, still doesn’t work in current version…. On 20 Dec 2019, 12:33 +0100, "stale[bot]" notifications@github.com, wrote:

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

infernix commented 4 years ago

Can confirm, this does not work.

G3rry71 commented 4 years ago

Confirmed, not working

Qalculus commented 4 years ago

Changing color temperature is not working at all for me. I am using version 1.05.75 / 2020-03-08.

Caine72 commented 4 years ago

Same issue. Latest software.

I worked around the issue by creating three scenes. Cold, White, Yellow.
Then let the buttons call Previous and Next Scene to get the carrousel.

This works fine .. but with one drawback. Scenes seem to be all or nothing. I.e I have to change both temperature and brightness at the same time. Seem like one cannot do only one of the things in a scene. ( please correct me if i'm wrong). So, if i already have a "correct" brightness set , changing scene will re-set it to my pre-set scene value instead of keeping current.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

michaelbroman commented 4 years ago

I have the exactly same problem, all but the color temp is working. My current config is to use the toggle instead but that is not the desirable solution. RaspBee fw 26580700 and latest deconz.

Thimboo commented 4 years ago

Same problem here. HassOS 4.11 with ConBee II and deCONZ 5.3.6. Tradfri FLOALT panel WS 30x30 with Tradfri Remote

hreichert commented 4 years ago

Same problem here.

Mimiix commented 4 years ago

Moving this to Phoscon repo!

gbroll commented 4 years ago

I am just starting over from scratch with deconz, and have the same problem. Binding the side buttons on the IKEA remote to change (dim) color temperature, but nothings happens when I press either one of them. IKEA bulbs, IKEA 5 button remote.

deconz 2.05.79 (through deconz add-on 6.2.3 in Home assistant) Conbee, fw 0x26350500

It worked fine in my old setup. If I remember correctly, there was no switch editor so the remote was assigned to the light(s) in a different way.. (?) and the side buttons could be used to (rapidly) change the color temperature.

Thanks

Thomas-Vos commented 4 years ago

There appear to be different modes for the TRÅDFRI remote control. See the following how to switch between them to fix this issue: https://community.hueessentials.com/t/left-right-buttons-not-working-on-a-tradfri-remote-control-with-deconz/444

Audio-Demon commented 4 years ago

Hi all, and first of all: Big thank You for Conbee 2 - great and clutterfree addition to my Raspberry Pi running OpenHab(ian)

I also cannot get color change working. Neither using a group with lights and then the key assignment nor with the old web-app and the per-remote-group adding lights to remote. and also neither with the button press or the battery-removal-method on the remote decribed in the hue-community worked for me.

This is not (yet) a dealbreaker for me, since I not use color-bulbs (yet) and the wife is happy with the warm white which at least can be selected and kept in Openhab 2 / Phoscon Conbee 2 Bridge. But I would be happy having it in the near future.

Another thing: Please provide / keep as alternative the remote-groups. This is a standalone feature for this great zigbee bridge, as it will work when the bridge is not reachable. Also I see updates to the lights in both Openhab and Phoscon App when I use the remote. Also switching is more reliable and faster. Is this made available through Zigbee Light Link?

From my perspective, it is vital to have this direct approach with the remotes for safety reasons. The light-switch in the home / the childs room must always work. And let's be honest: this is for the ethusiast, and the computers / PSUs / SD-Cards we have running 24/7 will fail.

Thanks for reading and please advice if I should address this or parts somewhere else, and also I offer support both in testing and also writing guides.

Best, Jan

P.S.: This Blog also highlights that the switch can talk to the lights when the bridge "fails": https://www.lucastechblog.com/home-automation/setup-ikea-tradfri-with-deconz-in-home-assistant/comment-page-1/#comments and its part of my decision tree purchasing a connbee 2

YKO-de commented 4 years ago

The switch group leads to problems in connection with the switch editor. Which is why we have hidden it. But we are working on a concept to use them without errors. This may take some time.

A colleague is currently working on the color temperature problem.

stale[bot] commented 4 years ago

As there hasn't been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

jdeluyck commented 4 years ago

Any updates?

iaktern commented 4 years ago

Hi, I had the same issue and solved it (with a technical solution). Phoscon is using the deCONZ REST API. The switch configurations are stored as rules and it only seems that the settings are a little bit messed up by Phoscon.

The problem is that the newer Ikea remote controls don't send the expected long-pressed hold and release buttonevent for the left and right button, if they are in the 2nd operation mode. If you added the switch via Phoscon, it requires you to put the switch into this 2nd operation mode (the GUI tells you to press the On/Off button for 10 seconds during the setup) where only simple click events are sent for left and right. I'm not quite sure why Phoscon tells you that, maybe because it is really easy to get there by accident and they want a stable state (usually you already get there by only pressing ON/OFF for 3-4s, but it is not easy to get back).

The switch configurations added by Phoscon to change the color temperature expect the hold and release event. But now, by operating in the 2nd mode, only simple click events are sent. There are two solutions:

  1. change to the first operation mode: the easiest way to do that is by removing the battery for 10s. Unfortunately, it often happens by accident to change unintentionally back to the 2nd operation mode (by pressing On/Off too long).
  2. You can change the switch configurations manually in the REST API. (With this knowledge it should also be easy for the Phoscon developers to make a bug fix.)

For everybody who can't wait for an update and wants to do it manually, here is how I did it. Unfortunately, the rules API documentation is not well described (if you read it there remain a lot of open questions: how to find the correct address of the remotes? which values can I expect by a button click? which action.bodyoperations are possible? etc.) So, if you want to modify the following instructions for your environment, it's probably a little bit of trial-and-error. I use a mixture of inspecting what Phoscon does and afterwards modifying the REST API with Postman.

  1. If you want, you can put the light(s) into the group that was created for the Ikea remote control. This is great if the Gateway is down, because in this case on/off and up/down (brightness) are still working.

image

  1. Create a group which you assign the light(s) to.
  2. In the switch editor, create key assignments for the left and right button to change the color temperature. Afterwards, if you have the same bug as me, you will not be able to actually change the color temp with the left or right button.

image

  1. We needed step 2 to create some rules in the REST API. This is an easy way to find all the important values that we need to modify the rules directly in the REST API by ourself. Phoscon created 4 rules (two for each key assignment) because it assumes that the remote control will send a hold (x001) and a release (x003) buttonevent. So, the first step is to find the ID of the group that you want to make the key assignments for. Do GET /api/{{apikey}}/groups and find the group with the correct name. In my case, "Kammer" has the group ID 11. Next, you need to find the IDs of the 4 rules which were created by Phoscon with GET /api/{{apikey}}/rules. Search for "/groups//action", e.g. "/groups/11/action" (it is possible that you find this term more than four times, if you have other button or sensor assignments for this group). In my case, the rule-IDs are 58, 59, 60, 61. In the response, you also find:

image

  1. Our goal is to create two rules (one for the left, and one for the right button) which just increase the ct value by a small amount with every click (no long press). Therefore, we first delete the unnecessary release rules with DELETE /api/{{apikey}}/rules/<rule-id>, in my case rule-ID 59 and 61 (there, the conditions array contain "value": "4003" or "value": "5003").

  2. Last step: we modify the hold-rules to react to a click-release event. Therefore, we make a PUT /api/{{apikey}}/rules/<rule-id/> with the needed body content. It is useful to copy the body from the previous response and just modify the content a little bit:

stale[bot] commented 3 years ago

As there hasn't been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

stale[bot] commented 3 years ago

As there hasn't been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it isn't solved, request to get this opened again.

MattWestb commented 3 years ago

Its working in deCONZ but not in Phoscon if adding the groupe 65289 in the old web app / "Wireless Light Control" and then adding the lights in that groupe then its only to adding scenes to that groupe.

IKEA_CT19

The saved groupe can being triggered from deCONZ. HA and from the remote. IKEA_CT23

The knowledge is handed over to the devs (Manpu) and its only implanting the logic for it in Phoscon for doing the add LL scene group it automatically.

This is the real zigbee lighting link scenes that is working also then the coordinator is offline and not the HA "Switch Editor" hack that is killing then lighting link funktionality of the zigbee network and not working then the coordinator is offline .

The question for my is do the company like getting it working or no ?

I have doing the sniffing and analysing and giving the information to the community, perhaps it was wrong giving it to DE ;-(

KoljaW commented 3 years ago

Any updtaes? Still not working in Phoscon to change the color by Tradfri Remote.

johanko commented 3 years ago

I swapped my IKEA-gateway to Conbee II and also have this issue. Everything is fine, just not the left and right buttons on IKEA Trådfri remotes for changing color on RGB bulbs and temperature on GU10 bulbs(or other warm/cold bulbs). I can set scenes, but I do want to keep my current brightness function. Is this planned to be "fixed"? Or should I just configure this in Home Assistant?

eric-zimmer commented 3 years ago

I have the same problem

PatrickEhf commented 3 years ago

This issue is still not fixed. Ikea Floalt led panel with Ikea 5 button remote. Color temperature buttons don't work at all.

kvithayathil commented 3 years ago

I'm getting a similar issue - when controlling IKEA GU10 Tradfri colour bulbs. I can get the 'warmer' setting to work, but not the 'colder' setting to work on the left/right buttons (if i map things like on/off to the side buttons - it seems to work)

Athemis commented 3 years ago

I'm getting a similar issue - when controlling IKEA GU10 Tradfri colour bulbs. I can get the 'warmer' setting to work, but not the 'colder' setting to work on the left/right buttons (if i map things like on/off to the side buttons - it seems to work)

Same issue over here. To be more precise: Pressing the button assigned to "cooler" also triggers a change to warmer color. Pressing the button assigned to "warmer" works as expected. Using the slider in Phoscon works as well.

knallle commented 3 years ago

Can confirm, still not working with IKEA Trådfri E1524 remote. Have tried both methods for toggling the operating mode (a: removing the battery for 10 seconds and b: pressing the center button for 5 seconds then double clicking the outer arrows) without luck.

Conbee I Firmware: 2.12.06 / 2021-08-19 Version: 26390500

kolorfilm commented 2 years ago

I also have same problem. Color temp change assigned to left and right button of remote does not change the color of the lamps.

haukee commented 2 years ago

Problem still exists.

2.13.04 / 19.9.2021 Firmware 26660700

Problem persist, even when using the "Schalter beta"-pairing in pwa-beta