Page 1 of 1

can someone help me with the Arduino Rainmaker & OTA

Posted: Tue Aug 16, 2022 3:58 pm
by me-chiel
I love the Rainmaker app. Sofar everything is working, but in the demo I saw the possibility of updating the firmware via OTA.
after logging in on the https://dashboard.rainmaker.espressif.com I uploaded the bin file created by Arduino.
I used the settings of OTA of one of the examples:

RMaker.enableOTA(OTA_USING_PARAMS);

In the dashboard I see the text:"Please ensure that OTA using Topics is enabled in your firmware."
is this where things go wrong?

I uploaded a new bin file with new firmware in the dashboard, but all it says is:
OTA = STARTED and then nothing....

can anyone tell me how to update the firmware if you are working in the Arduino IDE?



I might learn ESP-IDF some day, but for now this isn't an option:)

Re: can someone help me with the Arduino Rainmaker & OTA

Posted: Wed Oct 19, 2022 6:12 pm
by marcarleto
I'm having the same problem, did you manage to solve it?

Re: can someone help me with the Arduino Rainmaker & OTA

Posted: Thu Nov 03, 2022 2:04 pm
by sanketwadekar
Hello,
First of all, to use Rainmaker OTA from the admin dashboard, you need to pass OTA_USING_TOPICS as an argument to enable().
Secondly, the issues related to OTA have now been resolved, but these changes won't be available until the next version release. Those who are interested to try out OTA can clone the master branch of the repository from https://github.com/espressif/arduino-esp32 and follow the steps to manual installation mentioned at https://docs.espressif.com/projects/ard ... stallation.

Re: can someone help me with the Arduino Rainmaker & OTA

Posted: Fri Dec 23, 2022 6:53 am
by sanketwadekar
Hello,
Arduino 2.0.6 has been released, which fixes the OTA crash issues seen previously. If you face low memory errors like

Code: Select all

esp-tls-mbedtls: mbedtls_ssl_setup returned -0x7F00
please reboot your device once. Doing a reboot after successful provisioning and then starting OTA is recommended.
Thanks!