Mike Ippolito Posted March 23, 2013 Share Posted March 23, 2013 Will this program properly trigger the state of the variable when the thermostat is between 50 and 64? Is this the best way to do it? If From 12:00:01AM To 11:59:00PM (same day) And ( Status 'Thermostats / Third Floor Thermostat' is 50° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 51° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 52° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 53° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 54° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 55° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 56° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 57° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 58° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 59° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 60° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 61° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 62° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 63° (Temperature ) Or Status 'Thermostats / Third Floor Thermostat' is 64° (Temperature ) ) And ( $sMonth < 5 Or $sMonth > 9 ) Then $sCold.on.3rd.Floor = 1 Else Wait 10 minutes Run Program 'Cold.on.3rd.Floor' (If) Link to comment
oberkc Posted March 23, 2013 Share Posted March 23, 2013 I expect that this program will set the "cold on third floor" variable, if the month variables are within range and temperature is between 50 and 64, inclusive. At midnight, it will execute the "else" path every time, regardless of other conditions. Of coure, the wait period will hold any real action off until 1201. Link to comment
LeeG Posted March 23, 2013 Share Posted March 23, 2013 The temperature range can be done with If Status '2441TH - Main' >= 50° (Temperature) And Status '2441TH - Main' <= 64° (Temperature) Link to comment
Mike Ippolito Posted March 24, 2013 Author Share Posted March 24, 2013 I really missed the fact that we can now act on temp, when was that released? That makes things MUCH easier! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.