Serial Monitor and sd card values are not the same

Did you do this?

If that doesn't fix it, then try change the condition on the valve shut off to accommodate the initial timer

Code: [Select]
if (timerRunning== false && solstate == true && millis() - startTime >= interval)
{
digitalWrite(4, LOW);
solstate = false;
peakcounter = 0;
}

Please post your code.