FAQ
TL;DR: Flashing the BG 822/HC‑01 (BL3335‑P) at 921600 baud is straightforward, and “OpenRDA5981 now supports OTA.” Use Easy Flasher or RDA’s Windows tool, then wire TX/RX/GND/3.3V. [Elektroda, divadiow, post #21739104]
Why it matters: This guide helps UK DIYers replace cloud‑tethered firmware with local, reliable control on a common double smart socket.
Quick Facts
- Firmware: OpenRDA5981 with Ali bootloader; OTA now available, initial wired update may be required. [Elektroda, divadiow, post #21739104]
- Flashing I/O: 3.3 V UART; start the tool, then power the module; typical baud 921600. Relays won’t actuate off‑mains. [Elektroda, bertjones, post #21719655]
- Full ROM dump: Set ~2 MB (e.g., 0x7FC00 or 0x3FFFF); power‑on after Start for reliable connection. [Elektroda, bertjones, post #21719975]
- LED rings fix: Set GPIO25 to AlwaysHigh to drive blue rings independently of relays. [Elektroda, gandi69, post #21720596]
- Template example: Btn_n on pins 3/4; Rel on 7/26; LED on 8/25 (per channel mapping). [Elektroda, gandi69, #21720578
What is the BG 822/HC‑01 BL3335‑P smart socket module?
It’s a UK double smart socket using a removable BL3335‑P module based on RDA5981A. Users have shared photos confirming the BG double faceplate and the matching plug‑in module, which makes bench flashing and reassembly easier. [Elektroda, divadiow, post #21716513]
How do I flash OpenRDA5981 on Windows, step by step?
- Connect 3.3 V, GND, TX, RX between your USB‑serial adapter and BL3335‑P.
- In the RDA Windows tool, select the COM port and settings; click Start.
- Apply 3.3 V power to the module; retry power‑cycling until it connects and completes. [Elektroda, bertjones, post #21719655]
Where do I download the OpenRDA5981 firmware binary?
Releases are published under the OpenBK7231T_App releases page referenced in‑thread. Grab the OpenRDA5981 build from the releases section before flashing with the RDA tool. [Elektroda, divadiow, post #21712734]
Does OpenRDA5981 support OTA updates now?
Yes. As of November 2, 2025, OpenRDA5981 supports OTA, and Easy Flasher also supports RDA read/write. Older OpenRDA builds will need a one‑time wired update to migrate. “OpenRDA now uses the Ali bootloader.” [Elektroda, divadiow, post #21739104]
What pins do I need to wire for flashing?
Only 3.3 V, GND, TX, and RX are needed. A user confirmed successful OpenRDA flashing with just power and UART lines, no extra boot‑mode pins required. This keeps the hardware hookup simple. [Elektroda, gandi69, post #21716496]
What UART settings and sequence work best?
Use 3.3 V UART at 921600 baud. Start the RDA Dump/Flash tool, then power the module. If it doesn’t connect, power‑cycle and retry; it will usually attach after one or two attempts. [Elektroda, bertjones, post #21719655]
How do I get readable boot logs instead of gibberish?
Pull IO21 high at boot for a readable debug log, and share ground between your power supply and USB‑serial adapter. This tip comes directly from the thread’s BroadLink/RDA5981 logging guidance. [Elektroda, divadiow, post #21719695]
My relays don’t click on the bench—what’s wrong?
On bench power (3.3 V), the relays won’t energize because they use a higher‑voltage supply only present on mains. Do not connect mains while the USB‑serial adapter is attached for safety. [Elektroda, bertjones, post #21719655]
How do I map buttons, relays, and LEDs in a template?
Example mapping: Btn_n on pins 3 and 4 (channels 60/59), Rel on 7 and 26, LEDs on 8 and 25 to follow channels. Match channel numbers to link each LED with its relay. [Elektroda, gandi69, post #21720578]
The blue LED rings only light when relays are on—can I make them independent?
Yes. Set GPIO25 to AlwaysHigh so the blue rings can light independently. After applying AlwaysHigh;0 on pin 25, both rings behave as expected with button control. [Elektroda, gandi69, post #21720596]
Any hardware caveats when opening the BG double socket?
Accessing the module often requires cutting the rear earth strap rivet, then restoring it properly. Plan for safe rework so that the earth continuity remains sound after reassembly. [Elektroda, gandi69, post #21716534]
How do I capture a full ROM dump (useful size and settings)?
Set Flash Size to ~2 MB and Length of Word to 0x7FC00 (or select 2 MB with 0x3FFFF). Then power the module after pressing Start. You can trim in HxD later. [Elektroda, bertjones, post #21719975]
Is there an Easy Flasher path for RDA5981 now?
Yes. Easy Flasher supports RDA read/write, and OpenRDA5981 includes OTA with the Ali bootloader. Update once via wires, then use OTA. [Elektroda, divadiow, post #21739104]
How should LEDs be linked to relays in OpenBeken/OpenRDA?
Use the same channel to have an LED follow a relay. Use LED_n for inverted behavior. Use a different channel for independent LED control. “That’s the gist of it.” [Elektroda, p.kaczmarek2, post #21720583]
What template worked for initial testing?
A shared working setup used Btn_n on pins 3/4, Rel on 7/26, LEDs on 8/25 bound to channels 59/60. Users refined it with AlwaysHigh on pin 25 for independent rings. [Elektroda, gandi69, post #21716841]
What version output should I expect after a fresh flash?
Boot logs show the Ali bootloader and OpenRDA5981 version strings (e.g., 1.18.206), AP startup, and HTTP server messages. OTA logs include the upgrade progress line and reboot. [Elektroda, divadiow, post #21739104]