tasmota

sonoff

default pin is D6 for on/off sonoff basic

flash button works as on/off switch

esptool --port COM22 erase_flash
esptool --port COM22 write_flash -fs 1MB -fm dout 0x0 tasmota.bin