   if (settingName=="second"){
     second=settingValue.toInt();
   }
+  
+  if (settingName=="pm10_x2"){
+    pm10_x2=settingValue.toFloat();
+  }
+  if (settingName=="pm10_x1"){
+    pm10_x1=settingValue.toFloat();
+  }
+  if (settingName=="pm10_b"){
+    pm10_b=settingValue.toFloat();
+  }
+
+  if (settingName=="pm25_x2"){
+    pm25_x2=settingValue.toFloat();
+  }
+  if (settingName=="pm25_x1"){
+    pm25_x1=settingValue.toFloat();
+  }
+  if (settingName=="pm25_b"){
+    pm25_b=settingValue.toFloat();
+  }
+  if (settingName=="co_x2"){
+    co_x2=settingValue.toFloat();
+  }
+  if (settingName=="co_x1"){
+    co_x1=settingValue.toFloat();
+  }
+  if (settingName=="co_b"){
+    co_b=settingValue.toFloat();
+  }
+
+  if (settingName=="o3_x2"){
+    o3_x2=settingValue.toFloat();
+  }
+  if (settingName=="o3_x1"){
+    o3_x1=settingValue.toFloat();
+  }
+  if (settingName=="o3_b"){
+    o3_b=settingValue.toFloat();
+  }
+  if (settingName=="so2_x2"){
+    so2_x2=settingValue.toFloat();
+  }
+  if (settingName=="so2_x1"){
+    so2_x1=settingValue.toFloat();
+  }
+  if (settingName=="so2_b"){
+    so2_b=settingValue.toFloat();
+  }
+
+  if (settingName=="no2_x2"){
+    no2_x2=settingValue.toFloat();
+  }
+  if (settingName=="no2_x1"){
+    no2_x1=settingValue.toFloat();
+  }
+  if (settingName=="no2_b"){
+    no2_b=settingValue.toFloat();
+  }
+  if (settingName=="h_x1"){
+    h_x1=settingValue.toFloat();
+  }
+  if (settingName=="h_b"){
+    h_b=settingValue.toFloat();
+  }
+
+  if (settingName=="p_x1"){
+    p_x1=settingValue.toFloat();
+  }
+  if (settingName=="p_b"){
+    p_b=settingValue.toFloat();
+  }
+  if (settingName=="t_x1"){
+    t_x1=settingValue.toFloat();
+  }
+  if (settingName=="t_b"){
+    t_b=settingValue.toFloat();
+  }
+  if (settingName=="l_x1"){
+    l_x1=settingValue.toFloat();
+  }
+  if (settingName=="l_b"){
+    l_b=settingValue.toFloat();
+  }
  }
 
  // converting string to Float

      }
      if (measure[0]==0xff && measure[1]==0x86){
        ppm = measure[2]*256+measure[3];
        so2=ppm;

        #if defined(DEVMODE)
        Serial.print("  [SO2]: ");


    //String getRequest ="GET"+"hola"+" "
    // send the HTTP GET request:
    client.print("GET ");
    client.print("/api");
    client.print("/"); client.print(device);
    client.print("/"); client.print(password); client.print("/timezone"); client.print(" HTTP/1.1");
    client.println("");
    // parameters:
    client.print("?z="); client.print(timezone); client.print(",");
