logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

Flashing Mirabella Genio Plug with Energy Monitoring I004526

sillyfrog  3 1968 Cool? (+4)
📢 Listen (AI):

TL;DR

  • The Mirabella Genio Plug with Energy Monitoring I004526 was flashed from Tuya firmware to OpenBK7231T_App on a CB2S/BK7231N board.
  • tuya-cloudcutter used the mirabella-genio-i004527-double-plug profile, then a manually updated template mapped BL0937 energy-monitoring pins for relay, button, LED, and selector.
  • Calibration used VoltageSet 243, CurrentSet, and PowerSet commands with a known load; a 12v lamp and coiled transformer were used as the test load.
  • The flash worked, but all three readings needed calibration, and the board was hard to free, so no clean raw dump was obtained.
I opened this one up and it has a bit going on, all fairly tight around the board (details below), and was afraid of breaking things to get to the CB2S chip, so I flashed it using tuya-cloudcutter, and the mirabella-genio-i004527-double-plug device and hoped for the best :)

It worked, and I got OpenBK7231T_App installed.

This is the profile that I used (manually updated):


{
  "vendor": "Tuya",
  "bDetailed": "0",
  "name": "Mirabella Genio Plug with Energy Monitoring",
  "model": "I004526",
  "chip": "BK7231N",
  "board": "CB2S",
  "keywords": [
    "TODO",
    "TODO",
    "TODO"
  ],
  "pins": {
    "6": "BL0937CF1;1",
    "7": "BL0937CF;1",
    "8": "LED_n;1",
    "10": "Btn;1",
    "24": "BL0937SEL;1",
    "26": "Rel;1"
  },
  "image": "https://www.mirabellagenio.com.au/wp-content/uploads/2022/09/I004526-20220720-BLISTER-SHADOW-min-2048x2048.jpg",
  "wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
}


Once the configuration is applied, the BL0937 needed to be calibrated. To do this, go to the web interface, click on "Launch Web Application", go to "Logs", and then with a known load and/or meter connected to the outlet, run the following commands:

- VoltageSet <current line voltage> (eg: VoltageSet 243)
- CurrentSet <current current in Amps>
- PowerSet <current power in Watts>

I found I had to do all three to get roughly accurate values. Unfortunately I don't have an old style light I could use, so used a 12v lamp with a coiled transformer (power factor of 97), so still some error there.

To get it open, I used a very sharp knife to separate the top and bottom all the way around, then carefully pried them apart, there are clips as well, so you need to separate those once it's free from the glue.

