can someone help me with the Arduino Rainmaker & OTA

me-chiel
Posts: 3
Joined: Tue Aug 16, 2022 3:47 pm

can someone help me with the Arduino Rainmaker & OTA

Postby me-chiel » Tue Aug 16, 2022 3:58 pm

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:)

marcarleto
Posts: 5
Joined: Wed Oct 19, 2022 6:08 pm

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

Postby marcarleto » Wed Oct 19, 2022 6:12 pm

I'm having the same problem, did you manage to solve it?

sanketwadekar
Posts: 32
Joined: Tue Jul 26, 2022 10:08 am

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

Postby sanketwadekar » Thu Nov 03, 2022 2:04 pm

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.

sanketwadekar
Posts: 32
Joined: Tue Jul 26, 2022 10:08 am

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

Postby sanketwadekar » Fri Dec 23, 2022 6:53 am

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!

Who is online

Users browsing this forum: No registered users and 7 guests