logo elektroda
logo elektroda
X
logo elektroda

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

pastel_uplands0z 1776 15
ADVERTISEMENT
  • Helpful post
    #1 20714222
    pastel_uplands0z
    Level 6  
    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
    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.
  • ADVERTISEMENT
  • #3 20714560
    pastel_uplands0z
    Level 6  

    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
    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  
    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
    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  

    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
    @pastel_uplands0z , you have enabled child lock flag... it blocks all the buttons.

    Please disable child lock flag.
    Helpful post? Buy me a coffee.
  • #9 20715729
    pastel_uplands0z
    Level 6  

    Thank you! That was the issue. Now all the buttons are working!
  • #10 20715756
    p.kaczmarek2
    Moderator Smart Home
    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  

    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
    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  
    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
    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  

    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
    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.
Summary generated by the language model.
ADVERTISEMENT