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)
I was expecting an ESP8266 like all the other Aoycocr UK smart plugs I had brought in the past.
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 working for simple devices and RGB/RGBCW bulbs, power metering sockets are up next!).
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 as spi.
Yes that's a good spot for others, if the device says upgraded with Bluetooth then yes it's not an ESP8266 on board so it's got a good chance its a BK7231T or N
I didn't take a backup of the original firmware as I'm unsure how to do this, but I followed the Python script instructions and it programmed the first time (after having tried Beken Writer V1.60 for too many hours )
I have no idea about submitting the template to "https://github.com/OpenBekenIOT/webapp/blob/gh-pages/devices.json", I'm not a Git person, but from looking at the device.json page my device would be
Getting the device into Home Assistant using the onboard HASSIO template generator was super easy,
One thing that may help other newbies like me if there was a way to run a script on the device to help see which pins are used, such as the relay, button and LED.
Something like, pulse each pin until you hear the relay click or see the led flash
I just manually changed each pin until I found each entity