logo elektroda
logo elektroda
X
logo elektroda

Deta 6294HA Outdoor Double Outlets: Successfully Flashed with OpenBeken Tuya-CloudCutter

pastel_uplands0z 2718 15
ADVERTISEMENT
  • Helpful post
    #1 20714222
    pastel_uplands0z
    Level 6  
    Posts: 12
    Help: 2
    Rate: 2
    Hi all,

    I've recently purchased Deta 6294HA outdoor double outlets from Bunnings in Australia. I was able to flash OpenBeken with Tuya-CloudCutter. I've applied this following config:

    
    {
      "vendor": "DETA",
      "bDetailed": "0",
      "name": "Deta Grid Connect Smart Double Touch Power Point With Dual USB",
      "model": "6920HA",
      "chip": "BK7231T",
      "board": "WB2S",
      "flags": "1088",
      "keywords": [
        "Bunnings",
        "2gang",
        "USB",
        "Australia",
        "Energy metering",
        "CSE7766"
      ],
      "pins": {
        "6": "Rel;1",
        "7": "Btn;1",
        "8": "WifiLED_n;2",
        "24": "Btn;2",
        "26": "Rel;2"
      },
      "command": "backlog startDriver CSE7766; SetupEnergyStats 1 30 120 0",
      "image": "https://obrazki.elektroda.pl/4099372500_1680966189.png",
      "wiki": "https://www.elektroda.com/rtvforum/viewtopic.php?p=20092981#20092981",
      "product": "https://www.bunnings.com.au/deta-grid-connect-smart-double-touch-power-point-with-dual-usb_p0172780"
    }


    The relays and LED seem to be working but the physical buttons do not. Does any have the correct config for the buttons? I've tried the extract the configuration but it wasn't able to decode the config.

    Thanks.
  • ADVERTISEMENT
  • #2 20714333
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14416
    Help: 650
    Rate: 12371
    What does the Tuya Config contain?




    Maybe you can just guess button GPIOs with Pin Doctor?
    https://www.elektroda.com/rtvforum/topic3976371.html
    Helpful post? Buy me a coffee.
  • #3 20714560
    pastel_uplands0z
    Level 6  
    Posts: 12
    Help: 2
    Rate: 2

    Thank you for your reply. The flasher software says there are no meaningful pin mapping. I've tried Pin Doctor tool and P7 and P26 go low when the buttons are pressed. So it seems like they're mapped to the button. However, the buttons can't seem to toggle the outlets!
  • #4 20714568
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14416
    Help: 650
    Rate: 12371
    In order to pair buttons with outlets, please go to "Config" page and use channel values to pair them with relays.
    Screenshot of a web interface showing the status of a WinTest device with the Toggle 1 button activated.


    So, for first relay, set, let's say, channel 1, and for first button, also channel 1, and then, for second relay, set channel 2, and for button 2, set channel 2.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #5 20714652
    pastel_uplands0z
    Level 6  
    Posts: 12
    Help: 2
    Rate: 2
    Yes I've paired relays and buttons. Still doesn't work. Really weird!
    User interface with a dropdown list and values for various ports and functions.
  • ADVERTISEMENT
  • #6 20714665
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14416
    Help: 650
    Rate: 12371
    Okay, so go to Web App and open the tab with log.

    Then, press one of the buttons you've configured.

    Do you get a button press event message like that:
    Screenshot of OpenBeken simulator and event log.
    Namely:
    
    Info:GEN:11 Button_OnInitialPressDown
    Info:GEN:11 key_short_press
    Info:MQTT:Channel has changed! Publishing 1 to channel 1 
    
    Helpful post? Buy me a coffee.
  • #7 20715537
    pastel_uplands0z
    Level 6  
    Posts: 12
    Help: 2
    Rate: 2

    Yes, the button trigger showed up in the log file. Deta 6294HA Outdoor Double Outlets: Successfully Flashed with OpenBeken Tuya-CloudCutter
  • #8 20715715
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14416
    Help: 650
    Rate: 12371
    @pastel_uplands0z , you have enabled child lock flag... it blocks all the buttons.

    Please disable child lock flag.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #9 20715729
    pastel_uplands0z
    Level 6  
    Posts: 12
    Help: 2
    Rate: 2

    Thank you! That was the issue. Now all the buttons are working!
  • #10 20715756
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14416
    Help: 650
    Rate: 12371
    No problem, I am here to help.

    By the way, did you toggle that childlock yourself or is there some kind of issue that enables it by default?

    Let me know if there is anything else that I can assist you with.
    Helpful post? Buy me a coffee.
  • #11 20715834
    pastel_uplands0z
    Level 6  
    Posts: 12
    Help: 2
    Rate: 2

    I'm not quite sure but I definitely didn't enable it intentionally.

    Added after 53 [seconds]:

    By the way, I have another unit which I'll convert to OpenBeken soon. I will let you know if the child lock is enabled by default.
  • #12 20715858
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14416
    Help: 650
    Rate: 12371
    Ok, now that everything is working, can you post a tested JSON template for your 6294HA and maybe also some real device photos, or screenshots from the seller page, so I can add it to the devices list?
    Helpful post? Buy me a coffee.
  • Helpful post
    #13 20716120
    pastel_uplands0z
    Level 6  
    Posts: 12
    Help: 2
    Rate: 2
    Here is the JSON template for this device:

    
    {
      "vendor": "Tuya",
      "bDetailed": "0",
      "name": "DETA Grid Connect Smart Outdoor Double Powerpoint",
      "model": "6294HA",
      "chip": "BK7231T",
      "board": "TODO",
      "flags": "1088",
      "keywords": [
        "DETA",
        "Outdoor Sockets"
      ],
      "pins": {
        "6": "Rel;1",
        "7": "Btn;1",
        "8": "WifiLED_n;2",
        "24": "Btn;2",
        "26": "Rel;2"
      },
      "command": "backlog startDriver CSE7766; SetupEnergyStats 1 30 120 0",
      "image": "https://obrazki.elektroda.pl/7831152900_1693482683.jpg",
      "wiki": "https://www.elektroda.com/rtvforum/viewtopic.php?p=20716120#20716120"
    }
    



    Couple of photos:
    DETA Grid Connect Smart outdoor double socket in a white casing. View of an open DETA Grid Connect Smart Outdoor Double Powerpoint showing internal components.
  • #14 20716528
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14416
    Help: 650
    Rate: 12371
    So it's a CSE7766 + BK7231T.... ok, I am adding it to our devices list right now:
    https://github.com/OpenBekenIOT/webapp/commit/a0ce04864f9e93f35a38f2853ecadf1fa22f6b46
    You can see full list here:
    https://openbekeniot.github.io/webapp/devicesList.html

    Can you confirm whether this device is using WB2S module or another one?
    Helpful post? Buy me a coffee.
  • #15 20716923
    pastel_uplands0z
    Level 6  
    Posts: 12
    Help: 2
    Rate: 2

    From what I gathered so far, it's WB2S device.

    By the way, there was a missing double quote in the JSON template. I've updated it. Can you please change it on Github?

    Thanks.
  • #16 20717061
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14416
    Help: 650
    Rate: 12371
    Yes, I've noticed that issue. It is already fixed on github, otherwise the list wouldn't load at all. JSON is not syntax-error fault tolerant.

    389 entries now, we'll soon reach 400.
    Helpful post? Buy me a coffee.

