 #include <SoftwareSerial.h>
 #include <ESP8266WiFi.h>
+#include <SimpleDHT.h>
 #include "ThingSpeak.h"
 #include "DHT.h"
 #include "Server.h"

  Serial.printf("Illuminance (Brightness) : %d Lux\n", illuminance);
  Serial.printf("Water level (Millimeter) : %d mm\n\n", waterLevel);

  ThingSpeak.setField(1, temperature);
  ThingSpeak.setField(2, humidity);
  ThingSpeak.setField(3, illuminance);
  ThingSpeak.setField(4, waterLevel);

  Serial.println("Writting data to ThingSpeak......");
  ThingSpeak.writeFields(monitorChannel, monitorWrite);  

  Serial.println("Reading brightness control from ThingSpeak......");
  int ledBrightness = ThingSpeak.readFloatField(operationChannel, 1);
  Serial.printf("Set LedBrightness to     : %d Lux\n", ledBrightness);
   
  ledBrightness = map(ledBrightness, 0, 35000, 0, 255);
  analogWrite(LED, ledBrightness);


const char* ssid = "WongIoT";
const char* password = "nodemcu888";

WiFiClient  client;
SimpleDHT11 dht11;

void setup() {
  Serial.begin(BAUDRATE);
