 #include "Adafruit_MQTT.h"
 #include "Adafruit_MQTT_Client.h"
 
-#define WLAN_SSID   "FRITZ!Box 7272"
-#define WLAN_PASS   "Aezakmi123!"
+#define WLAN_SSID   "YOUR SSID"
+#define WLAN_PASS   "YOUR PASSWORD"
 
-#define SERVER      "minibian"
-#define SERVERPORT  1883
+#define SERVER      "minibian" // The hostname of the server where the MQTT broker is installed
+#define SERVERPORT  1883 // The port of the MQTT broker
 
-#define LED         4
-#define DS18B20     5 // Dallas DS18B20 digital thermometer
+#define LED         4   // Pin controlling to the LED strip.
+#define DS18B20     5   // Pin of Dallas DS18B20 digital thermometer
+
+#define TMP_INTER   5  // Update interval of temperature given in minutes
 
 // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs)
 OneWire oneWire(DS18B20);


  // Setup MQTT subscription for onoff feed.
  mqtt.subscribe(&onoffsw);
  updateTemperature();
}


  // connection and automatically reconnect when disconnected).  See the MQTT_connect
  // function definition further below.
  MQTT_connect();

  while (mqtt.readSubscription(10000)) {

    if (strcmp((char *)onoffsw.lastread, "{\"On\":1}") == 0 && !led_on) {

