BE Kruidvat Smart home plug reprogram TYWE2S and connect to Home assistant

4bfbd6f7e948379b09fabd50b260cd0aa5c434ab_2_666x500 517d689ff04ca62088113384cd99d69d05a733a5_2_666x500 39efb4747285e229d9defe62d4ba4448953b629e_2_666x500

First want to understand what to flash etc. Also what is tasmota etc…
What program/instructions to flash etc.
All input is welcome. Then I keep you in the loop of the progress.
Aim is the arrive in a plug controllable by home assistant.
Like ESP8266 based DIY Smart Plug to Make Your Home Appliances IoT Enabled

You can’t use OTA as you first need to flash it with code enable to this.
As far I’m reading and learning I will:
Solder wires on the ESP module and flash it with firmware like explained in Arduino
Then I will be able to upload further programs with OTA
and make my plug connection with Home assistant.

You can program with,
LUA
ESPhome
Tamotizer
Tuyaconvert

How to make a program? I see that with the original firmware in the plug you can read alos the power consumption.

https://tasmota.github.io/docs/Getting-Started/