Sonoff ZBMINI-L2 (Zigbee version) with Smart Bulb (Zigbee)

Good morning,

First of all, sorry if any term is not correct. I am starting with the DIY of home automation and electrical issues, although I know something, I am not a professional. Also, I am not native english speaker person.

I have bought several Sonoff ZBmini-L2 (those that go without a Neutral cable). I installed a few in relay mode without smart lights, cutting the current, and they work perfect integrted in HA with ZHA. For the bedroom area I wanted to have the possibility to change the tone of the light so I thought I could make a bridge to the traditional switch installed on the wall to keep the bulb always connected and use the ZBmini-L2 to obtain the status of the traditional switch and, through HA, program an automation to turn the bulbs on and off.

The thing is that when testing it, the ZBMini-L2 does not turn on if it does not have a load on the Lout gate.
I have set it up like this:
S1 and S2 to the traditional switch (you can also just to S2).
In ZBMini’s Lin I put the signal that also feeds the smart bulb, but with this the Sonoff does not turn on.

My idea is to keep the traditional switches (for home aesthetics - the house is new and I don’t want to change all of them).

Also say that the switch box does not have Neutral cables, only Line. I had seen this post: How to combine Sonoff ZBMINI with Zigbee smart bulb where it seems that the previous model does allow the relay to be jumped connecting everything to Lin but it requires a Neutral (I would have to pull a cable) and due to space I am not sure if it fits in the switch box.

Is there a way to power the ZBmini-L2 without using the relay?
If it helps mi tradicional switches are these: N2202 NIESSEN ZENIT

Thank you!

If you have the wifi version, you could use this no neutral hack

Thanks but I have the Zigbee version. I prefer to keep my LAN network separated.

Anyway, maybe there is a similar hack for the new version (L2)…

Hi!

I’m trying to do the same thing. Did you manage to get it working?

Thanks!

No… sorry.

The way the ZBminil2 works (same as all no-neutral relays) is that the “off” state still allows a very small current flow so that the relay stays powered, but the load (usually a lightbulb) is unpowered.

As you discovered, if you do not connect the load, the ZBminil2 remains unpowered, because the circuit is open.

Furthermore, using the ZBminil2 to switch a smart lightbulb won’t work the way you want. This is because you always want to have the smart bulb powered so the network stays up, but there is no way to flip the switch in the ZBminil2 without switching off the load.

I learned all of this the hard way too :frowning:

but what is your solution? for what do you opt?

I used a Shelly 1 Plus, which has a neutral but connects with Wi-Fi instead of zigbee.

Disclaimer: Proceed at your own risk. I’m not responsible for any permanent damage that might occur due to this modification.

Hello,

I encountered the same issue with this device and found a workaround by disabling the relay.

Quick Guide:

  1. Safety First: Ensure all power to the device is turned off, or better yet, unplug the device.
  2. Opening the Device: It’s quite straightforward to open it using a plastic card or a guitar pick. Just slide it along the seam between the two halves.
  3. Locking the relay in the ON state: Locate the first relay pin on the left and sever its connection using a cutter or a sharp blade. I made a deep scratch in the middle of the solder joint, which allows for a possible reversal by resoldering it in the future.

Note: This will effectively disable the relay function, almost permanently. To restore functionality, you’d need to resolder this pin.

In-depth Instructions:

The ZBMini-L2 features a dual coil latching relay, enabling it to maintain its state indefinitely after being set to either allow or block current flow.

Identify the relay on the board by the large black component that clicks. It connects to the main board with 4 pins on the right and 2 larger pins on the left:

  • On the left:
    • First pin: RESET command. The control board sends an OFF signal here to reset the relay, cutting off current flow.
    • Second pin: SET command. The control board sends an ON signal to set the relay, allowing current to pass.
    • Third pin: +5V
    • Fourth pin (below the third): 0V
  • On the right:
    • Larger pin (purple square in the image): AC power input (similar to LIN).
    • Larger pin (red square): AC power output (LOUT, leading to the bulb).

With this knowledge, you have several options:

  • Bypass the Relay: Shorting the two large pins allows current to always flow to the bulb, but you’ll still hear the relay click.
  • Disable the SET Pin: Cutting the SET signal means the relay can never be activated, which is not useful as no power will reach the bulb.
  • Disable the RESET Pin: Cutting the RESET signal means the relay can never be deactivated, which suits our purpose.
  • Extreme Measures: Consider removing the relay entirely by desoldering all its pins and shorting the two large pins. If you have access to a 3D printer, you could potentially design a smaller case for the device.

Disabling the RESET pin is nearly ideal as it stops the relay from clicking and ensures continuous current to the light. You will also still get the information of the switch position in the device, so you can make automation with it.

Ensure a deep enough cut in the solder joint to avoid accidental contact. Be careful not to damage other components.

Tip: A vertical blade works well. Press it against the soft solder and scratch until you reach the board.

Drawbacks:

  • Remote power cut-off isn’t possible; you’ll need to rely on smart bulb features.
  • If the bridge fails, the switch won’t control the light directly. In my case, if the bridge is down, I’d have bigger issues to deal with. :stuck_out_tongue:

Hi Tronix, I did exactly as you said, and it seems to work. The relay isn’t being triggered when I use the switch and the device is still getting power. The only thing is I cannot seem to re configure the zbminil2 in home assistant now. Before I did the modification I did a factory reset. Now when it enters pairing mode my ZHA integration doesn’t seem to find it and it falls out of pairing mode after like 15 seconds.

Any idea what is going wrong? Perhaps the modification disabled the functionality of pairing the device?

Thanks for posting a couple of suggestions.

It seems disabling the reset pin results in the device losing power after a few seconds.

It worked prior to cutting reset and for a few seconds after the cut. Reconnecting the device will make it work for a few seconds again.

A second unmodified device works on the same connection as expected, so it must be a result of the modification.

Is there a workaround that has been verified to work?

Upon further investigation, the mini loses power after the smart bulb is switched off (turning the bulb itself off through HA suffices).

In short, the mini is not suitable for the purpose of functioning as a smart switch only without output of with a smart bulb as an output, even after hardware modifications. I tried both cutting reset and soldering the relay.