Page 1 of 1
How to connect a zigbee switch with a zigbee receiver
Posted: Monday 24 March 2025 19:55
by Dutchsea
Hi,
A bit of a noob question probably but i like to understand how i can link a zigbee wall mounted switch with a zigbee receiver for example a relis that operates a light bulb. I can include both devies in Domoticz but how can i link them so that the switch activates the relais.

- IMG_0073.jpeg (101.75 KiB) Viewed 730 times

- IMG_0074.jpeg (24.71 KiB) Viewed 730 times
I am familiar with the Klikaan Klikuit pairing but I can not find a way how to pair the zigbee devices.
Hope someone can assist.
Re: How to connect a zigbee switch with a zigbee receiver
Posted: Monday 24 March 2025 21:05
by waltervl
Perhaps this can be arranged with zigbee groups (check the zigbee gateway you are using).
But most likely you can do this with scripting (blockly, Dzvents). Eg if click event then togle lampx on/off.
Check the wiki for examples on blockly and Dzvents
Re: How to connect a zigbee switch with a zigbee receiver
Posted: Tuesday 25 March 2025 8:40
by gizmocuz
That can be easily done in Domoticz.
Please create a Group in Domoticz , add your wall dimmer/switch to it (the one that is attached to your light bulb)
Next click on the learn code, and press the wall switch (the button)
And you are done
You can do this for on/off
Re: How to connect a zigbee switch with a zigbee receiver
Posted: Tuesday 25 March 2025 22:35
by FlyingDomotic
It depends what you want to do.
You can effectively use Domoticz to do the job but ... Domoticz has to be working.
You may also want to directly link 2 ZigBee devices directly, without going to Domoticz. Advantage: Domoticz is not needed (even if it will also get the module state change). Drawback: devices should be compatible (receiver should understand command pushed by sender), don't allow other things that basic (roughly on/off/level) commands.
Linking device procedure depends on devices and on ZigBee tool.
Some devices allow linking by pushing buttons when devices are close.
Zigbee2Mqtt allow linking devices using "Link" tab of device. You have to choose source device end point, target device, target device endpoint and cluster(s) to link.
Re: How to connect a zigbee switch with a zigbee receiver
Posted: Wednesday 26 March 2025 8:30
by gizmocuz
Of course, Domoticz is working, why would it not be?

And if it does not, you have more issues than this single switch.
Doing this with Domoticz gives you lots of flexibility, and lets you control multiple devices with various settings
The way doing it in the middleware is indeed possible, but you want to have an easy setup and a single point of doing this.
Besides, there are also options now to control the switch via scripts (push it once, turn something on, push it another time, turn something(s) off)
Re: How to connect a zigbee switch with a zigbee receiver
Posted: Wednesday 26 March 2025 10:05
by Kedi
You can do both. I have an Ikea E1743 bind to an Ikea IKEA ICPSHC24-30EU-IL-1
I do my normal switching and dimming (based on lux) via Domoticz and dzVents.
But in the
rare case that Domoticz crashes, you can at least turn the light(s) on to investigate why Domoticz crashed and put it back to work again.

Re: How to connect a zigbee switch with a zigbee receiver
Posted: Wednesday 26 March 2025 16:57
by Thorgal789
Zigbee2Mqtt allow linking devices using "Link" tab of device. You have to choose source device end point, target device, target device endpoint and cluster(s) to link.
But it's not magic, it can work, but need special hardware.
The dimmer module is Moes so Tuya, it mean you have 50% of chance for it use the tuya cluster, so not possible to use direct bind, because all devices need to use the same cluster in a zigbee group. All device need to have the group cluster too, and my old Aqara switch that look like the one on the picture miss it.
Doing this with Domoticz gives you lots of flexibility, and lets you control multiple devices with various settings
I m agree, you will have more possiblities using Domoticz, not comparable.
Re: How to connect a zigbee switch with a zigbee receiver
Posted: Wednesday 26 March 2025 19:40
by FlyingDomotic
For sure ...
But ... (there's a but), having a solution that will continue to work when Domoticz ecosystem will stop can be a good design (especially when you're getting old and your wife doesn't understand anything to this

. You may even think about a backup/bypass solution to revert back to manual use (don't forget to write the doc (with photos) to explain how to to it
