@goddur Hi, and welcome to the forum!
So what exactly is your question/problem?
If it is the time until you get a stable reading after reset of the Arduino, you could just count the time until you get a stable reading.
Then include this delay after startup before reporting the first value and you're done.
Something like:
static int startupCycles = 10; // 10 seconds initial startup delay
void loop()
{
delay(1000);
Irms = emon1.calcIrms(1480); // Calculate Irms only
if (startupCycles)
{
--startupCycles;
return;
}
if (Irms < .2)
{
// your original code...
}
}