New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IKEA TRADFRI remote control switch is not recognized as trigger #357
Comments
Well, that is the Tradfri binding for use with the Tradfri gateway - this is the ZigBee binding, so it is not in any way linked. |
Thanks for the reply. This is what I expected. I have the feeling that there are not many people trying to make this work with ZigBee directly. |
Have a look over there: #284 (comment) |
ZigBee is new for me, so I hope this isn´t a dumb question. |
Yes, you should be able to do this, but I suggest to discuss on the forum where there will be more people who can help get you up and running.
… On 14 Jan 2019, at 09:30, Wiese66 ***@***.***> wrote:
ZigBee is new for me, so I hope this isn´t a dumb question.
It is possible to simulate a bulb within this binding? I understand that there is the coordinator who manages groups and devices, but is the API from the USB device capable to listen to other devices like a bulb would do it?
My understing is that the ikea dimmers and remotes are connecting to the bulbs. Therefore they have a paring function which is not the same as pairing them to OH. In my case I need to reset the dimmer (push 4x the pair-button) to connect to OH. Afterwards I can pair (press 10 seconds) to a HUE bulb without loosing the OH connection. The idea would be to connect the dimmer to a virtual bulb within OH to receive the commands from the dimmer.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#357 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA_kQ_SY6qobB9RQTQCxuw9aKhKopFW-ks5vDE4lgaJpZM4Z8oN5>.
|
Thanks for your fast response! Best regards! |
Maybe I don’t understand your question fully then, so again best to discuss on the forum.
… On 14 Jan 2019, at 10:00, Wiese66 ***@***.***> wrote:
Thanks for your fast response!
I thought that the binding needs adaption for this. But I´ll try it in the forum.
Best regards!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#357 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA_kQ7YWnKu6vtqZKRJQZ87AjW-Fkb52ks5vDFUvgaJpZM4Z8oN5>.
|
It seems that the TRADFRI remote is working in zigbee2mqtt: BTW: I also want to use the remote directly without the Ikea gateway! |
That is not related to this binding so it doesn't really help here right? |
It is related to this issue and gives hints how to fix it, so indeed, it should be related to this binding! See e.g. here:
|
The point is though that it needs someone to write the code - understanding the issue is only a small part of the problem (and this was already understood). Please feel free to provide a PR to update the binding - it would be appreciated I'm sure. |
I've just installed a CC2531_coordinator since I would like to use the IKEA on/off remote to trigger some actions in openHAB and realized the same as lubosz, that I can pair the remote but don't get any channels. I'm not skilled enough to solve this programming my self and is hoping for someone with the skills to help out. It would be awesome to be able to pair the cheap IKEA remotes for use with openHAB. And of course support for the IKEA motion detector would be nice to have too ;-) |
Please discuss on the community forum where there will be more people to help you. The issues list is more for bugs or issues rather than support. Thanks. |
The button works by sending commands to a zigbee group. Yes it should work with zigbee2mqtt. But it does require the user to sniff zigbee traffic to get the groupid the button transmits to. And then set it in the item's configuration after. |
I just tried to pair Ikea remote control with Openhab and when I press buttons I can see following output in debug log. Main Button
Level UP
Level Down
Left
Right
In additional it is able to differ between press and hold of buttons - different log output. But it does not produce any channel events in Openhab. How could be those buttons events propagated to Openhab? |
@jhron have you made any progress? I suppose the good news here is that openHAB is receiving things. I'm also trying to get the TRADFRI remote to work with the zigbee binding and have yet to make progress. Can the debug messages be used in rules? What logs did you have to set to DEBUG to receive those messages? |
With the information from above and the tutorial at #284 (comment) it should be possible. Unfortunately I cannot do it atm, maybe I try it in a few weeks. What is missing, and maybe @jhron can add it, the remote sends different commands on long presses (at least the dimmer buttons do). To create a complete configuration we need that information too. |
@jhron I tried to create the file based on the tutorial but there are a few problems. First, Left and Right seems to be the same. At least clusterId and CommandId are the same at the log excerpt above. And I need the vendor and modelid (should be visible at the paperui!). |
I've tried to create the necessary files (without longpress and still accepting that left/right will be the same) but did not manage to compile them/load them into openhab. discovery.txt
ikea-tradfri-remote.xml
Maybe this helps? I'll gladly test any implementation if somebody tells me the steps I need to take to load this! |
Hi, I do have an IKEA Tradfri remote and an Ember-based Zigbee stick. I'm willing to help figuring out the right codes for the buttons. However, when setting the log levels to DEBUG, I get such an overwhelming amount of logging, that it is difficult to filter out what messages could be from the Tradfri remote. Is there a smarter way to do this? |
You can use the logviewer on my website. https://www.cd-jackson.com/index.php/openhab/zigbee-log-viewer |
I have added my Tradfri remote as a Thing and was trying to get some info from the debug logging. However, I don't see any received
Of course, I pressed a lot of buttons short and long before searching the logs. And, as mentioned, I do see messages of the device being discovered. When I accidentally removed the battery and placed it again, I see the device is rejoining. So the remote is communicating with OpenHAB, but I don't see any commands being received by OpenHAB that I can relate to button presses. Is there any additional action I have to do before being able to see those messages in the log? @jhron - what did you do to get the log messages you posted above? |
I did increase log level of following:
Unfortunately I am quite busy last few months so I had to "abandon" activity in this matter :( at the moment. |
@jhron That's exactly what I did. There must be something else... |
Then try to change info to debug here: I can not try it by my self at the moment because I had to (to move on) switch from native openhab binding to zigbee2mqtt (here Ikea button works ok) and I am parsing mqtt topics by rules in openhab. |
@jhron Tried that, but it only logs "ASH frames". No idea what those are, but they don't look like the examples you posted on April 13th. |
I anyone still working or interested in getting this to work? I have just gotten the controller paired with openhab through the zigbee binding I have a telegesis dongle, and set the debugging level with
The log file is attached What can I do to help get this to work? |
Very interested in getting this to work. I've bought the new Tradfri wireless dimmer (704.085.95), which is paired with OpenHAB. Some zigbee data: Down longpress (Off button): Ideally, I would like to use this device similar to be the rawrocker described in the items (https://www.openhab.org/docs/configuration/items.html), which I know from my enocean rockers. I am more than willing to develop this myself, but have no clue where to start :) |
Please provide all 3 log entries that are received for each command - not just the RX CMD entry.
… On 17 Dec 2019, at 20:24, Vincent Bakker ***@***.***> wrote:
Very interested in getting this to work. I've bought the new Tradfri wireless dimmer (704.085.95), which is paired with OpenHAB.
I do get On/Off events (short pressed) and would like to use the dimmer functionality the be used on OpenHAB for custom dimming.
Some zigbee data:
Up longpress (On button):
20:47:23.850 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - RX CMD: MoveWithOnOffCommand [Level Control: 60055/1 -> 0/1, cluster=0008, TID=6C, moveMode=0, rate=83]
And Release:
20:47:26.086 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - RX CMD: Stop2Command [Level Control: 60055/1 -> 0/1, cluster=0008, TID=6D]
Down longpress (Off button):
20:48:04.174 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - RX CMD: MoveCommand [Level Control: 60055/1 -> 0/1, cluster=0008, TID=6F, moveMode=1, rate=83]
And release:
20:48:09.367 [DEBUG] [rtsystems.zigbee.ZigBeeNetworkManager] - RX CMD: Stop2Command [Level Control: 60055/1 -> 0/1, cluster=0008, TID=70]
Ideally, I would like to use this device similar to be the rawrocker described in the items (https://www.openhab.org/docs/configuration/items.html <https://www.openhab.org/docs/configuration/items.html>), which I know from my enocean rockers.
My EnOcean rocker sends different signals when a button is pressed and releases, and by using the rawrocker-to-dimmer profile I can directly use the rocker to a dimmer item.
I know the zigbee dimmer's behavior is a bit more difficult, since it sends a On/Off command on a short press and different command on a long press. This does not match the rawbutton, button or rawrocker channel types and corresponding triggers.
I am more than willing to develop this myself, but have no clue where to start :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#357?email_source=notifications&email_token=AAH6IQ2EGTV6OMUFDKHPRHTQZEYPZA5CNFSM4GPSQN42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHD23LQ#issuecomment-566734254>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAH6IQYKR2CKW6FEER5YJHTQZEYPZANCNFSM4GPSQN4Q>.
|
On: Off: Long On: Long Off: |
I too would be willing to help test things. |
Has there been any update on this item, maybe for OH3? |
I am discovering zigbee as well and also have this device (and others switches, CWS bulbs, TRV, etc.) that I would like to work with direct zigbee binding in openhab. Thanks in advance ! |
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/zigbee-binding-and-tradfri-wall-switch/127015/1 |
I tried to build
It seems it is need to rebuild much more than expected and the documentation is not very clear. Any advice welcome |
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/zigbee-binding-and-ikea-tradfri/127755/2 |
Outline
Since I am on OpenHAB 2.4.0 Release Build, I guess I should have this related smarthome patch.
I don't have an Ikea gateway, I want to use the remote with my Qivicon ZigBee controller.
The controller works fine with controlling the Ikea Lamp and Osram smart plugs.
Behaviour
To get the remote into paring mode you need to press the pair button 4 times relatively quickly. The red LED blinks red shortly if you are successful. This was the case for me on firmware
11115720
.After that my Qivicon ZigBee controller lists the device as
IKEA of Sweden TRADFRI remote control
.It shows it first as a generic ZigBee device, but if I wait a bit, I get the proper name.
The remote shows 4 channels in PaperUI. 3 for battery info and a switch.
Problem
The problem is that the switch is recognized as Actor, not Sensor. So I can set a switch value, which does not do anything, and there are no triggers.
The battery sensors don't output anything though, but the thing is showed as online.
The four secondary buttons are apparently not recognized either.
Nothing shows up in the event log when I press the buttons.
The guy from this video made it work with pimatic. Their implementation is documented here. But it looks that this needs a Ikea Gateway, what I don't want.
The remote can be connected to third party gateways, as you can see here with the Phillips Hue
https://www.youtube.com/watch?v=HFq3xi2fmYY.
Can I make this work through configuration or needs anything to be implemented?
This is also discussed in the forums.
Configuration
Logs
This is how it looks in
org.eclipse.smarthome.core.thing.Thing.json
. I guess there should be a"kind": "TRIGGER"
in there.https://gist.github.com/lubosz/fd0f8c2d596a0282dd01952c83a57ee0
A rather long log, where you can see the discovery and addition of the Thing via PaperUI. (in the second half of the log)
https://gist.github.com/lubosz/cd285a0e120e1c11779f717cfc1f09ea
The text was updated successfully, but these errors were encountered: