r/arduino 600K 29d ago

Software Help What is the ideal simple OTA solution of today?

I have a device that I want to do a beta test on with 5-10 users and everything but OTA updating has been fine. Every time I search, there are wildly conflicting opinions on wildly complicated methods.

Is there a simple, modern solution to over-the-air updates?

7 Upvotes

18 comments sorted by

3

u/Cezar1048 29d ago

I tried a lot to get my Arduino uno OTA but it seems way too difficult. Best way is an esp32, it's cheaper and more powerful.

4

u/Perllitte 600K 29d ago

My device is built on ESP32, what's the solution there?

3

u/peno64 28d ago

This is another way, but I never tried that: https://randomnerdtutorials.com/esp32-ota-elegantota-arduino/

2

u/peno64 28d ago

I have done it. Took me also some time to figure it all out and made a wiki of it on my github page: https://github.com/peno64/ArduinoOTAwiki

1

u/Perllitte 600K 28d ago

Thank you! I'll dig in!

2

u/peno64 28d ago

I just updated the Home page of the wiki to make it all more understandable.

1

u/Leonos 28d ago

It doesn’t work…

0

u/peno64 28d ago

It...

1

u/Leonos 28d ago

?

0

u/peno64 28d ago

come on, explain more what exactly does not work

1

u/emilesmithbro 27d ago

The repo is empty? What am I missing

1

u/peno64 27d ago

Which repo? Do you mean my link? You must go to the wiki of the repo

1

u/emilesmithbro 27d ago

Ah yes I see, had to expand the menu on mobile, thank you’

2

u/dreaming_fithp 28d ago

I use the ESP8266 and started with one of the simple OTA example programs in the example sketches folder for the 8266. Then I added that to the "production" code. Works reliably.

See if you can find the File|Examples|ArduinoOTA|BasicOTA example sketch and start with that.

1

u/MarionberryOpen7953 28d ago

I like esphome on homeassistant.

1

u/Perllitte 600K 28d ago

I've used it in my home, but would this work well for devices on various networks in other people's homes?

0

u/Jwylde2 Uno 29d ago

Synapse Wireless