   // DHT sensor init
   dht.begin();
 
+  // initialize the pushbutton pin as an input
+  pinMode(BUTTONPIN, INPUT);
+  
   #if DEBUG
     // Serial used for debug
     Serial.begin(9600);

#define DHTTYPE DHT11   // DHT 11
//#define DHTTYPE DHT22   // DHT 22  (AM2302), AM2321
//#define DHTTYPE DHT21   // DHT 21 (AM2301)


// ************** Ethernet configuration - global


// Temperature and humidity values adjustment, if your sensor values are below (adjust with a positive integer) or above (negative int) reality.
// For no adjustment, set to 0
#define TEMPERATURE_ADJUSTMENT    2
#define HUMIDITY_ADJUSTMENT       12

// Humidity sensor pin and type
#define DHTPIN 2     // what digital pin we're connected to
