 
   // Setup MQTT subscription for onoff feed.
   mqtt.subscribe(&onoffsw);
-
-  // Initial temperature reading
-  updateTemperature();
+  
 }
 
 

      i = 0;

    }
    // Check if the brightness setting has been updated
    else if (strncmp((char *)onoffsw.lastread, "{\"Brightness\":", 14) == 0 ) {

      Serial.print(F("Brightness: "));

#define DS18B20     5   // Pin of Dallas DS18B20 digital thermometer

#define TMP_INTER   5  // Update interval of temperature given in minutes


unsigned int i = 0;
