Can arduino iot cloud send data to 2nd mqtt broker?

How can I create a file that can be OTA through Arduino IoT cloud and also Send data via AWS IoT Core

Hi!

You can use any MQTT library to send data to another broker from your sketch. I suggest using the following one: GitHub - arduino-libraries/ArduinoMqttClient: ArduinoMqttClient Library for Arduino

I hope this helps!
David

There are a couple of gotchas to running a second MQTT client. This thread has a working example at the end.

Running a Second MQTT Client in a Thing - Software / IoT Cloud - Arduino Forum

Thanks for this one but this one has no security like SSL because it doesn't have a certificate. Maybe you have an idea about having it updated wireless using OTA access of arduino IoT at the same time you can connect to AWS IoT Core with a different certificate.

That's not something I can help with, sorry.

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