Learn how to resolve problems adding and connecting devices to IoT Cloud.
In this article:
- Problems when adding the device to Iot Cloud
- Problems uploading the sketch
- If the device doesn’t come online
Problems when adding the device to Iot Cloud
If there’s a problem during the “Add device” set-up process, or the device doesn’t appear in the Device tab.
“We could not find any Arduino device”
-
Make sure you’re using a compatible device.
-
Check if the Arduino Create Agent is installed and running, then click Try again.
-
Double-press the reset button on the board, then click Try Again.
-
Try uploading an Example sketch (such as Examples > Built in > 01.Basics > Blink) in the Web Editor.
-
If your board isn’t detected by the Web Editor, see If your board does not appear in the port menu.
-
If you get an error message when uploading, see Errors when uploading a sketch.
-
“We were not able to configure your device
Something went wrong!”
-
Close any instances Arduino IDE and other applications that may be using the port.
-
Reconnect the device to the computer and make sure the power LED lights up.
“Arduino Create Agent not found”
- If you haven’t done so already, install the agent.
- If you have installed the agent but you still encounter this warning, see If Arduino Create Agent isn’t detected.
If you don’t know the DevEUI for your Arduino board
Make sure to set up your Arduino board as an Arduino device.
The DevEUI will be automatically added to the device.
If you don’t know the secret key for your 3rd party device
Secret keys cannot be recovered if lost. Generate a new key by deleting the device, then adding it again.
“We were not able to configure…” during device set-up
When adding your device, you may see one of these messages:
Couldn't get the firmware info: Start command: exec: "{runtime.tools.fwupdater.path}/FirmwareUploader": file does not exist
Reset before upload: 1200bps Touch: Open port COMB: Serial port not found
Can't update firmware: Executing command: exit status 1
These errors can occur if the wireless connectivity module on your board is using an old version[1] of the WiFiNINA firmware, that cannot be automatically updated by IoT Cloud.
Solve the issue by updating to the latest firmware version using the Firmware Updater in Arduino IDE:
Update the firmware in Arduino IDE
Problems uploading the sketch
If there’s a problem when uploading the Thing sketch to your device.
No associated device found
-
Open the Things tab to see which device is associated with the Thing.
-
Make sure the associated device is connected to your computer. To associate a different device, open the Thing and click the Device selection button.
Executing command: exit status 1
This is a generic error message indicating that a process has failed.
-
Click the Open full editor button. This will open the same sketch in the Web Editor.
-
Upload the sketch and observe the console output.
-
If you get an error message, see Errors when uploading a sketch.
“To upload a sketch via USB port, make sure the Agent is installed and running on this computer”
- If you haven’t done so already, install the agent.
- If you have installed the agent but you still encounter this warning, see If Arduino Create Agent isn’t detected.
If the sketch uploads but the device isn’t online
If the sketch uploads but the device doesn’t come online.
Note: Device status is not supported by the LoRa protocol, see About device status in IoT Cloud.
-
Go to the Devices tab and verify that your device has a linked Thing. If not, you must either create and new Thing, or associate an existing Thing with the device.
-
Go to the Things tab and open the Thing that’s associated to your device. Then go to the Devices tab, and find your device in the list. Under Network, click on Change and verify that your credentials are correct.
- Wi-Fi: Make sure the name (also called SSID) and password (also called encryption key or just key) are correct. The password can be revealed by clicking the eye symbol. If you don’t know your network name or password, contact your network administrator or the manufacturer of your Wi-Fi access point. If your device has a secret key, make sure it’s entered correctly (if you’re unsure, remove and re-add the device to generate a new key).
- Arduino SIM: Use these credentials. Make sure a working GSM antenna is connected to the board and that an Arduino SIM plan is activated with your account.
-
Open the Thing’s Sketch tab. Make sure the right device is selected and re-upload the sketch.
-
Fully delete the device, then add it again as a new device. For detailed instructions, see Add and connect a device to IoT Cloud.
-
Test your setup with an example from the ArduinoIoTCloud library. Upload using Arduino IDE or the Web Editor.
Still need help?
1.4.1 or earlier. To find out which version is on your board, see Check the WiFiNINA firmware version. ↩︎