Hi I"m new here hope I can get some advice on how to write my code.
What I would like it to do is between the hours of 1045 am and 445 pm if the Temp is greater then 78 then it will turn on the AC SWITCH for 1 hour.
The code that i wrote, what it does, is if at 10:45am its above 78 the AC goes on for an hour. But if the temp raises after that the AC SWITCH doesn't go on.
1. Timed 10:45 AM MTWTF--
THEN Temptur Flag ON for 6 Hours
2. When Temptur Flag ON
And IF 2nd Floor CURRENT TEMPERATURE IS GREATER THAN 78
THEN A/C Unit Sw ON FOR 1 HOUR
Any help would be greatly appreciated thanks
Lou
What I would like it to do is between the hours of 1045 am and 445 pm if the Temp is greater then 78 then it will turn on the AC SWITCH for 1 hour.
The code that i wrote, what it does, is if at 10:45am its above 78 the AC goes on for an hour. But if the temp raises after that the AC SWITCH doesn't go on.
1. Timed 10:45 AM MTWTF--
THEN Temptur Flag ON for 6 Hours
2. When Temptur Flag ON
And IF 2nd Floor CURRENT TEMPERATURE IS GREATER THAN 78
THEN A/C Unit Sw ON FOR 1 HOUR
Any help would be greatly appreciated thanks
Lou