[SOLVED] Sending sensors data to ubidots with Yun

Hi everyone, my first post here.
I’m new to ubidots and i’m trying to send data from a DHT11 sensor to ubidot with an arduino Yun. I upload the code, but it doesn’t send any data to ubidots.
I leave the code here:

  #include <UbidotsYUN.h>
#define TOKEN "myTOKEN"

#include <dht11.h>
dht11 DHT;
#define DHT11_PIN A0

Ubidots client(TOKEN);
void setup() {
  client.init();
  Serial.begin(9600);

}

void loop() {
  float value = DHT.temperature;
  client.add("myID", 10 );
   client.sendAll();
   delay(100); 
}

@ludocom hello!

Please search in your source if there is one data source named YUN, inside it there is a variable named “myID”.

By the way could you connect your YUN to your PC and open the serial monitor and paste the content here?

Best regards,
Metavix

Thanks for your help.
Actually i went to my sources page and i found another source called YUN that shouldn’t be there because i created just one source. Here is the screenshot.

Hi @ludocom the library creates a data source automatically, unless you add the tag “YUN” to the one you created. We’ll try to explain this better in the original tutorial, thanks.