The device is showing online but in sketch section of Arduino IOT showing "No associated device found"

I am connecting my node mcu with arduino iot cloud and in editor i am able to select board and com port as well as able to upload the code via arduino editor window and the result is also displayed in serial monitor.
My device is showing online status too in arduino IOT cloud but in sketch window its showing that NO ASSOCIATED DEVICE FOUND.
Arduino create is working fine too.
Resolve this issue.
attaching screen shot.

1 Like

Hi @sridayal. It's not possible for Arduino IoT Cloud to automatically discover the ESP8266 and ESP32 devices. The reason is that these boards use a general purpose USB to serial adapter chip (e.g., CH340, CP2012) that has the manufacturer supplied USB VID/PID identifier. There is absolutely no way for a machine to know what is on the other side of a chip using those generic VID/PIDs. The port might be any Arduino board, or even some random piece of consumer electronics.

The situation is different with the official IoT-enabled Arduino boards (e.g., Nano 33 IoT) because each of these boards has a custom VID/PID that was purchased by Arduino and only used by that board. So a machine can know for certain that port is a specific Arduino board.

When using your NodeMCU board with Arduino IoT Cloud, you only need to click the "Open full editor" button and use the port selector provided by Arduino Web Editor to manually select the port of your board.

@pert I am very well awaree with the fact and have installed the driver too i.e.CP2102. i am attaching the status. as from screenshot u can see that everything works fine except previous one i.e. showing message and not able to get data at cloud widget which i have created.

Kindly mention the time taken by iot cloud to reflect the actual status of device i.e. either offline or online in case of Node mcu.
I am adding one more screenshot for your reference

That problem is unrelated to the expected "NO ASSOCIATED DEVICE FOUND" warning message you encountered. We might be able to help you with the cloud widget problem you reported, but we'll need more information. You will probably get the most attention from the forum helpers if you open a new forum topic for that, since it's a different subject matter and thus of interest to those whose attention will not be drawn by this topic's original subject matter.

I have the same problem. No associated device found
I'am using ESP32, but I want to upload sketch via wifi. Will that not work with ESP board?


Hi @tor-arne5000. The information I shared above is specific to uploading to an ESP8266 or ESP32 board that is connected to the computer via a USB cable.

I don't have experience using these boards with Arduino IoT Cloud, but the information I'm aware of indicates that Arduino Cloud does not currently provide support for OTA on them:


OTA is compatible with the Arduino NANO 33 IoT and Arduino MKR WiFi 1010 boards.

And also some discussion on the subject here:

But you can definitely upload to them over USB by using Arduino Web Editor. You can also download your Thing sketch from Arduino Cloud and then do OTA uploads of the sketch to your board using the standard Arduino IDE as usual.

Just FYI, I was unable to do that.

