# Need help with wiring

**URL:** <https://forum.ewelink.cc/t/need-help-with-wiring/32374>\
**Category:** Free discussion\
**Created:** [May 5, 2024, 5:08pm UTC](https://forum.ewelink.cc/t/need-help-with-wiring/32374 "2024-05-05T17:08:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pylyp.chen](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@pylyp.chen](https://forum.ewelink.cc/u/pylyp.chen)\
**Post date:** [May 5, 2024, 5:08pm UTC](https://forum.ewelink.cc/t/need-help-with-wiring/32374/1 "2024-05-05T17:08:24Z")

</div>

I have 2 light switches that control one light.  
 ![Untitled-1](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/3/3d4c03f499fdc26f8a64fb0cca121c320fd2e4d3.jpeg)

Is it possible to connect Sonoff ZBmini without adding additional wires?  
Or is it possible at all?

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [May 5, 2024, 5:23pm UTC](https://forum.ewelink.cc/t/need-help-with-wiring/32374/2 "2024-05-05T17:23:21Z")

</div>

Yes, it is possible. You need to give more details about the wiring and the switches. Are they cross switches?  
The drawing… my eight-year-old grandson would be delighted 🤣

---

<div class="post-metadata">

**Author:** ![pylyp.chen](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@pylyp.chen](https://forum.ewelink.cc/u/pylyp.chen)\
**Post date:** [May 5, 2024, 8:20pm UTC](https://forum.ewelink.cc/t/need-help-with-wiring/32374/3 "2024-05-05T20:20:31Z")

</div>

![Screenshot_2](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/7/73ea6015fa9020318bccc0b9a3b5de38ff315cd5.jpeg)

Hope this is better?  
Any option?

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [May 6, 2024, 2:30am UTC](https://forum.ewelink.cc/t/need-help-with-wiring/32374/4 "2024-05-06T02:30:24Z")

</div>

> [@pylyp.chen](#):
>
> Hope this is better?

This is much better, indeed.

As there is no N conductor in both boxes, the only option that does not require alterations to the installation is to use [ZBMINI-L2](https://sonoff.tech/product/diy-smart-switches/zbmini-l2/). The device is extremely small in size and will certainly fit even in a shallow box, under the switch. You place ZBMINI-L2 in one box.  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/2/2f869351a58c256d2c3282d4c62230cb1ed388ea.png)  
You make the connection according to this diagram, remembering that L and N wires must be connected exactly according to the drawing. The designations of the terminals S1 and S2 are important. In the option from the attached drawing it must be the S2 terminal.  
Here’s the [video tutorial](https://youtu.be/5f89tEDaYUs).

---

<div class="post-metadata">

**Author:** ![pylyp.chen](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@pylyp.chen](https://forum.ewelink.cc/u/pylyp.chen)\
**Post date:** [May 6, 2024, 2:51am UTC](https://forum.ewelink.cc/t/need-help-with-wiring/32374/5 "2024-05-06T02:51:36Z")

</div>

1. N present in the box (left one and right one) is just not connected to any switch.
2. If I place relay to the left box:

- Issue with Line out (line out is on second box only)

1. If I place relay to the right box:

- Issue with the line - line changing always

Looks like relay should be on the left box only, but in this case how to make lineout ;(

This is the right diagram I have implemented:  
 ![3way-switch-wiring-diagram-nm](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/4/4e4f435d4c7769284a115fab781a09b1e1076254.webp)

---

<div class="post-metadata">

**Author:** ![jam3](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/jam3/32/7918_2.png) [@jam3](https://forum.ewelink.cc/u/jam3)\
**Post date:** [May 6, 2024, 2:33pm UTC](https://forum.ewelink.cc/t/need-help-with-wiring/32374/6 "2024-05-06T14:33:40Z")

</div>

Is the wiring in your home exactly as shown in the diagram? In particular, does the cable connecting the two boxes have four wires? What does it look like in reality?
