-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Testing: binding #782
Comments
I'm pretty new to this world, but I can help testing. Would this be a valid testing environment? Insert the CC2531 USB stick in my iMac, forward the USB port to Virtualbox, install zigbee2mqtt in a Linux VM and test. So I can keep my stable & slow RPI 1B the same. Another question; how would I pair the Ikea remote so that I can try using it and zigbee2mqtt at the same time? Now I factory default the Ikea lamp, then it'll connect to zigbee2mqtt automatically, but when I then pair the remote, the connection with zigbee2mqtt is gone. |
@niekvlessert the tradfri button can be paired to zigbee2mqtt by resseting it and keeping it close to the coordinator. |
I've got my VM setup running, running zigbee2mqtt dev version on a VM with forwarded USB port on my iMac. Since the bulb pairs fine with this it looks ok. I couldn't pair the Ikea remote, it gave: 'PM Device with modelID 'TRADFRI remote control' is not supported.' So I found: #102 (comment) I added the settings to devices.js, but I couldn't find the handleReady in lib/zigbee.js, I guess this info is dated? Any tips? |
@niekvlessert thats not needed, once paired you will be able to bind it |
@Koenkk, should we be able to pair the (5 button) Trådfri Remote now ? (I'm also getting the 'PM Device with modelID 'TRADFRI remote control' is not supported.' after resetting it as also @niekvlessert get). |
Yes, but the unsupported message doesnt mean you cannot use binding |
@Koenkk, ok, so is it the same that happens when I "pair" the remote with a bulb? (e.g. holding the reset button inside it pressed for 15-20 secs next to the bulb) |
@martinrosenauer yes |
It works!
Interesting; I can't change the color temperature with the remote anymore, off/on and intensity work fine. |
Hi, |
I'm using an IKEA remote and RGB bulb. But it does not work for me.
|
Ah, you use the binding, interesting. I just paired with the remote itself with the bulb.
|
I try to bind a "Xiaomi Aqara single key wireless wall switch (single click)" with a "GL-C-008 - Gledopto Zigbee LED controller RGB + CCT / RGBW / WWCW / Dimmer" Startup messages
Is it not possible to bind the Xiaomi Switch? Or is there another problem? |
@BudBundi Xiaomi defines don't follow the ZCL specification, therefore they are (probably) not able to control other devices. Something you can also try is to wake the device up while the configuring takes place (just press the button a few times when you start zigbee2mqtt) |
would be awesome if it could be used for groups! As a backup would be great to have a remote that can turn on / off a couple of groups i'm going to realize next month. |
@trekker25 I didn't have any success with the TRADFRI dimmer, however results may vary per device. |
I have now tried to bind the Philips dimmer switch with an Ikea RGB bulb. I did the same as described in my post with the Tradfri remote and I also have received the same result. According to the log it works except for cluster 5 but the remote is not working. The remote still sends its events to zigbee2mqtt but is not controlling the bulb.
|
@JumpmanJunior can you do some zigbee sniffing and post the results of the on/off commands send by the remote? https://github.com/Koenkk/zigbee2mqtt/blob/dev/docs/how_tos/how_to_sniff_zigbee_traffic.md |
Yes, the attached dump contains the binding procedure, pressing some buttons on the remote (which has no effect on the bulb) and the unbinding procedure. |
@JumpmanJunior do you know how this remote is normally used, can it be paired directly to a bulb? |
Yes, the remote can be paired directly to a bulb. That is even the default if you buy it in a set with a bulb. In order to exclude a problem with the bulb I have now tried to bind the Philips dimmer switch to a Philips bulb (instead of the Ikea bulb I used before). But the results are the same, it is not working. |
@JumpmanJunior in the log I see that the remote reports that the binding is OK, however ZCL Onoff is still send to
|
OK, this worked. Now the remote is controlling the bulb. But I was not receiving the button presses in zigbee2mqtt anymore. I was still able to control the bulb directly via zigbee2mqtt. But I was not receiving status updates from the bulb when executing a change with the remote. After executing the unbind command (with reverted code) it immediately stopped controlling the bulb and the button presses where showing up in zigbee2mqtt again. I also tried the same with the Tradfri remote which was integrated via the coordinator_group but I had no success with this one. But there is also no "Successfully configured" message for this remote. |
@JumpmanJunior it seems that this remote can only be bound to one devices, so either to coordinator or he bulb. About the TRADFRI remote, it doesn't allow to be bound (also experienced this). What you can do is add the bulbs to the same group as the one of the TRADFRI remote. |
Hi, binding worked as long as I woke up the TRADFRI wireless dimmer (ICTC-G-1) before sending the MQTT message
|
One thing thats a bit annoying is that when I use the dimmer the state change of the target is not published. Only the state change of the dimmer. |
@f-bader that's because the reporting setup fails (see your log). cluster 6 is the on/off cluster, Does changing brightness trigger a state update? |
Thanks, that did it! Didn;t notice that extra step.. :-). |
I'm moving over to a new coordinator running source routing fw and on a different channel to accommodate a device I have that only supports certain channels. Whilst trying to bind some IKEA bulbs and remotes that I've moved over, I'm having some issues where they appear to bind OK according to the logs however if I stop Z2M to test they control the bulbs, they don't. The bulb in question is LED1623G12 and the remote the E1524. Both are updated to the latest OTA. I was binding them by this process: This worked previously with my other Z2M instance and coordinator although I did it some release revisions ago. |
The IKEA remote must be bound to a group, it is not possible to a device. By default the 1524 remote is bind to the default group (901)...if you press a button, you would see messages ending with 901. You first have to unbind the remote from the default group...Read the manual how to do... Then create a group, add bulb(s) |
Maybe try the new_api and web front-end of version1.16.2 |
@Anjerlaan thanks, I've unbound from the default group to start with, sorry I left that out of process in my post! I don't understand why it's not working now as the same process has worked fine with my old coordinator and it also appears to work with a hue bulb on the new coordinator. So I'm guessing it's something to do with the IKEA LED1623G12 bulb. I might try putting it back on the old network to see if I can still bind it with that, seems a PITA just to prove it works on something I don't want it to anymore! |
I managed to get these two remotes to work now! I removed them, created a new group with a different name and voila it works. |
Good evening everyone, I hope there is someone who can help me a little further with binding a HUE remote. I did a clean install of Ubuntu Server 20.04.1 on an Intel NUC 7i5BNK today. After installing Mosquitto followed the full guide to installing Zigbee2Mqtt and everything seems to work great! before the complete integration in Domoticz I first wanted to perform a test, apart from Domoticz I would also like to use a remote control for dimming a group. I have now added 2 HUE GU10 spots and a HUE remote control. 'homeassistant: true In the frontend panel I selected my remote control and added the group under binding. But somehow I don't get this work... Am I missing something? |
Ikea motion detector (E1525/E1745) is able to bind directly to a bulb, but unable to control it; it is unable to be bound to a group. |
I bound an IKEA remote E1524 to an LED1545G12 light bulb via a group. On/Off and Dimming does work, however the color temperature can not be changed. Is there a way to enable this? |
Same here... On/Off and Dimming works like a charm (with groups). Changing the color temperature simply doesn;t work. Also tried to update some bulbs/spotlights with OTA since this seems to help out in some situations as referenced in this issue, but got the 'Image is truncated' error (mentioned in #2921). Unfortunately wasn't able to resolve this by adding |
@loewexy @martin-g-it Actually, E1524 does not switch color temperature. If I remember correctly, this two buttons send command Set Next/Prev Scene. Unfortunately, z2m does not (yet?) support scenes, but this functionality can be implemented on higher level - I, for example implement this in OpenHab. Of course this solution have drawback what it require working server with OpenHab/any other home automation software. I'm think details will be out of topic here, contact me if you are interested |
There is a seperate Bug report for this Issue I just found #1232 . I know that this can be done in OpenHab but this seems to be the not so elegant solution. |
I've just tried binding a Sonoff sensor (SNZB-3) with a Moes/Tuya switch MS-104Z - and I get binding failed. I can see that the two devices don't have clusters in common - but now I'm wondering if the device DB is correct The Sensor has this initial configuration fragment in devices.js:
Outputcluster 3 is "identity". Output cluster 6 is "onoff". I am puzzled how a motion sensor doesn't Could someone explain a bit more:
Thanks Martin |
Another note: the config fragment above is mostly Tuya specific - how do other devices get their outputclusters? |
@mgg1010 that is sadly correct. My Hue/Xiaomi/SONOFF (no longer have the SONOFF) also only have msOccupancy, which a bulb can do nothing with(1). Some of the IKEA ones do however have genOnOff so you can bind those directly.
|
Ah, and this is built-into the firmware of the device, and hence not fixable? And I guess when a new device is added, it's relatively easy to see the low-level messages being sent re: IKEA - I've read that the Tradfri sensor only sends to groups... It would all be easier if the hardware people just got it right for a change. I suppose this means we have to live with making sure our servers are reliable! |
Is it true that Philips HUE LWG004 GU10 cannot be bound to a HUE Dimmer remote? |
I have a Paulmann YourLED RGB 500.49 Zigbee controller for an LED strip and a matching Paulmann Gent 500.67 remote. Both are connected to Zigbee2MQTT via a Conbee 2 stick. Control of the LED Controller through Home Assistant works like a charm. The Gent also shows up in Home Assistant and I can receive commands from it. To make full use of the remote and the LED Controller, I wanted to bind them. My first attempt was to bind the Remote to the LED Controller directly. Zigbee2MQTT reported success, but the LED Controller did not react to any button press on the remote. My second attempt after reading through this thread was to create a group with only the LED controller in it and to then bind the remote to the group. This now works and I have full control over the LED controller from both Home Assistant and the remote. What does not work: The "On/"Off" state is not synced from the Remote to Home Assistant, but not the other way around. Meaning: If I turn on the LED strip via Home Assistant, the Remote still thinks it is off. I have to press the "On/Off" button on the remote twice to actually send a { "status": "OFF" } message. |
Since 1.19.1, groups/binding functionality is gone for me. I have 4 E1743's and one E1524. AT first I thought it was related to the latest firmware 2.3.075 but then I noticed that no bindings seem to work anymore except for one of my E1743's. Any unbind/bind seems to result in the device using group 0 :-(: |
@heggink have you tried going back to a previous, working zigbee2mqtt version? |
@vide I have not since I had no idea that I had this issue. I mostly use the remotes as a backup (in case my pi dies). It was only when I tried to repurpose one of the remotes when I noticed that, out of 5, only one still had a working group association. The weird thing is that I have 2 remotes with the same FW, one works, one does not. I have one remote with older FW without an indication to upgrade and I have one with the latest FW, all are E1743's. Then I have one E1524 that refuses to bind and lost it's bindings to the default bind group (which is not supposed to happen at all). |
Hi All, I am diving into a binding topics from a device creator prospective. Trying to understand a fact that during Lonsonho 2 gang switch pairing Z2M configures 2 bindings from the device to the coordinator (see lonsonho.js, line 164)
What is this for? Xiaomi switches and relays do not make any bindings. |
The clusters can have input and output clusters. e.g. a switch button's output to a relays input to control it, without the coordinator being involved for example But a lot of the times we bind the output cluster(s) on the device's enpoint to the coordinator so we can actually get the events they generate. |
Thank you for the answer. I am a little bit confused, though. Let's compare two functionally similar relay switches - Xiaomi LLKZMK11LM, and Lonsonho QS-Zigbee-S04-2C-LN. Both devices have only input clusters (if not counting genOTA and getTime). Both devices report back to the server the current state of the switch. So why Lonsonho requires binding its clusters to the coordinator, while Xiaomi one does not? In other words what would stop binding Lonsonho clusters? Will it continue reporting its state? |
So it turns out that the binding function in the remotes has changed from group based to device based: I can now bind both the E1524 (dimmer) and the E1743 (switch) to (multiple) individual devices (at the same time), just not to a group. Whilst not as handy as a group, still functional and very workable for me! |
Have you first removed the binding from the default group 901?
… Op 11 jun. 2021 om 09:21 heeft heggink ***@***.***> het volgende geschreven:
@vide I have not since I had no idea that I had this issue. I mostly use the remotes as a backup (in case my pi dies). It was only when I tried to repurpose one of the remotes when I noticed that, out of 5, only one still had a working group association. The weird thing is that I have 2 remotes with the same FW, one works, one does not. I have one remote with older FW without an indication to upgrade and I have one with the latest FW, all are E1743's. Then I have one E1524 that refuses to bind and lost it's bindings to the default bind group (which is not supposed to happen at all).
At least all the remotes still work so I can capture the messages and build automation for it but then it's all dependent on a running raspberry pi so no fall back scenario.
So it turns out that the binding function in the remotes has changed from group based to device based: I can now bind both the E1524 (dimmer) and the E1743 (switch) to (multiple) individual devices (at the same time), just not to a group. Whilst not as handy as a group, still functional and very workable for me!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
It was no longer bound to 901 and I was not able to rebind it to 901. With the previous firmware, I think it was bound to 901 by default with no way to unbind. |
Hi Guys, First thanks for this great software. I'm using the lastest version (also tried with dev branch) and i was not able to get a E1743 working to control LED1837R5 light. Is there something I'm missing here or something broken ? |
Same here for E1743 with deconz control software ("bind panel"). No effect after turning off coordinator, thus: no bind in effect. |
This issue is used to gather feedback on the binding feature.
Notes
TODO
The text was updated successfully, but these errors were encountered: