ESP32 DEV KIT V1 associated with the thing but always OffLine

Hello,
I would like to use an ESP32 DEV KIT V1 to create a colour lamp.
As a device I have associated the "DOIT ESP32 DEV KIT V1" but the device does not show me "OnLine".
If I go into the editor it tells me that the device can be associated with two ports:

  1. /dev/cu/uspserial-0001
  2. /dev/cu.SLAB.USBtoUART

Whichever port of the two I put, the device is always "OffLine".
What can I do?

EzioGi

Hi @eziogi. Other than the "Offline" Device status, does the Arduino Cloud Thing work as expected (i.e., the lamp reacts to changes made via the Arduino Cloud dashboard)?

If you open Serial Monitor, does the output there show that the ESP32 board is able to connect to your Wi-Fi access point and then to Arduino Cloud?

HI,
what I have noticed is that:

  1. If I use the old Cloud Editor it recognises the device name but only connects in OTA.
    Not via the Mac's USB port.

  2. If I use the new Cloud Editor the device is connected to the USB port of the Mac and from the Monitor I see that it connects regularly to my WiFi and to the Arduino Cloud.
    Also I can only install the sketch using the new Editor, if the device is OTA it does not load the sketch.
    "Verify" works regularly instead.

EzioGi

I experienced a similar problem earlier. It went away after I did this:

  1. Deleted the associated Device from this page:
    https://app.arduino.cc/devices
  2. Create the Device again.
  3. Associate the newly created Device with the Thing.
  4. Upload the Thing sketch to my board again.

Note that you can select from either the "Over-The-Air" or serial port in the "Select device" dialog of the new Cloud Editor:

There is currently a bug in the new Cloud Editor that affects selecting the OTA port of ESP32 boards:

A fix is already in progress, but @kevlinsley found a workaround we can use now to be able to select the OTA port. I'll provide instructions:

  1. Open Arduino Cloud Editor in your web browser.
  2. Click the "Settings" icon at the bottom left corner of the page:

    The "Settings" panel will open.
  3. Move the Device selection > Enable auto-selection switch to the off position.

After doing that, you should be able to successfully select the OTA port of the board from the "Select device" dialog.

Thanks for the advice.
I will put them into practice as soon as I can.

EzioGi

With your advice I solved the problem.
Thank you

EzioGi

You are welcome. I'm glad it is working now.

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.