Hello everyone,
I am trying to connect to the Arduino Cloud and for that it seems like I need to define my Device ID and my thing ID. Does anyone know where to find the Devide ID ?
Thank you.
Hello everyone,
I am trying to connect to the Arduino Cloud and for that it seems like I need to define my Device ID and my thing ID. Does anyone know where to find the Devide ID ?
Thank you.
Hi @ramimarz,
Have a read-through Getting Started With the Arduino IoT Cloud This will show you how to configure your device for IoT cloud use.
When you have configured your device you will be able to find its Device ID by looking in
IoT Cloud > Devices > Device > Device Info
HTH?
Hello,
Thank you for your response. However, I am not trying to setup a connection to the arduino cloud via the online editor (I have tried that in the past and it works perfectly). What I'm trying to do is implement the code that allows me to connect to the Cloud in the offline IDE (I am using eclipse and ST-Link debugger for my project). So I am trying to manually configure everything in the code and it seems that I need the Device ID and The thing ID. I am stuck trying to figure out how to find my device ID.
Hi @ramimarz,
to use your board with ArduinoioTCloud you need at least to perform steps from 1 to 5 of the getting started even if you want to use the offline editor.
@ramimarz There are two scenarios:
ArduinoCloud.setBoardId(DEVICE_ID);
ArduinoCloud.setSecretDeviceKey(SECRET_KEY);
In either case, you need to configure the device and the thing from the web interface (or the command line tool).
Note that you never need the Thing ID.
I would suggest to start like this: after you have created the Device and the Thing in the web interface, click on "Open Full Editor", then "Download Sketch" and you'll get a ZIP file with the full sketch that you can just modify and upload using the desktop IDE. This way you'll learn exactly how the API works.
Thank you this worked
Thank you so much for your answer. I used the board online with the arduino cloud IoT interface which gave me the Device ID then I used setDeviceID and setThingID in my offline IDE (eclipse) and it worked perfectly. Thank you
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.