Device: HiLetgo ESP-WROOM-32 ESP32 ESP-32S Development Board (via μUSB)

  • In the Device tab, no apparent problem adding the board as ESP32 Dev Module (The same as I've used successfully in other projects.)

  • In the Sketch tab, I get: “No associated device found”

  • I tapped the “</> Open full editor” button

  • In the full editor (i.e., the Arduino Web Editor)…

    • I successfully verified the code

    • I could not upload the code

  • Instead, I get: “Error uploading, check if the selected board is currently available.”

I'll dig deeper to see what I might have done wrong; unless this is owed to these boards still being experimental.

I just tried a couple of uploads to my "NodeMCU" ESP32 board using Arduino Web Editor and it worked fine both times.

Please do this:

  1. Attempt an upload.
  2. Wait for the upload to fail.
  3. Hover the mouse over the red bar at the bottom of the Arduino Web Editor that shows the error message. Click and drag it up so you can see the black console window.
  4. Click the icon in the top right corner of the console that looks like two pieces of paper.
  5. In a forum reply here, click on the reply field.
  6. Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
  7. Press Ctrl+V. This will paste the upload output between the code tags.
  8. Move the cursor outside of the code tags before you add any additional text to your reply.

The "Error uploading" message is not terribly useful, but the output from the uploader tool you find in the console pane often provides valuable clues to the cause of the upload failure.

1 Like

Getting a similar issue. In the past I have been able to upload via Arduino IoT Cloud. But getting "No associated device found" via the cloud. When I click "Open Full Editor" the attached device is found and can upload to it. But am getting an error in the full editor serial monitor that after updating I need to check my THING and MQTT association errors.

Please post the full and exact text of the error.

Device still no showing in cloud editor, but in full shows up. Debug has the device connected to COM3.

Here is the error after restart and flashing

ArduinoIoTCloudTCP::handle_SubscribeMqttTopics could not subscribe to /a/t/xxxxxxxx-d477-46e0-9e4c-2f7a9bb66e6f/shadow/
Check your thing configuration, and press the reset button on your board.
ArduinoIoTCloudTCP::handle_SubscribeMqttTopics MQTT client connection lost
ArduinoIoTCloudTCP::handle_ConnectMqttBroker could not connect to
ArduinoIoTCloudTCP::handle_ConnectMqttBroker 1 connection attempt at tick time 18885

Is there any more output after that? I just gave it a try with an ESP32 board and I had the same sort of output, but then it made a second connection attempt, which was successful and the Thing then worked just as expected.

Are you using an ESP32? That is somewhat the topic we have been discussing here, but I don't think you ever mentioned your board specifically.

Well I am facing a kind of similar issue right now I am not able to see my device online and Arduino create agent debugger shows me certain error messages I have uploaded the image of the messages when I open web editor I can easily upload the code into my device can anyone please help me with thiserrormssg
here is the image from the web editor where I can easily upload the code and see results in the serial monitor

this Image shows that the device is offline image

Hi @aaditya58. Do you have your Thing sketch running on your ESP8266 board? The Device will only be shown as "Online" when it is communicating with the Arduino IoT Cloud servers.

Even if the board is connected to your computer via the USB cable and/or network and communicating with the computer just fine for uploads etc., if the sketch isn't communicating with the Arduino IoT Cloud servers over the internet it will not be considered as an "online" Arduino IoT Cloud Device.

Well, the IoT cloud sketch section cannot detect my device nor the Arduino create agent, then I used the web editor to upload the code and it works I can see the device online and use the dashboard to control things connected to the device, but there seems to be another issue, that when I turn LED on using the Dashboard widgets the led turns off and the led turns on when the widget is in the off position.

hi man, i have the same problem, give me the solution , what shall i do? which type of usb cable should i use

hi @sridayal have you solved this issue? how did you? and what cable have you used? i have the exact same problem

This is normal and expected for an ESP8266. The reason is that the ESP8266 boards use a general purpose USB to serial adapter chip (e.g., WCH CH340, Silicon Labs CP2103). Those chips use a USB VID/PID pair provided by the manufacturer, so all devices that use one of those chips will have the same identifiers. This means that there is no way to identify what is on the other side of that chip. It could be any type of Arduino board, or even just some random consumer electronic product attached to your computer.

The situation is different with most of the official Arduino boards because Arduino uses custom VID/PID pairs on their boards, meaning that the board can be definitively identified by the computer as a specific model of Arduino board.

The Arduino IoT Cloud editor relies on this identification, but the Arduino Web Editor allows you to manually select the port of your Arduino board. So, as you discovered already, it really isn't a problem. Just use Arduino Web Editor to upload your Thing sketch and all is well.

Just adjust your code accordingly. It is a common misconception that HIGH will always be equivalent to "on", but this is very often not true, and is simply a matter of the configuration of the circuit being controlled by the pin. HIGH and LOW are only arbitrary pin states. So if the LED is on when the pin is LOW, you only need to adjust your Thing sketch accordingly.

Did you read the post you replied to? It tells you the solution already:

When using your NodeMCU board with Arduino IoT Cloud, you only need to click the "Open full editor" button and use the port selector provided by Arduino Web Editor to manually select the port of your board.