Aoycocr U3 UK Smart Plug - BK7231T Convert to OpenBeken
TL;DR
- Converted an Aoycocr U3 UK smart plug from the expected ESP8266 to a BK7231T-based OpenBeken setup.
- Opened the sonic-welded case with a rubber hammer, then flashed the BK7231T using hid_download_py on Windows after Beken Writer V1.60 failed.
- The module exposes 3.3v, Gnd, RX and TX pins, and the working mapping was Led_N = 1 1, Relay = 7 1, Btn = 8 1.
- Relay, button and LED control all work, but Home Assistant settings are still being worked out.
This is a quick post to document my journey in converting an Aoycocr U3 UK Smart Plug that has the BK7231T chip (not the old ESP8266)
After buying this smart plug from Amazon UK (https://www.amazon.co.uk/gp/product/B07S3ZN7T8/) and then finding the BK7231T inside, I was expecting an ESP8266 like all the other Aoycocr UK smart plugs I had brought in the past.
(I used a rubber hammer on each side of the plug to release the sonic weld around the back case)
I started my BK7231T learning journey, after reading some very helpful posts on here and openshwprojects/OpenBK7231T I programmed this chip using the Python script on Windows (I could not get Beken Writer V1.60 to complete the programming after trying for hours)
https://github.com/OpenBekenIOT/hid_download_py
My BK7231T module looked the same as this
The 3.3v, Gnd, RX and TX pins are marked on the back (3.3v and Gnd) and bottom (RX & TX) of the module
Once programmed and after a bit of trial and error I got the relay, button and LED pins sorted
My settings are
Led_N = 1 1
Relay = 7 1
Btn = 8 1
Im still working out the Home assistant settings, I will post any updates I find here
Comments
Oh no, yet another one migrated? Don't worry, I am here to help. OBK is under active development and, for example, our team member @iprak is adding Home Assistant discovery just as we speak (it's already... [Read more]
Hi p.kaczmarek2 Yes I spent some hours researching this BK module, all the others I could see online had the antenna on the top but this one is on the side and on the board, some pins are marked up... [Read more]
That''s a good idea, I might look into that. I have submitted your device information to the global templates list. It should be available soon online. Thank you! [Read more]
Hmmm, interesting [Read more]