 
 // interval counters for measurement and post
 const unsigned int MEASUREMENT_RATE = 60000; // read sensor data every 60 sec
-const unsigned int POST_RATE = 15 * 60000; // post data every 15 minutes
+const unsigned int POST_RATE = 60 * 60000; // post data every 60 minutes
 elapsedMillis lastMeasurement;
 elapsedMillis lastPost;
 
+const unsigned int PUBLISHEVENT_TIME_HOUR = 15; // send events ~ 3pm
+boolean publishEvents = true;
+
 void setup() {
   Serial.begin(9600);
+  Time.zone(1);
 
   pinMode(led, OUTPUT);
   for (unsigned int i = 0; i < sizeof(soilSensors); i++) {

          lastMeasurement = 0;
          postToParticle();
          dumpSerial();
      }
    }

    // update cloud on timer or sensor data changes
    if (lastPost > POST_RATE || currentSensorStatus != lastSensorStatus) {
      while (postToPhant() <= 0) { // publish to phant
        Serial.println("Phant post failed. Trying again.");
				// Delay 1s, so we don't flood the server. Little delay's allow the Photon time

// main status
int lastSensorStatus = 0, currentSensorStatus = 0;
char publishString[128];
char eventString[10];

// BME280 sensor
Adafruit_BME280 bme;
