Questions about using OTA, IoT Cloud from the IDE. Is it possible?

I'm starting a new project, so I'm trying to figure out if the Arduino IoT Cloud tool is the one I need.

I've been looking for information for days, but I'm still a bit confused.

I'm using a generic ESP32 board, but I could use UNO REV4 Wi-Fi if it offered an OTA option.

My ESP32 board is working perfectly with the free Arduino IoT Cloud version.

Since I'm more comfortable working with the Arduino IDE on my local machine, I'd like to know if I can use the OTA option for Arduino IoT Cloud. If I know, I imagine that with the IDE, and by generating a .bin file, I could perhaps send it to the Arduino IoT Cloud Web platform and send it to the boards I need. Is that correct?

Thank you very much.

Hi @xeviott.

Arduino IDE does support OTA uploads via the local network to the ESP32 boards. This uses the ArduinoOTA library that comes with the "esp32" boards platform. The example sketch that is accessible via Arduino IDE's File > Examples > ArduinoOTA > BasicOTA menu item demonstrates the use of this feature.

However, this is a completely different system than the OTA uploads feature of the Arduino Cloud IoT service:

https://docs.arduino.cc/arduino-cloud/features/ota-getting-started

If you want to use the OTA uploads feature of the Arduino Cloud IoT service, it can't be done using Arduino IDE. There is a tool you can use to perform these uploads named "Arduino Cloud CLI":

https://docs.arduino.cc/arduino-cloud/arduino-cloud-cli/getting-started/#upload

So you could use the combination of Arduino IDE to develop your sketches and Arduino Cloud CLI to upload them over-the-air.

Thanks, that's all I needed to know.

You are welcome. I'm glad if I was able to be of assistance.

Regards, Per