No inputs created

hi

Firstly thanks in advance to whoever can help me ,Im trying to send sensor readings from my DHT11 sensor to the Emoncms web application.the DHT11 will be attached to an arduino which can communicate with a server via an ethernet schield .The sensor are working, but Emoncms input is not working. "No input created"

I think I have forgotten something in this part

[]// this method makes a HTTP connection to the server:
void sendData(float temperature, float humidity) {
 // if there's a successful connection:
 if (client.connect(server, 80)) {
Serial.println("Connecting...");
    // send the HTTP PUT request:
 //   client.print("GET /emoncms.org/input/post.json?apikey=3c8770b84603e15ea8e2c9f023c971ef&json={temperature");
    client.print("GET /emoncms.org/input/post.json?node=");
   client.print(node);
   client.print("&csv=");
    client.print(temperature);
    client.print(",");
    client.print(humidity); 
   client.println("&apikey=3c8770b84603e15ea8e2c9f023c971ef HTTP/1.1");   
   // client.println("} HTTP/1.1");
    client.println("Host:emoncms.org ");
    client.println("User-Agent: Arduino-ethernet");
    client.println("Connection: close");
    client.println();
 }

You are using post.json, but not sending it json data. Why not?

how i send json data give me an example ?

how i send json data give me an example ?

You commented out the example that sends json data. If you are going to expand that example to send two pieces of data, instead of one, YOU need to research what json means and how to encode multiple bits of data in a json packet.

I want to display the temperature and humidity value in emoncms Assign inputs to a node group

laura10:
I want to display the temperature and humidity value in emoncms Assign inputs to a node group

And? Your problem is NOT an Arduino problem. It is that you don’t know anything about json or the server you are trying to talk to.