ESP32 OTA: Best information resource for starting out

Howdy,

I am looking for the best information resource to try and get OTA working on an ESP32.
I have downloaded the library files Arduino_ESP32_OTA for the IDE .

In the Arduino_ESP32_OTA library file under Examples there is 'OTA.'

And then in the IDE 2.0 Examples section there is BasicOTA.
Do these work equally well?

I would like to find an information site that provides a little it more information than that just embedded in the comments of the sketch itself.
Also, is there a way to capture the compiler [verbose ON] serial screen data. I turned autoscroll off but it still clears the screen at the end of the compile process?

Haven’t seen a lot of users happy with that sketch.

Personally, I only program the ESP directly.

Someday I’ll dig deeper in this thread.

Larry,

That link you provided is helpful although the tutorial is centered around the use of PlatformIO. The actual process is essentially the same, with different library references. And it provided some clarification about the requisite binary file, etc,

thanks...

edit - it should be noted I am running Python 3.1 in the command window environment of a Windows 11 PC. I have a Linux PC if there is a problem running python on the Windows machine. I could transfer any files between the two.

This is one-in-a-row folks so bear with me....again.

I am compressing the bin file with python's lzss algoritm and I got a syntax error. I simply inserted the directory location fo the .ino bin file and used the same folder for the new lzss file.
Any ideas on what is wrong?

Python 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> ./lzss.py --encode C:\Users\Ed\Arduino IDE Support Files\ESP32_Blink_For_OTA_Test.ino.bin C:\Users\Ed\Arduino IDE Support Files\ESP32_Blink_For_OTA_Test.ino.lzss
  File "<stdin>", line 1
    ./lzss.py --encode C:\Users\Ed\Arduino IDE Support Files\ESP32_Blink_For_OTA_Test.ino.bin C:\Users\Ed\Arduino IDE Support Files\ESP32_Blink_For_OTA_Test.ino.lzss
    ^
SyntaxError: invalid syntax
>>>

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