logo elektroda
logo elektroda
X
logo elektroda

Arlec Grid Connect PC191HA Series 3 Disassembly and Flashing BK7231N (CB2S)

DerGraueGeist 336 0
ADVERTISEMENT
📢 Listen (AI):
  • This was for an Arlec Grid Connect (from Bunnings) - PC191HA Series 3

    Arlec Grid Connect smart plug, front view with logo and three outlet slots.
    Label on Arlec smart plug PC191HA Series 3 showing model, electrical ratings, and logos.

    Step 1 - prise open the case:
    a) Use a screwdriver to crack the welded seam - pushing firmly in one location, then working along the side until no longer welded. Repeat for all sides and two corners.

    Close-up of a screwdriver prying at the seam of a white plug-in device housing
    Close-up: screwdriver prying the seam of a white Arlec PC191HA Series 3 device casing

    b) Use the screwdriver to carefully lever up the back.

    Close-up of ARLEC PC191HA smart plug label; a screwdriver pries open the casing


    c) Remove the board

    Close-up of plug electronics board with a blue CB2S module and surface-mount components.

    d) Unsolder the CB2S from the main board

    Close-up of a green PCB with solder pins, U2/U3 markings, and a blob of white adhesive

    After removing much of the solder I used a sharp craft knife to carefully cut the small remaining solder bridging between the main board and the CB2S


    e) connected to a CH340G USB to TTL Serial Converter Adapter Module 5V / 3.3V For Arduino ($5 off ebay)

    Close-up of a USB‑UART adapter wired to pins labeled 3V3, TXD, RXD, and GND.


    f) Solder wires to the board

    Small blue circuit board with soldered wires next to a green PCB on a work surface


    The writing on the board tells you the connections, but you must connect TxD to RxD and vica versa

    i.e.
    Board --> CH340G
    Gnd --> Gnd
    3V3 --> 3V3
    TxD --> RxD
    RxD --> TxD


    Part 2)
    a) Download and install https://github.com/openshwprojects/BK7231GUIFlashTool
    I initially tried the windows version but couldn't get it to work.
    So I loaded Ubuntu Linux onto an old laptop and used the linux version instead.
    Also needed to install Mono. See the links on the page https://github.com/openshwprojects/BK7231GUIFlashTool

    a) Ran the Easy UART Flasher as shown on https://github.com/openshwprojects/BK7231GUIFlashTool

    To find the correct port: On Ubuntu I didn't need to install and drivers.
    I plugged in the CH340G, unplugged it, plugged it in again, then used sudo dmseg which showed
    Dmseg says "CH341-UART converter now attached to ttyUSB0"

    Then sudo mono BK7231GUIFlashTool-build-263/BK7231Flasher.exe

    a) Selected UART port /dev/ttyUSB0; Chip type: BK7231N; baud 921600 (you may need slower if your wiring is longer than mine)
    b) Selected Firmware: "Download latest from Web"
    c) Performed Firmware backup (read) read only. I used the "short CEN to ground" method which was reliable for me.
    For some reason, the CRC check at the end of the read failed. After a lot of troubleshooting I decided just to ignore it- so I selected the "Ignore CRC error" checkbox and performed the backup again.
    d) The TUYA configuration screen came up, showing which pins are connected to each function. Made a note of them.
    e) Performed Backup and Flash New. It should say "success"

    Part 3) Reassembly and reconfigure
    a) Unsoldered the wire from the CB2S board. I used the craft knife to carefully scrape off any high points of solder before reinserting the CB2S back into the main board.
    b) Soldered the CB2S back into place.
    c) Glued the case back together.

    White Arlec smart plug with three flat pins next to a tube of Selleys All Plastics adhesive

    d) Plug the pack into the mains.
    e) The Arlec was then in Access Point (AP) mode: Used my phone WiFi to connect to it (OpenBeken), then in my browser opened 192.168.4.1
    f) On the "Configure Module" screen I entered the values from the TUYA config report that I noted down previously: (one difference: I used WifiLED_n instead of WifiLED, because I find the default behaviour is for the red LED to remain on when the WiFi connection is established, which I find annoying)


    Screenshot of “Arlec Grid Connect 3” pin setup page with P0–P15 rows and dropdown fields


    Screenshot of pin configuration (P15–P28) with dropdowns; P24 set to BL0937SEL, P26 set to LED.

    g) Navigated to the IP screen and entered the IP settings. I initially tried to use DHCP but it didn't work properly for me, kept getting dropouts, so I went for static IP and gateway which worked reliably.
    Screenshot of “Arlec Grid Connect 3” IP settings page with IP, mask, DNS, and gateway fields

    g) Navigated to the WIFI screen, entered the WiFi SSID and password. Also enabled Admin Password

    Screenshot of a module web UI showing Wi‑Fi setup fields and web authentication options


    h) Clicked Submit; powered the module off and then on again.
    i) The WiFi LED blinked red for a while connecting to the WiFi, after about 10 seconds stopped blinking.
    (At first it didn't work because I mis-typed the WiFi password, so to put it back into AP mode by turning the power off and on again, with about 2 second pause between each time, for a total of 5 times. Then reconnected my phone to the OpenBeken AP)
    j) Screen now shows correct values, clicking Toggle 0 turns the switch on & off again

    OpenBeken dashboard screenshot with “Toggle 0” button and voltage, current, and power readings.

    k)Launch Web Application; Tools screen;
    Calibration Utility:

    Screenshot of a calibration utility with Voltage, Current, and Power fields and Apply buttons

    l) Attached a fan heater; measured the voltage and simultaneously entered it into "Voltage" and clicked Apply!

    Fan heater connected via terminal block to a power strip with an Arlec smart plug

    Fluke multimeter reads 246.8 V AC while probes measure a terminal block with wires on a workbench.

    m) Repeated for the current.

    Fluke multimeter reads 7.19 A AC while probes touch a wire terminal block on a workbench.

    Part 4 - Connect to Home Assistant
    a) Added a user called MQTT, with password

    Home Assistant screenshot: Users list with redacted display names and usernames


    b) Added MQTT integration https://www.home-assistant.io/integrations/mqtt:

    “ADD INTEGRATION TO” button and “My” icon on a white background

    c) Configured (gave Broker the same IP as home assistant)

    MQTT setup dialog with fields for Broker, Port, Username, and Password, plus a Submit button.

    If you need to find this screen again later, it's here:

    Home Assistant MQTT screenshot with menu open; “Reconfigure” option circled in red

    e) On the OpenBeken config interface- "Configure MQTT", enter values from HomeAssistant

    “Arlec Grid Connect 3” MQTT configuration page with fields for host, port, topics, user, and password.

    After Submit: "Home Assistant Configuration" button, then "Start Home Assistant Discovery"

    OpenBeken screenshot “Arlec Grid Connect 3” showing Discovery topic field and Home Assistant/MQTT buttons


    The device was then automatically added to the MQTT

    Home Assistant screenshot: MQTT integration listing Arlec devices, with “Add service” and “Add MQTT device” buttons


    Home Assistant screenshot showing an MQTT device with a toggle, energy sensors, and an activity log

    If the sensors didn't appear (only the power switch), unplug the Arlec, plug it back in, and perform Start Home Assistant Discovery again.

    g) In order to make it more usable, I also installed the SimpleTimer Addin:
    h) Install HACS https://hacs.xyz/docs/use/download/download/
    i) Installed

    “Simple Timer” header and subtitle for a custom Simple Timer integration for Home Assistant.

    k) Add Integration

    Home Assistant screen showing “Simple Timer”, “1 device”, and an “Add integration” button

    m) Add Entry, select new device; default timer duration is in minutes
    n) Add Dashboard: Pressed CTRL-F5 to reset the browser (otherwise - the card doesn't appear)
    o) Add card:

    Home Assistant “Add to dashboard” dialog showing search “timer” and the “Simple Timer Card” result

    Screenshot of Home Assistant Simple Timer card configuration with timer preview, slider, and minute presets.

    A particularly useful feature is that when you push the physical button on the arlec, it will start the shutoff countdown timer automatically.

    Home Assistant card with “Bike Battery Charger” timer at 119:57 and minute-add buttons
    AI: Thanks for sharing your detailed process! Just to clarify, are you looking for help with a specific step or issue, or is this a guide for others?
    This is a guide for others

    Cool? Ranking DIY
    About Author
    DerGraueGeist
    Level 2  
    Offline 
    DerGraueGeist wrote 4 posts with rating 2. Been with us since 2026 year.
  • ADVERTISEMENT
📢 Listen (AI):
ADVERTISEMENT