 #define TEMP_POT_PIN     A0
 #define HUM_POT_PIN      A1
 #define MOIST_SENS1_PIN  A2
+#define AM_USES1         A4
+#define AM_USES2         A5
+#define LIGHTSENS_PIN    A6
 
 //digital pin assignments
-#define LCDPIN1       2
-#define LCDPIN2       3
-#define LCDPIN3       4
-#define BTNPIN        5
-#define SERVOPIN      10
-#define SSERIALTX     11  //to RX on ESP-05
-#define SSERIALRX     12  //to TX on ESP-05
-#define ESPRESETPIN   13
+#define LCDPIN1          2
+#define LCDPIN2          3
+#define LCDPIN3          4
+#define BTNPIN           5
+#define DALLAS_ONE_WIRE  6
+#define SERVOPIN         10
+#define SSERIALTX        11  //to RX on ESP-05
+#define SSERIALRX        12  //to TX on ESP-05
+#define ESPRESETPIN      13
 
 // The baud rate of the serial interface
 #define SERIAL_BAUD  9600

  char float_str[10] = {0};
  char hum_str[10] = {0};
  char moist_str[10] = {0};

  snprintf(cmd, 59, "AT+CIPSTART=\"TCP\",\"%s\",80", THINGSPEAK_IP);
  espSerial.println(cmd);

{
  LOG_DEBUGLN("Restarting ESP");
  digitalWrite (ESPRESETPIN, LOW);
  delay(8000);
  digitalWrite (ESPRESETPIN, HIGH);
  delay(10000);
  clearSerialBuffer();
