Elektroda.com
Elektroda.com
X

Make any smart relay no-neutral?. Explanation

spin55 1785 8
  • This assembly is universal. Suitable for all types of AC devices.

    Make any smart relay no-neutral?. Explanation

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

    Make any smart relay no-neutral?. Explanation

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

    Make any smart relay no-neutral?. Explanation

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

    Make any smart relay no-neutral?. Explanation

    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:

    Make any smart relay no-neutral?. Explanation

    But for it to work we need to configure this:

    Make any smart relay no-neutral?. Explanation

    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

    Cool? Ranking DIY
    About Author
    spin55
    Level 14  
    Offline 
    spin55 wrote 134 posts with rating 13, helped 5 times. Been with us since 2022 year.
  • #3
    spin55
    Level 14  
    Thanks for the link. I did not know that.
  • #4
    ferbulous
    Level 15  
    @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 you already have those extra cables in your existing 2 way wiring though. That’s where this no neutral hack comes in for the tuya module.

    Added after 8 [hours] 46 [minutes]:

    @spin55
    Finally got it installed on my 2 way light switch for the bathroom and it’s working nicely




    Make any smart relay no-neutral?. Explanation Make any smart relay no-neutral?. Explanation Make any smart relay no-neutral?. Explanation Make any smart relay no-neutral?. Explanation
    Make any smart relay no-neutral?. Explanation
  • #5
    spin55
    Level 14  
    We already knew it worked.
    If it works with one wall switch, it works with two or three.
    Enjoy it!!
    This:
    Make any smart relay no-neutral?. Explanation
    And this is the same:
    Make any smart relay no-neutral?. Explanation
  • #6
    ferbulous
    Level 15  
    @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 switch & ac) are on different breakers.
    Could this be somehow related? Just asking since it’s gonna be a while till i get back home
  • #7
    spin55
    Level 14  
    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.
  • #8
    ferbulous
    Level 15  
    @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 other gangs or just use 5 diodes
    Make any smart relay no-neutral?. Explanation
  • #9
    spin55
    Level 14  
    ferbulous wrote:
    By the way i have a 5 Gang switch, could i just use 1 diode and loop from live to other gangs or just use 5 diodes


    I don't understand what you want to do. If you do a freehand sketch I could try to give you a coherent answer.