logo elektroda
logo elektroda
X
logo elektroda

TOPGREENER Smart Mini Wi-Fi Plug with Energy Monitoring, TGWF115PQM (C2BS BK7231N)

RealTimeKodi 
Hi! I came here to post my teardown of the Topgreener TGWF115PQM. They were on sale recently for $14.99 for a four pack but now they're back up to $29.99.

The plug itself was pretty easy to get open, I just had to break the glue holding the tabs at these 4 spots and then pry it open from one end.

The PCB itself just pulls out, you don't have to desolder the plug pins or anything:

Here is a closeup of the wifi module. Clearly a C2BS BK7231N

I tried flashing it over serial, but the button is connected to the UART's RX pin and I kept getting "Cannot get bus."
I was able to get tuya-cloudcutter to flash them all sucessfully so that's the method I went with.

The pinout is as follows:
P6 - BL0937CF1
P7 - BL0937CF
P8 - LED (inverted) (1)
P10 - Button (1)
P24 - BL0937SEL
P26 - Relay (1)

That is hopefully all of the information that's needed, but feel free to ask if you have any questions. I had no trouble setting up OpenBK7231T_app via tuya-cloudcutter. The firmware version was 1.1.8 and they were listed correctly in the database. The above configuration has been tested in OpenBK7231T_app and seems to be working correctly after being calibrated with a 100w light bulb and a kill-a-watt.

Good work to everyone involved, this was much less painful than using tuya-convert!

About Author
RealTimeKodi
Twitter - Mastodon - Website RealTimeKodi wrote 2 posts with rating 4 . Been with us since 2023 year.

Comments

muchtall 01 Aug 2023 18:28

Thanks for this post! It was quite helpful in figuring out how to get this model working on the LibreTiny fork(-ish) of ESPHome. Maybe I missed something, but I didn't see your calibration configuration... [Read more]

RealTimeKodi 01 Aug 2023 21:25

I didn't post any calibration data because I assumed it would be different for each unit. I'll have to check what my units say when I get home. As for the esphome config, that's excellent. I don't usually... [Read more]

muchtall 02 Aug 2023 00:21

Ahh yeah. You are correct. I had assumed that the resistor values would be more consistent than that, but I assumed wrong. Now that I have converted a pack of these, I'm seeing values between 762 and ... [Read more]

%}