logo elektroda
logo elektroda
X
logo elektroda

More TUYA generic smart switches - this time from Amazon Haul vendor. WHD02 V2A and WHD02(N) boards

gparduino 81 1
ADVERTISEMENT
  • #1 21827544
    gparduino
    Level 2  
    Amazon "Haul" had these generic TUYA type switches for under $5 each so I bought six.

    All look identical from the outside but 4 had one circuit board inside, 2 had another. All were based on the LN882H chip. Two had a WHD02 V2A 2023-11-02 labeled circuit board with the LN882H on a daughterboard which must be unsoldered to get at the A9 pad to place it into flash mode. The four boards without the CPU daughterboard have all required pads exposed on the undersurface. That board is labeled WHD02(N) V08 20240809. The two older boards had GPIO pins 4,6,10 going to Relay, LED, Btn. The TglChanOnTgl is pin 5. The 4 newer boards had GPIO pins 19,21,20 going to Relay, Button, LED. The TglChanOnTgl is pin 7.

    Open cardboard box labeled “DIY Smart Switch” on wooden surface


    Packaging with Nintendo Switch accessory label and safety information
    Housing and cover of MINI Smart Switch Wi-Fi device on wooden surface
    Close-up of a PCB with capacitors, a resistor, and LIGHTNING LNB824HKI chip
    Close-up of a circuit board with relay, capacitors, resistor, and screw terminals
    Electronic module with screw terminal block and capacitors
    Close-up of an electronic module with capacitors, coil, and screw terminal block
    PCB with electronic components and labels such as WHD02 V2A and date 2023/11/02
    Close-up of PCB with capacitors and screw terminal connector
    Electronic module with visible IC chip and PCB antenna
    Close-up of an unpopulated green PCB with labeled pins and solder pads
    Close-up of a green PCB with labeled pins and attached wires.
    Close-up of a WHD02 V2A PCB with electronic components and labeled terminals.
    Damaged electrolytic capacitor on green PCB with visible bulging top
    PCB labeled WHD02(N) V08 with components including transformer, capacitors, and terminal block
    Printed circuit board with SMD components and screw terminal connectors
    Close-up of a green PCB with an integrated circuit and soldered connectors
    Close-up of a circuit board with electronic components and soldered wires
    Close-up of a circuit board with soldered wires and electronic components
    AI: What are you hoping to do with these TUYA switches—are you planning to flash custom firmware, integrate them with a specific platform, or something else?
    OpenBekin succesfully flashed. The one with the daughter board it is easiest to desolder the daughterboard.
    AI: Is there a particular issue or challenge you're running into with either board type that you need help with?
    No, I am just submitting to add to the OpenBekin database on these generic switches.
  • ADVERTISEMENT
  • #2 21828151
    divadiow
    Level 37  
    Are you able to export the template json from the web app and post them here so I can check them over and maybe add to device list please?

    Also, if you have factory firmware backups, and you did not pair with Tuya first, would you mind sharing those files for the collection? https://github.com/openshwprojects/FlashDumps
ADVERTISEMENT