logo elektroda
logo elektroda
X
logo elektroda

Tuya Tyutool GUI Flashing Tool for BK7231N/LN882H/ESP32/RTL8720CF/CM on Windows/Linux/macOS

divadiow 696 3
ADVERTISEMENT
  • #1 21499770
    divadiow
    Level 34  
    I was searching through Gittee for random interesting stuff and came across this. I see it's had a related mention here by @niterian https://www.elektroda.com/rtvforum/find.php?q=tyutool

    Code: Text
    Log in, to see the code


    https://gitee.com/tuya-open/tuyaopen#gui-tool-flashing

    Also available on GitHub
    https://github.com/tuya/TuyaOpen

    I am travelling at the moment so haven't really had a chance to test it properly, but it did read and write fine to BK7231N. OBK AP broadcast after write.

    User interface of Tuya UART Tool showing settings and chip information.

    supports quite a few chips
    Dropdown menu with chip module selection.

    LN882H doesn't seem to like reading though

    Code: Text
    Log in, to see the code


    Code: Text
    Log in, to see the code


    Screenshot of Tuya Uart Tool software interface with selected options for reading data from the LN882H chip.

    flash on OpenLN882H was a success but no AP, so not sure what's happening with that.

    Anyway, more to be explored. Just thought it was worth a spotlight in a new thread. Current versions attached.
  • ADVERTISEMENT
  • #2 21500238
    p.kaczmarek2
    Moderator Smart Home
    Very interesting, is it developed officially by Tuya?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21500277
    divadiow
    Level 34  
    well, TuyaOpen seems to be a Tuya thing and the downloads are hosted by Tuya, so yes. Annoying about the flash read. Tried ESP32 earlier and it said the same.

    Added after 11 [minutes]:

    it'd be nice to have a single tool for all OBK chips, or at least more of them.
  • Helpful post
    #4 21502344
    divadiow
    Level 34  
    tyutool_cli extracted using pyinstxtractor.py
    Code: Python
    Log in, to see the code


    result attached as tyutool_cli_extracted.zip

    then the pzy archive content decompyled to .py keeping folder structure in tact with:

    Code: Python
    Log in, to see the code


    attached as tyutool_pzy_decompyle.zip all those that decompyled successfully
ADVERTISEMENT