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.
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.
How to connect a zigbee switch with a zigbee receiver
Moderator: leecollings
- Dutchsea
- Posts: 120
- Joined: Tuesday 08 December 2015 13:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v2023.2
- Location: The Netherlands
- Contact:
How to connect a zigbee switch with a zigbee receiver
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2024.7
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
- waltervl
- Posts: 5598
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: How to connect a zigbee switch with a zigbee receiver
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
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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- gizmocuz
- Posts: 2451
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: How to connect a zigbee switch with a zigbee receiver
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
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
Quality outlives Quantity!
-
- Posts: 349
- Joined: Saturday 27 February 2016 0:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: How to connect a zigbee switch with a zigbee receiver
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.
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.
- gizmocuz
- Posts: 2451
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: How to connect a zigbee switch with a zigbee receiver
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)

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)
Quality outlives Quantity!
-
- Posts: 568
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: How to connect a zigbee switch with a zigbee receiver
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.
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.

Logic will get you from A to B. Imagination will take you everywhere.
-
- Posts: 847
- Joined: Wednesday 15 August 2018 14:38
- Target OS: -
- Domoticz version:
- Contact:
Re: How to connect a zigbee switch with a zigbee receiver
But it's not magic, it can work, but need special hardware.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.
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.
I m agree, you will have more possiblities using Domoticz, not comparable.Doing this with Domoticz gives you lots of flexibility, and lets you control multiple devices with various settings
-
- Posts: 349
- Joined: Saturday 27 February 2016 0:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Contact:
Re: How to connect a zigbee switch with a zigbee receiver
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 
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


Who is online
Users browsing this forum: No registered users and 0 guests