logo elektroda
logo elektroda
X
logo elektroda

Configuring EARU EAWCBT WiFi Relay with OpenBK on BK7231N Chip

earurelay 1089 2
ADVERTISEMENT
  • Helpful post
    #1 21384272
    earurelay
    Level 2  
    EARU Wifi Relay model EAWCBT support.

    Hi guys,

    I recently bought on Aliexpress some cheap WiFi Relay, and wanted to use OpenBK on it.

    This model is not yet in device database, but I managed to make it working with openBK.

    This is the device : EARU EAWCBT Wi-Fi relay with connectors and labels.

    I quickly opened it up, by drilling on existing rivets. They can be replaced with some screws later.

    Inside, it is a CBS3 chip (BK7231N) with a relay activated by a bridge.
    Interior of an opened EARU Wi-Fi relay model EAWCBT with visible electronic components.


    I use this datasheet to find correct pinout : CB3S datasheet and BK7231 GUI Flash tool to flash it.

    Here is the correct pins to use when updating device:
    Interior of a device with CB3S chip and cable connection labels.

    It worked flawlessly :)
    Laptop with an open configuration sheet and EARU EAWCBT Wi-Fi relay on the desk.

    Then I connected to device using onboard AP, and configured it to use my wifi.
    On next reboot, I used the suggested configurations by the BK7231 Flash Tool, but it doesn't work. Relay was seen as a relay, not a bridge driven relay.

    After some testing, here is the configuration that works for me.

    Code: JSON
    Log in, to see the code


    Hope it helps!
  • ADVERTISEMENT
  • Helpful post
    #2 21385925
    p.kaczmarek2
    Moderator Smart Home
    Thank you for sharing. It's good to see another bridge relay device. Out of curiosity, have you tried to measure the power consumption of this device? The bridge relay requires only power to toggle, so it should be more efficient than "classic" relay, where coil in one state has to be energized all the time.

    By the way, I think you can also enable PowerSave 1 on this device. This will prolong the life of the power supply and reduce heating.
    Helpful post? Buy me a coffee.
  • Helpful post
    #3 21386296
    earurelay
    Level 2  
    Hi p.kaczmarek2 ,

    Thank you for your message, it helps!

    First of all, I tried measuring consumption, and then I read your comment about PowerSave, it changed everything!

    ANENG AOS02 electrical meter and TONGOU relay on a wooden table.

    ConsumptionRelay activation
    Normal7mA28mA
    PowerSave 1
    1.3mA8.7mA


    Meter reading at 1302 microamps.
    1.3mA, this is excellent! Day consumption is (0.0013x230)*24 = 7.2 Watt!

    I was amazed it can change consumption like this!

    I also noticed that my whole relay setting was inverted. When I got Power OFF, I got power, and vice versa.
    I modified the config (and updated my first post) to make it match reality.
    By now, when I issue a POWER OFF command, JSON output match.
ADVERTISEMENT