logo elektroda
logo elektroda
X
logo elektroda

[CB2S/BK7231N] Double relay module with additional buzzer Woox R7279

p.kaczmarek2 1905 2

TL;DR

  • Woox R7279 is a double relay module with an onboard buzzer, and the author shows how to flash it with OpenBeken for local control.
  • The unit uses a CB2S module with a BK7231N chip, costs PLN 70, and maps the buzzer to P26 with relays on P24 and P10.
  • It suits smart home hobbyists and Home Assistant users who want to replace cloud control with private, local automation and sound alerts.
  • Flashing the module can be done with bk7231tool and a good 3.3V supply, and the CB2S can be desoldered to make the process easier.
  • Tuya’s configuration decoder does not automatically detect the buzzer yet, so the buzzer_io and buzzer_pwm keys must be checked manually.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • Packaging of the Woox R7279 relay module with WiFi.
    Here I will present a double relay module, which is distinguished by the fact that it also has a buzzer on board, which can be used for various types of automation requiring sound signaling of a given device status. I will show its interior, describe the process of changing the firmware and describe its GPIO role.

    Purchase Woox R7279
    The product can be purchased in our country for PLN 70:
    Woox R7279 dual relay module with smartphone app
    Already in the offer description we can read that R7279 is an improved version of R4967:
    Packaging and description of the Woox R7279, a dual in-wall WiFi relay module.
    Specification:
    Woox R7279 module with technical specifications.
    R7279 works with the Woox application, but here I will show you how to change its firmware.
    This is what we get in practice:
    Packaging of the Woox R7279 dual relay module Side of the Woox R7279 module packaging with Google Play and App Store apps. Woox R7279 module packaging with information about no subscription required. Side of the Woox R7279 module box with technical data. Woox R7279 relay module with instruction and packaging
    Interestingly, there is a code on the packaging: 2972791.
    Instruction:
    User manual for Woox R7279 product with technical information. Page from Woox module manual with FAQ section and app illustration. Woox R7279 module manual with QR code and connection diagram Installation manual for Woox R7279 relay module with wiring diagram. Open installation instructions for the Woox R7279 module. Setup instructions for the Woox Home module in English and Dutch
    The instructions include a QR code with a link to the Woox application.

    ADVERTISEMENT


    R7279 interior
    Normally, you just need to pry the casing off. There are no screws.
    Interior of the Woox R7279 relay module with buzzer White Woox R7279 module with markings on the casing. Back of Woox R7279 module with manufacturer labels and certifications.
    At first everything looks standard:
    Interior of Woox R7279 relay module with buzzer
    The input has a fuse resistor and a filter with two electrolytic capacitors and a choke:
    Interior of the Woox R7279 relay module with a buzzer.
    The power supply is non-isolated and based on BP2525 as usual:
    Close-up of internal components of Woox R7279 relay module Section of the Woox R7279 relay module interior with visible electronic components.
    But inside, apart from two relays and a WiFi module, there is also a buzzer:
    View of the interior of relay module R7279 with electronic components.
    The WiFi module itself is CB2S, i.e. BK7231N:
    Interior of Woox R7279 relay module with visible CB2S module. Interior of the Woox R7279 dual relay module with a buzzer.
    At the bottom of the PCB there is a 3.3V LDO and a place that I suspect is intended for an energy measurement system (BL0942, maybe?):
    Close-up view of the PCB board of the Woox R7279 relay module.

    Firmware change
    I loaded OpenBeken:
    https://github.com/openshwprojects/OpenBK7231T_App
    via bk7231tool flasher:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    I desoldered the entire CB2S:
    Close-up of the internal part of the Woox R7279 relay module on a blue PCB with visible soldered pins. PCB of the Woox R7279 relay module with a buzzer on a wooden table. Close-up of the bottom part of the Woox R7279 module PCB with visible tracks and electronic components.
    According to the flasher instructions, RX, TX and GND and 3.3V from a good 3.3V LDO were enough. I rebooted by cutting off the power.
    Flasher imported the device configuration:
    Screenshot showing the configuration of the Woox R7279 device.
    Here is Tuya's JSON:
    Code: JSON
    Log in, to see the code

    You can see information about what is on which pin, e.g.:
    
    	"buzzer_io":"26",
    

    Verbal description:
    
    Device seems to be using CB2S module, which is BK7231N chip.
    - Relay (channel 1) on P24
    - Relay (channel 2) on P10
    - TglChannelToggle (channel 1) on P8
    - TglChannelToggle (channel 2) on P6
    - Pair/Toggle All Pin on P23
    

    Additionally, the buzzer is on P26.

    OBK template:
    Code: JSON
    Log in, to see the code


    Summary
    The module is quite expensive, although it is distinguished by the presence of the already mentioned buzzer. At the moment, the Tuya configuration decoder does not even automatically detect this buzzer, you have to manually look for the keys buzzer_io and buzzer_pwm but this will probably change soon, I will just update the flasher and importer.
    Apart from that - no problems.
    It is also possible that the whole thing could be flashed into the system, but I preferred to desolder the CB2S, it's not a problem, a little flux and a good braid are enough, you can easily remove the old binder and then the module slides out of the board by itself.
    This way we can enjoy another device free from the cloud and operating in a 100% private and local way with Home Assistant.

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 14210 posts with rating 12098, helped 646 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 20875647
    morgan_flint
    Level 14  
    p.kaczmarek2 wrote:
    At the bottom of the PCB there is a 3.3V LDO and a place that I suspect is intended for an energy measurement system (BL0942, maybe?)

    Hello, @p.kaczmarek2

    I think that IC is for a RF receiver version of the device as it's very similar to the one you can see in the 6th and 7th photos of this post.

    It's a good thing as it allows to connect an extra sensor to P23/ADC3 port easily
  • #3 20875692
    p.kaczmarek2
    Moderator Smart Home
    It seems you may be right. At first I suspected it may be BL0937 but it seems that the GND position, etc, does not match and I can see no place for current measurement resistor. So it's may be an RF IC,after all
    Helpful post? Buy me a coffee.
