Hi
I have a problem with ESP-01, i have bought a simple relay no/nc.
now I try to flash it with esphome, I know the way how to flash (at flashing time 2 pins need to be connected). But I don’t know why the device is not working. this is my code that is existing in HA ESP.
after uploading to the device the bin that is generated by HA and putting the device into the relay the result is that the relay is going in loop on / off.
second problem is when I try to upload new yaml by OTA then I get info like
“ERROR Error binary size: Error: ESP has been flashed with wrong flash size. Please choose the correct ‘board’ option (esp01_1m always works) and then flash over USB.”
can anybody help me with this? I will be greatfull.
Are you sure that you have the Esp01-S that has 1MByte of flash memory. There are Esp01 modules with only 500 Bytes of flash memory. Then you need to change the board type to board: esp01
if I good found info then the color of mainboard when is black then it has 1MB memory, i have a black mainboard.
The problem maybe is not so big that I can’t upload it by ota - it will be nice But why the espboard is not working when i send this code to the esp. is that related to the memory too?