Using seconds with rtc for less than a minute timer

This is a problem:

relayFlag = (now.hour()*60) + now.minute() + now.second();

You are converting hours to minutes and adding minutes and seconds. You need to convert hours and minutes to seconds and then add seconds :slight_smile: