logo elektroda
logo elektroda
X
logo elektroda

Flashing yet another Mini Smart Switch with a T34, aka BK7231N chip

woessner 1845 4
ADVERTISEMENT
  • #1 21253441
    woessner
    Level 2  
    This is for another Mini Smart Switch,
    this time with a T34 AKA BK7231N

    I did not read this forum thus I did not know about Tuya-Cloudcutter and thus flashed it the difficult way.
    Please try Tuya-Cloudcutter first!!


    Open Mini Smart Switch showing internal electronics and cover with external markings. The image shows the interior of a Mini Smart Switch with a visible relay and electronic components on a circuit board. PCB with electronic components and connected USB chip on a wooden surface.

    The LED is on 6
    The Switch input is on 14
    The Relay is on 15
    The Button on 24

    Code: JSON
    Log in, to see the code
  • ADVERTISEMENT
  • #2 21262684
    p.kaczmarek2
    Moderator Smart Home
    Thanks for sharing! Your template is now live on our devices list:
    Web interface showing a list of devices with a mini Smart Switch.
    See: https://openbekeniot.github.io/webapp/devicesList.html

    Good job with flashing it. Nice way of repurposing unused button pads. I hope it won't be too hard for other our readers as well. I'm worried to see more and more T34 devices around, Hopefully they won't totally replace easily-flashable CB2S/CB3S/etc modules.

    Added after 25 [seconds]:

    PS: Consider enabling powersave on this board or you may need to do this fix later:
    https://www.elektroda.com/rtvforum/topic3898805.html
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21513370
    djramu
    Level 17  
    Hello.
    I have a problem. ;)
    I tried Tuya CloudCutter but couldn't manage. I think I prefer flashing via uart. With the GUI Flash Tool, can I change the firmware of this device? I tried to find the RX and TX pins but no success. Are You able to tell how You managed to flash this chip via uart?
  • ADVERTISEMENT
  • #4 21513754
    p.kaczmarek2
    Moderator Smart Home
    Do you have the exactly the same version as in the first post?

    It is possible to flash it with GUI Flash Tool, but you need to access UART pins.
    Helpful post? Buy me a coffee.
  • #5 21514467
    djramu
    Level 17  
    It goes like this. I would like to use uart but after soldering in the theoretical uart pins i don't have communication.

    Printed circuit board with electronic components, including an XGN relay.
    I tried with the pins marked in red.
ADVERTISEMENT