 int uv;
 int ir;
 int visible;
-int solarVoltage;
-int batteryVoltage;
+float solarVoltage;
+float batteryVoltage;
 bool daytime;
 
 typedef enum {

  }

  daytime = true;
  if (solarVoltage < 1000)
    daytime = false;

  delay(100);

        request.port = 80;
        request.path = URL;

        request.body =  "field1=" + String((int)temperature, DEC)
                         + "&" + "field2=" + String((int)humidity, DEC) // Do not omit
                         + "&" + "field3=" + String(uv, DEC) // the &
                         + "&" + "field4=" + String(ir, DEC)
                         + "&" + "field5=" + String(visible, DEC)
                         + "&" + "field6=" + String(solarVoltage, 2)
                         + "&" + "field7=" + String(batteryVoltage, 2);
        http.post(request, response, headers);
        currentState = STATE_WIFI_COMPLETE;
      }
