kenwood120s:
Took 3 1/2 hours to get the whole storyNo idea how the compiler will interpret this "&& now.hour 12:00:00-13:00:00".
I'd nest the temp and humidity if inside the time if like this, and treat the time to the same style of if as you have for the temp and humidity:
if (now.hour > 12 && now.hour <15) //or whatever the times need to be
{
if (t > 32 || h > 70)
{
//do relay stuff....
edit: changed || to && in code above
Kenwood i've had a bit of time to reflect on what you had responded too, and yes you are correct, i wasn't paying full attention to the error report. now.hour was missing the () either side. Correct code as follows, thank you very much.
if (now.hour() > 12 && now.hour() <19) //or whatever the times need to be