     getORP();
     nextSampleTime = millis() + SAMPLE_INTERVAL;
     soc = lipo.getSOC();
+    wifi = WiFi.RSSI();
     }
   if(millis() > nextSleepTime) {
     Particle.publish("waterdata", water_data(), PRIVATE);

#define TEMP_SENSOR D6
#define PH_ADDRESS 99
#define ORP_ADDRESS 98

DS18B20 ds18b20(TEMP_SENSOR);
double celsius;

double pH = 0;
double ORP = 0;
double soc = 0;
int wifi;

void setup() {
  Serial.begin(9600);