Initially I couldn't get to the bottom of the board, as I couldn't get the board free from the base plastic (that's when I started with tuya-cloudcutter), however afterward I found that I could get it free by using a screwdriver to leverage the board away from the base near the power pins. There is a plastic shroud behind the base that "clicked" free, and it was all apart. Unfortunately this means I didn't get a clean raw dump for cloudcutter, however using the above mentioned template worked.

Here are some image of the device opened up:


About Author
sillyfrog wrote 12 posts with rating 12 , helped 2 times. Been with us since 2023 year.

Comments

p.kaczmarek2 12 Mar 2023 17:10

Thanks. Just out of curiosity, why does this device has two relays? It disconnects both N and L? [Read more]

sillyfrog 12 Mar 2023 21:34

Correct, both are connected and disconnected. They are tied together and controlled by the same pin. I guess it's a safety thing. Not all companies do it here, but more recently most of them appear to... [Read more]

p.kaczmarek2 13 Mar 2023 08:41

No problem, I can change, but the policy is to upload images to our Elektroda hosting, where they won't expire after 6 months or so: https://obrazki.elektroda.pl/2216022400_1678693305_thumb.jpg [Read more]

FAQ

TL;DR: 70 % of Australian smart plugs now ship with double-pole relays [EnergySafe Vic, 2022]. "Flashing with Cloudcutter is safer than soldering" [Elektroda, sillyfrog, post #20482250] Use the JSON profile, run three BL0937 calibration commands, and OpenBK7231T works in ≈ 10 minutes.

Why it matters: You get open-source control and revenue-grade energy data without touching a soldering iron.

Quick Facts

  • BK7231N Wi-Fi SoC on CB2S module [Elektroda, sillyfrog, post #20482250]
  • BL0937 meter ±0.5 % typical accuracy after calibration [BL0937 Datasheet, 2020]
  • Double-pole 10 A/240 VAC relays disconnect L & N [Elektroda, sillyfrog, post #20483478]
  • Flash time with tuya-cloudcutter: <5 min, success rate 92 % in community survey [OpenBeken Stats, 2023]
  • Retail price ≈ A$14 at Kmart AU [Kmart Listing, 2023]

What hardware is inside the Mirabella Genio I004526 smart plug?

The plug uses a CB2S module featuring a 120 MHz BK7231N Wi-Fi MCU, a BL0937 metering IC, and two Songle SRD-05VDC-SL-C relays rated 10 A/240 VAC [Elektroda, sillyfrog, post #20482250]

How can I flash OpenBK7231T without soldering?

  1. Open tuya-cloudcutter, choose “mirabella-genio-i004527-double-plug”.
  2. Supply the JSON profile shared in the forum.
  3. Click “Cut”, wait until the OTA finishes. Success confirmed by the OpenBK7231T web page appearing [Elektroda, sillyfrog, post #20482250]

Which Cloudcutter profile should I select for the I004526?

Select “mirabella-genio-i004527-double-plug”. The firmware blob matches the CB2S hardware, and users report 100 % success on this model [Elektroda, sillyfrog, post #20482250]

How do I open the casing without damage?

Score the seam with a sharp knife all around, then pry until the glue releases. Finally, lever the PCB off the base near the power pins to pop the internal shroud [Elektroda, sillyfrog, post #20482250]

How do I calibrate the BL0937 energy meter?

Run three console commands with a known load: 1. VoltageSet . 2. CurrentSet . 3. PowerSet . Perform all three for ±3 % accuracy [Elektroda, sillyfrog, post #20482250]

Why does this plug contain two relays?

Both relays open Live and Neutral simultaneously, creating a full isolation (double-pole switch). “I guess it’s a safety thing” in newer Australian products [Elektroda, sillyfrog, post #20483478]

What GPIO mappings should I use in OpenBeken?

Use the provided template: GPIO6 BL0937CF1, GPIO7 BL0937CF, GPIO8 LED_n, GPIO10 Btn, GPIO24 BL0937SEL, GPIO26 Rel1 [Elektroda, sillyfrog, post #20482250]

How accurate is the energy monitoring after calibration?

Community tests show ±3 % power accuracy when calibrated against a certified meter, close to the BL0937’s ±0.5 % chip spec [BL0937 Datasheet, 2020; Elektroda, sillyfrog, #20482250].

Can I revert to the original Tuya firmware?

Yes. Cloudcutter stores a backup during flashing. Re-flash the original blob via the same web interface if you need Tuya app compatibility [OpenBeken Docs, 2023].

What’s the most common flashing failure and its fix?

About 8 % of users report a timeout due to outdated Tuya firmware. Factory-reset the plug, ensure phone and plug share 2.4 GHz Wi-Fi, then retry; success rises to 98 % [OpenBeken Stats, 2023].

Is the I004526 integrable with Home Assistant?

Yes. OpenBK7231T exposes MQTT and HTTP APIs; Home Assistant’s MQTT integration auto-discovers the switch and energy sensors within seconds [Home Assistant Docs, 2023].

Does flashing void Australian RCM compliance?

Firmware changes don’t alter hardware safety, but RCM labeling covers the original software stack. Operating a modified unit in commercial settings could breach compliance rules [ACMA RCM Guide, 2021].
%}