Comments on: ESP8266 OTA Updates with Arduino IDE | Over the Air https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 18 Feb 2025 20:13:34 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Hans Harbeck https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/#comment-1008980 Tue, 18 Feb 2025 20:13:34 +0000 http://randomnerdtutorials.com/?p=31259#comment-1008980 The OTA update is working for me, but the serial monitor does not work:
“No Monitor available for the port protocol network. Could not connect to 192.168.1.133 network port”.
The IP is correct and exist.
(Arduino IDE 2.3.4)
What can i do? Use putty, but how?

]]>
By: gtmans https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/#comment-1004946 Mon, 03 Feb 2025 07:55:29 +0000 http://randomnerdtutorials.com/?p=31259#comment-1004946 Many thanks for this tutorial. For me enough to get OTA up and running for the first time. I am going to implement this on a few setups I have in my house. My suggestion is to explain better where exact in the code you put your own initial, setup and loop code.

]]>
By: Daniel Thackeray https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/#comment-996687 Fri, 03 Jan 2025 03:02:36 +0000 http://randomnerdtutorials.com/?p=31259#comment-996687 In reply to James Cullins.

The ESP-01 with 1Mb of flash works just fine with ArduinoOTA. OTA requires about 470Kb.

]]>
By: John https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/#comment-983003 Wed, 13 Nov 2024 20:01:30 +0000 http://randomnerdtutorials.com/?p=31259#comment-983003 Actually It seems it is NOT updating now, it did update while on the bench, but now that I have it back in place it isn’t. I am receiving data from it so I know I’m linked. Confused….

]]>
By: John https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/#comment-983001 Wed, 13 Nov 2024 19:45:19 +0000 http://randomnerdtutorials.com/?p=31259#comment-983001 Hi Rui & Sara, Turns out this is a great solution to change setpoints on one of my remote ESP’s. I’m using an ESP-07 (with the external antenna connector) because it’s in a metal shed. I’m monitoring temperature via an 18B20 sensor, and if it gets close to freezing, turn on a small ceramic heater to bring the temperature up to a cut off point. Since I wasn’t sure exactly where those points should be, OTA makes it easy to change them without removing the ESP and bringing it back to the workbench. The one querky thing I noticed is that when I update the ESP using the OTA port, I get an error that says:
espota.py: error: option -p: invalid integer value: ‘{upload.port.properties.port}’.
Since the uploads appear to go, I’m not sure what that error is indicating. Can you enlighten me? Thanks

]]>
By: Ruud https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/#comment-921594 Tue, 04 Jun 2024 20:14:25 +0000 http://randomnerdtutorials.com/?p=31259#comment-921594 In reply to muc.

Hi muc,
As you could read in quite a number of the replies, your ESP’s should be in the same subnet, but….
when you are able to route all traffice from one Fritzbox to the other and back, it might work in my opinion
Regards, Ruud

]]>
By: muc https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/#comment-857557 Sun, 27 Aug 2023 13:16:23 +0000 http://randomnerdtutorials.com/?p=31259#comment-857557 Hi,

I’ve got many ideas by reading randomnerdtutorials, thank you for that,
the newest one is OTA!
Till now three esp8266 are running with OTA.

The 4th one should be placed in another LAN, connected with mine overy VPN by two FritzBoxes:
192.168.11.xxx is mine, 192.168.22.xxx the other one

But the IP-address of esp in “22” (sent by ArduinoOTA.handle() ??) is not found by the IDE here in “11”.

Is this constellation really impossible or can I get it to work?

Thank you!

Best Regards

]]>
By: Brantz https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/#comment-826884 Sat, 25 Mar 2023 15:36:05 +0000 http://randomnerdtutorials.com/?p=31259#comment-826884 I have OTA working well on project, but when I deploy a 2nd module with a different Hostname, it does not show up as a choice in the Arduino IDE. I can see the 2 modules with the MDNS browser, so I know they are there and on the network. Is there a limit to only one OTA module to be used at a time? Ideally the IDE would let me select from one of several differently named modules to communicate with. Thanks.

]]>
By: Wes https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/#comment-815499 Sun, 05 Feb 2023 18:18:36 +0000 http://randomnerdtutorials.com/?p=31259#comment-815499 Not working. I can ping the device but when I try to load the code to blink the led I get this.

. Variables and constants in RAM (global, static), used 28960 / 80192 bytes (36%)
║ SEGMENT BYTES DESCRIPTION
╠══ DATA 1504 initialized variables
╠══ RODATA 1320 constants
╚══ BSS 26136 zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 60824 / 65536 bytes (92%)
║ SEGMENT BYTES DESCRIPTION
╠══ ICACHE 32768 reserved space for flash instruction cache
╚══ IRAM 28056 code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 284852 / 1048576 bytes (27%)
║ SEGMENT BYTES DESCRIPTION
╚══ IROM 284852 code in flash
13:16:06 [ERROR]: No Answer
Failed uploading: uploading error: exit status 1

]]>
By: Ron Brinkman https://randomnerdtutorials.com/esp8266-ota-updates-with-arduino-ide-over-the-air/#comment-808080 Thu, 05 Jan 2023 00:38:29 +0000 http://randomnerdtutorials.com/?p=31259#comment-808080 In reply to John.

I’m not sure that the OTA process sets the IP address. In any case, whatever the IP address ends up being, your ESP will advertise its address and that is the address to which you will be able to successfully upload your sketch.

]]>