OPTA IDE PLC with the Arduino Cloud

How is it possible to use an OPTA with IDE/PLC sketch with the Arduino Cloud.

The IDE PLC sketch works when downloaded.

Then when i write the Arduino cloud sketch to the OPTA it over writes the IDE PLC sketch. But the OPTA appears online.

What am i doing wrong??

1 Like

Hello!
The IoT Cloud and the PLC IDE are not compatible at the moment.

If you need to use the IoT Cloud, you will need to go to the Web Editor and not use the PLC IDE Runtime.

When it will be possible? is it on the timeline?

Unfortunately, I don't have an answer for that.

Hello,

Is there any update on that?
When will the PLC IDE be compatible with IoT Cloud?

Thank you,
André.

Hi, I'm assuming you can't manually connect to the Arduino Cloud and any other MQTT brokers due to the need for a security certificate that the Web Editor is able to add behind the scenes, but that can't be added using the IDE/PLC IDE. I'm trying to manually add a certificate in the sketch (tried and failed to do this by uploading a cert to the flash), but again the libraries that enable this for other boards seem not to be in the OPTA core (namely WiFiClientSecure). Is this approach possible, or will it be possible with the OPTA?

1 Like

It is now possible to use the Arduino Cloud with PLC IDE.

3 Likes

Thanks @simon1967, that's quite useful. I assume the magic happens when you connect the Opta to the cloud as a "Device" for the first time and the security link up just exists on the crypto chip somewhere or something, in that you don't actually specify where the device should point anywhere in the sketch and it seems to just find the right link up after re-uploading the PLC program and sketch. Is there a way to manually configure this connection? This would be good to know for the Arduino Cloud, and absolutely critical for any other MQTT brokers. Thanks.

A post was split to a new topic: Come faccio a utilizzare OPTA con sketch IDE/PLC con Arduino Cloud?