How to connect another cloud platform (e.g. Aliyun) with Argon?


#1

Hi,

If I want to use Argon to connect to another cloud platform instead of Particle cloud, how can I do? Thanks!

Is it change the code in Device os? Could anyone tell me which file should be changed? Thanks!

Jack


#2

Particle is an all-in-one IoT Platform - there is not much point IMHO in buying an Argon and then throwing away the OTA flash, the IDE, the console, the integrated Device OS, the cloud API…you may as well buy an ESPxxxx device and do that all yourself if you have the time.


#3

Replacing Particle cloud with another is a long process, but doable. I’m doing it myself. You do not need to replace DeviceOS or modify it. First, decide how you want to communicate with the cloud, then choose an appropriate library. For example, I use AWS IoT, so I use the MQTT-TLS library to communicate with AWS.

After you’ve sorted out cloud communication, you can work out your cloud service itself, such as dashboards, backend storage, processing, etc. You’ll also probably want to figure out how to do OTA updates yourself. I’ve posted sample code on the forum that demonstrates it. Good luck!


#4

Let me try, thanks!


#5

You’ll also need to use SYSTEM_MODE(MANUAL) to prevent the device from connecting to the Particle cloud. Plenty of examples around here of that.


#6

Many thanks!