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.

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