1

You defined DHT as dht. So you'll have to replace those DHT with dht and you'll be good to go.


1

Change three lines right after loop() to these: int chk = dht.read(DHTPIN); float hum = dht.humidity; float temp = dht.temperature; Change 'DHT' into lower case letters. DHT is the class and dht is the object of the DHT class. Also you have multiple copy of these libraries: DHT.h and Esp8266WiFi.h. Check your cuurent directory where your Arduino ...


1

HTTP GET request needs to end with an empty line and HTTP 1.1 requires a Host header. Add an empty line and eiher change the HTTP version to 1.0 client.print("GET /channels/421932/feeds.json?api_key="); client.print(apiKey); client.println("&results=2 HTTP/1.0"); client.println(); // empty line or add the Host header client.print("GET /channels/...


Only top voted, non community-wiki answers of a minimum length are eligible