Topic summary

✨ The discussion revolves around the successful flashing of the Deta 6294HA outdoor double outlets using OpenBeken and Tuya-CloudCutter. The user initially faced issues with button functionality not toggling the outlets despite proper configuration. After troubleshooting, it was discovered that the child lock flag was enabled, which blocked button operations. Once disabled, all buttons functioned correctly. The user also shared a JSON template for the device and confirmed it uses the BK7231T chip and WB2S board. The community contributed by providing guidance on pairing buttons with relays and checking log events for troubleshooting.
Generated by the language model.

FAQ

TL;DR: Flashed Deta 6294HA with OpenBeken? If buttons won't toggle, disable Child Lock and pair channels. "389 entries now, we'll soon reach 400." confirms it’s on the official list, with 389 entries. [Elektroda, p.kaczmarek2, post #20717061]

Why it matters: It saves hours of trial-and-error on Tuya-based Deta outlets after cloud-free conversion.

Quick Facts

How do I fix Deta 6294HA buttons not toggling after OpenBeken flash?

Disable the Child Lock flag in OpenBeken (Flags page). It blocks all physical button input. The maintainer confirms, “it blocks all the buttons.” After disabling, pair each button and relay to the same channel under Config. [Elektroda, p.kaczmarek2, post #20715715]

How do I pair each button with its outlet in OpenBeken?

Use channel pairing on the Config page. 1. Set Relay1 to Channel 1. 2. Set Button1 to Channel 1. 3. Repeat for Relay2/Button2 on Channel 2. Matching channel numbers link each button to its relay. [Elektroda, p.kaczmarek2, post #20714568]

How can I check if OpenBeken sees my button presses?

Open the Web App and view the Log tab. Press a button and watch for events like “key_short_press” and “MQTT: Channel has changed! Publishing 1.” This confirms the firmware detects the press and publishes the state. [Elektroda, p.kaczmarek2, post #20714665]

The flasher couldn’t decode Tuya config or pin map—what now?

Probe the board with the OpenBeken Pin Doctor. It helps you identify which GPIOs change on button press. Assign those pins as Btn1/Btn2 in Config, then pair channels with the relays. [Elektroda, p.kaczmarek2, post #20714333]

What is the working pin mapping for Deta 6294HA?

Use this tested map: P6=Rel1, P7=Btn1, P24=Btn2, P26=Rel2, and P8=WifiLED_n. Start the CSE7766 driver if you want energy metrics. Pair channels to link buttons and relays. [Elektroda, pastel_uplands0z, post #20716120]

Which chips and metering IC does the 6294HA use?

It uses a BK7231T SoC with a CSE7766 metering IC. As the maintainer notes, “So it’s a CSE7766 + BK7231T….” This combination is supported by OpenBeken templates. [Elektroda, p.kaczmarek2, post #20716528]

Which Wi‑Fi module is inside the 6294HA—WB2S?

Yes, a user reported WB2S for this hardware variant. This aligns with BK7231T-based Tuya modules often found in Deta devices. Confirm visually before soldering or probing. [Elektroda, pastel_uplands0z, post #20716923]

How do I enable power metering in OpenBeken on this outlet?

Run the command backlog: startDriver CSE7766; SetupEnergyStats 1 30 120 0. This starts the CSE7766 driver and configures energy statistics windows. Verify readings under the Energy section after pairing channels. [Elektroda, pastel_uplands0z, post #20716120]

Is the 6294HA officially listed in OpenBeken’s devices list?

Yes. The maintainer added it and reported “389 entries now,” indicating ongoing catalog growth. You can browse the devices list from the linked repository thread. [Elektroda, p.kaczmarek2, post #20717061]

Could Child Lock enable itself during flashing?

One user observed Child Lock enabled without intending to change it and plans to test another unit. If buttons stop working after a flash, check this flag first. [Elektroda, pastel_uplands0z, post #20715834]

Why do GPIOs change on press but relays still don’t toggle?

This happens when channels are not paired. Assign the same channel number to each button and its relay in Config. Then test again in the Log. [Elektroda, p.kaczmarek2, post #20714568]

Where can I share a tested template and photos to help others?

Post your validated JSON template and device photos in the thread. The maintainer uses these to update the public devices list for everyone’s benefit. [Elektroda, p.kaczmarek2, post #20715858]

Does OpenBeken publish MQTT updates on button press?

Yes. The Log shows messages like “MQTT: Channel has changed! Publishing 1 to channel 1” on state change. This confirms MQTT state publishing is active. [Elektroda, p.kaczmarek2, post #20714665]

What if there’s a JSON syntax error in my template?

The devices list won’t load with invalid JSON. Fix missing quotes or commas, then reload. The maintainer confirmed such fixes on GitHub. [Elektroda, p.kaczmarek2, post #20717061]
Generated by the language model.
ADVERTISEMENT