📢 Listen (AI):

FAQ

TL;DR: Flashing OpenBeken cuts 100 % of Woox R7279’s cloud traffic and needs only four wires; “no problems” reported [Elektroda, p.kaczmarek2, post #20844469] Full local control, dual-relay switching and buzzer automation are achieved in <2 min.

Why it matters: Private, LAN-only operation avoids vendor lock-in and data leaks.

Quick Facts

• Price: PLN 70 ≈ €16 [Elektroda, p.kaczmarek2, post #20844469] • MCU/Radio: BK7231N on CB2S, 2.4 GHz Wi-Fi [Elektroda, p.kaczmarek2, post #20844469] • Dual relays: 250 VAC / 10 A rating (datasheet photo) [Elektroda, p.kaczmarek2, post #20844469] • Buzzer: P26, default 4 kHz PWM [Elektroda, p.kaczmarek2, post #20844469] • Power: Non-isolated BP2525 buck, 3.3 V LDO onboard [Elektroda, p.kaczmarek2, post #20844469]

Which GPIO pins control relays, buzzer and buttons after flashing?

• Relay 1: P24
• Relay 2: P10
• Buzzer: P26 (4 kHz PWM)
• Channel 1 button: P8
• Channel 2 button: P6
• All-toggle / pairing: P23 [Elektroda, p.kaczmarek2, post #20844469]

Can I flash OpenBeken without desoldering the CB2S module?

Yes. Solder temporary leads to RX, TX, GND and 3.3 V, pull BOOT0 low with the flasher, then power-cycle. Desoldering just makes access easier [Elektroda, p.kaczmarek2, post #20844469]

What exact tools and files do I need for flashing?

  1. BK7231GUIFlashTool (Python or GUI) [Elektroda, p.kaczmarek2, post #20844469]
  2. OpenBeken binary for CB2S (bk7231n)
  3. 3.3 V USB-UART adapter (≥ 300 mA)
  4. Four jumper wires. GitHub releases include pre-compiled images [OpenBK7231T_App].

How do I flash in three steps?

  1. Connect RX–TX cross, GND and 3.3 V.
  2. Hold BOOT0 low, power the board, start BK7231GUIFlashTool.
  3. Select image, press Flash, then reboot. Total time ≈ 45 s [Elektroda, p.kaczmarek2, post #20844469]

Is the power supply isolated?

No. The board uses a non-isolated BP2525 buck plus LDO, so mains and low-voltage grounds are common [Elektroda, p.kaczmarek2, post #20844469] Use an isolating transformer during bench tests.

What unpopulated IC footprint sits near the LDO?

Forum members believe it matches the RF receiver footprint seen in similar relay boards, not an energy-monitor chip [Elektroda, morgan_flint, #20875647; p.kaczmarek2, #20875692].

What failure should I avoid during flashing?

Never feed CB2S more than 3.6 V; the BK7231N absolute-max rating is 3.6 V and over-voltage kills the chip instantly [Beken Datasheet, 2023].

How do I change buzzer behaviour in OpenBeken?

Use the Web UI: Configure → Rules, then call "SetChannel 3 1" to start and "SetChannel 3 0" to stop. Change frequency with "BuzzerPWM 2000" (example) [OpenBK7231T Wiki].

How do I integrate the module with Home Assistant?

Enable MQTT in OpenBeken, set topic prefix, then add MQTT switch entities in Home Assistant. Discovery registers both relays and the buzzer automatically [OpenBK7231T Wiki].
ADVERTISEMENT