logo elektroda
logo elektroda
X
logo elektroda

[Solved] OTA update of DETA Dual gang with USB always boots to Firmware 1.0.0

dogs4tose 849 9
ADVERTISEMENT
  • #1 20853009
    dogs4tose
    Level 3  

    Hi,
    I have a Deta Grid Connect smart double touch power point with dual USB. I was able to flash it with the BK7231T firmware version 1.17.29 some time ago.

    I recently attempted to OTA flash the device with most recent firmware (1.17.355), which appears to work, however when the device reboots it shows firmware version as 1.0.0 and the physical touch buttons no longer switch the relays (turn each power point on/off).

    I've tried to OTA flash other less recent firmware versions, but the result is always the same as above. Displayed firmware version in the webapp is 1.0.0 & the touch buttons don't work.

    I've read that booting to 1.0.0 is some kind of "safe boot" behavior but I'm really not experienced enough with OpenBeken to know how to resolve the issue. Any & all suggestions for a fix would be gratefully received.
  • ADVERTISEMENT
  • #2 20853077
    p.kaczmarek2
    Moderator Smart Home
    It should be a cosmetic-only issue. 1.0.0 is not a safe boot mode, where did you find that information? It's just a cosmetic only issue, because that build was added manually due to our online build system for T problems.
    Why do you think it broke touch buttons?
    What is your device configuration?
    Was it configured via autoexec.bat?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20854352
    dogs4tose
    Level 3  

    Thanks for your response & apologies for the delay in replying.

    I can't put my finger on the source of what I read about "safe boot" behavior but thanks for dispelling that.

    The device does function normally (can be controlled from the web console and/or web app) but the touch buttons do nothing. I'm reasonably sure that was not the case previously. Perhaps it's a hardware fault that I didn't recognize earlier.

    The config is pulled directly through the web app & is as follows:-

    Code: Javascript
    Log in, to see the code


    Nothing is configured via autoexec.bat
  • ADVERTISEMENT
  • #4 20854353
    p.kaczmarek2
    Moderator Smart Home
    Ok, let's investigate. Can you do GPIO extraction according to our tutorial video?
    https://www.youtube.com/watch?v=WunlqIMAdgw&ab_channel=Elektrodacom
    Helpful post? Buy me a coffee.
  • #5 20854377
    dogs4tose
    Level 3  

    I get "Failed to extract keys" when I try to open the bin file in the "Extract config from Tuya Binary" tab in the Flasher tool.
  • ADVERTISEMENT
  • #6 20854413
    p.kaczmarek2
    Moderator Smart Home
    What do you have in the Web App log when you press a button?
    Maybe you have somehow activated the child lock flag in flags?
    Helpful post? Buy me a coffee.
  • #7 20854485
    dogs4tose
    Level 3  
    You are spot on. When I press a button, I get this in the logs:

    Info: GEN: Child lock!

    I don't even know where to find "flags". So not sure how I could have activated one?


    Added after 27 [minutes]:

    Ok, Located the "Flag 41 - [BTN] Ignore all button events (aka child lock)" flag in "Configure General/Flags".

    Now the buttons work fine. Are you sure this isn't an unintended result of a firmware update? I mean, all's well that ends well but I don't understand how I could have set that manually when I didn't know how to?

    Don't get me wrong, I'm very appreciative of your work & also your help. Just trying to be as transparent as possible in case it helps you guys understand outcomes or saves someone else the same confusion. :-)
  • #8 20854514
    p.kaczmarek2
    Moderator Smart Home
    Well, it's certainly not intended, if it happened, it must have been a bug. Still, it's a bit strange, because flags field should start with 0 value, so I don't know how it could have set itself. I must investigate it, thanks for reporting.
    By the way, is your device and template already available on our teardowns list?
    https://openbekeniot.github.io/webapp/devicesList.html
    Helpful post? Buy me a coffee.
  • #9 20854550
    dogs4tose
    Level 3  

    Yes, the device is listed. Details are as follows:

    Deta Grid Connect Smart Double Touch Power Point With Dual USB (6920HA)
  • #10 20854555
    dogs4tose
    Level 3  

    Solved with the patient & kind help of p.kaczmarek2

    Thanks again

Topic summary

The discussion revolves around a Deta Grid Connect smart double touch power point with dual USB that, after an OTA firmware update to version 1.17.355, reboots to an incorrect firmware version 1.0.0, causing the physical touch buttons to become non-functional. Initial concerns about "safe boot" behavior were clarified as a cosmetic issue. The device remained operable via the web console, but the touch buttons did not respond. The user later discovered that a "child lock" flag had been inadvertently activated, which prevented button functionality. After locating and disabling this flag, the buttons resumed normal operation. The issue was acknowledged as potentially stemming from a firmware bug, and the device is listed in the OpenBeken teardowns.
Summary generated by the language model.
ADVERTISEMENT