Full Editor Fails to Compile when using OTA

Hi,

I have a D1 board and a webserver code which has been working fine when using IDE and uploading over network from IDE. For convience, I paid for Arduino Cloud to be able to use the OTA from the web editor. I am facing a problem that when I select my board in the full editor, then I get an error (see below), but if I don't select a board, if if I select a board with serial, then it compiles fine. So here it is below with a compile error when the board IP address is selected:

if I change to top to none, and compile it works! the Board is online and my agent is running on my machine.

What does selecting the board has to do with finding the ESP8266WebServer.h file?

Spent so much time trying to figure this out. the biggest reason I paid for the upgraded plan is to use the OTA feature!

Thank you for any help...

select an ESP8266 board

Thank you very much. that made me pass the compile but for some reason still it doesn't upload although I can from IDE.

I get:

image

The agent is running and it's on the same network as the D1... so not sure why open fails...

maybe it's the PIN? IDE asks me for a pin, but when doing it from cloud it doesn't, is there a default PIN I need to use?

Thanks,

I went back to IDE to try and now I get out of memory! Is this that my code is bigger than mem on the D1? But all percentages in the compile is not 100% yet...

Thanks,

what is the size of the OTA partition in the partitioning selected in Tools menu?

Thank you for trying to help, but not sure how to check that?

this is my tools menu.

Thanks,

"Flash size"
it is OK

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.