Make any smart relay no-neutral?. Explanation
This assembly is universal. Suitable for all types of AC devices.
You can control the device manually through SW1 but remotely only when SW1 Closed.
And you need to configure Startup like this:
When SW1 opened, Sonoff Offline. In order for Sonoff to stay in line with SW1 Open, we added D1.
Now with SW1 closed the bulb turns on normally, but when SW1 is open the bulb flashes. To correct that we add this:
R3 limits the current through D7 when C2 is discharged when the device is connected to the AC mains. C2 charges through D7 during the AC positive half cycle and begins to discharge through the bulb during the 10 millisecond AC negative half cycle. The bulb is running on DC despite being an AC device (explained later).
We already eliminated the flicker but when opening or closing SW1 the bulb stays on. We need a trigger:
But for it to work we need to configure this:
Now we can turn the bulb on and off by controlling Sonoff via S1-S2. When SW1 closed, T1 conducts and closes S1-S2. When SW1 open, T1 does not conduct and opens S1-S2.
Why are Sonoff and bulb working if they are AC devices?
Because they work internally at DC. That's why we can't connect a device that works internally with AC like a ceiling fan, for example. But there are DC fans, I think these could work with this assembly for the same reason that Sonoff and led bulb do.
AC devices work with assembly 1, which is universal, as long as the current consumed is less than what Sonoff's internal relay can withstand (usually 10 or 16A).
https://www.elektroda.com/rtvforum/topic3969629-30.html#20536819

You can control the device manually through SW1 but remotely only when SW1 Closed.
And you need to configure Startup like this:

When SW1 opened, Sonoff Offline. In order for Sonoff to stay in line with SW1 Open, we added D1.

Now with SW1 closed the bulb turns on normally, but when SW1 is open the bulb flashes. To correct that we add this:

R3 limits the current through D7 when C2 is discharged when the device is connected to the AC mains. C2 charges through D7 during the AC positive half cycle and begins to discharge through the bulb during the 10 millisecond AC negative half cycle. The bulb is running on DC despite being an AC device (explained later).
We already eliminated the flicker but when opening or closing SW1 the bulb stays on. We need a trigger:

But for it to work we need to configure this:

Now we can turn the bulb on and off by controlling Sonoff via S1-S2. When SW1 closed, T1 conducts and closes S1-S2. When SW1 open, T1 does not conduct and opens S1-S2.
Why are Sonoff and bulb working if they are AC devices?
Because they work internally at DC. That's why we can't connect a device that works internally with AC like a ceiling fan, for example. But there are DC fans, I think these could work with this assembly for the same reason that Sonoff and led bulb do.
AC devices work with assembly 1, which is universal, as long as the current consumed is less than what Sonoff's internal relay can withstand (usually 10 or 16A).
https://www.elektroda.com/rtvforum/topic3969629-30.html#20536819
Comments
Something like this from Chinese sellers: https://pl.aliexpress.com/item/1005003337087512.html?spm=a2g0o.cart.0.0.24f8452cnVM6zT&mp=1&gatewayAdapt=glo2pol I bought 2 of them myself and they work gre... [Read more]
Thanks for the link. I did not know that. [Read more]
@kaczmarj I’ve bought it before as well, what’s great is you can flash tasmota/esphome since ewelink diy mode works and it’s small enough to fit behind the switch. Not ideal for 2 way switches unless... [Read more]
We already knew it worked. If it works with one wall switch, it works with two or three. Enjoy it!! This: https://obrazki.elektroda.pl/2043322700_1681897545_thumb.jpg And this is the same: ... [Read more]
@spin55 my wife just called and complained the ac’s 20a switch is not turning on and asked me to check on it. Oddly enough this happened after i did the modification for the 2 way switches and both (light... [Read more]
I think the same as you, that they are different circuits, but you never know. There is only one way to clear up doubts: disconnect the assembly and see what happens. [Read more]
@spin55 looks like it’s not related Gonna need to call someone to check it since replacing 20a switch doesn’t fix it By the way i have a 5 Gang switch, could i just use 1 diode and loop from live to... [Read more]
I don't understand what you want to do. If you do a freehand sketch I could try to give you a coherent answer. [Read more]
Hello, is there any difference between using a single capacitor? Also, does the capacitance matter? Some have a 0.4 uF and anothers user 2 uF or 4.4 uF. I have seen some devices that includes only a single... [Read more]
Hello. If you really want to understand why capacitors are used instead of resistors in alternating current (AC) electric circuits, it's best to familiarize yourself with the basics. This link will help... [Read more]
Thanks for the reply and the video, it explains very well the reasons of the resistor in parallel. One could easily just use a capacitor without the resistance in parallel, but it will imply safety... [Read more]
Hello. Interesting link, but if you want to put it into practice it is highly recommended that you follow the author's instructions regarding security measures. I am referring to the test with an incandescent... [Read more]
I do completely agree. Looking at the Sonoff zbmini l2, it does not come with a capacitor and it does not induce flickering to the lights, do you know why? [Read more]
If that Sonoff was designed to be powered with a single phase without neutral, it is assumed that the internal electrical design is different. It probably doesn't blink because internally it's designed... [Read more]