 int plant1_value = 0;
 int plant2_value = 0;
 int plant3_value = 0;
-int plant4_value = 0;
+int voltage_value = 0;
 int temperature_value = 0;
 int light_value = 0;
 

            Serial.println("{ \"relay_state\": 0 }");
        } else { // otherwise, reply with sensor data

            // temperature mapping to celsius
            resistance=(float)(1023-temperature_value)*10000/temperature_value;
            temperature=1/(log(resistance/10000)/B+1/298.15)-273.15;

    plant1_value = analogRead(A0);
    plant2_value = analogRead(A1);
    plant3_value = analogRead(A2);
    voltage_value = analogRead(A3);
    light_value = analogRead(A4);
    temperature_value = analogRead(A5);

