yes.. i want fan on when it hits either threshold.
yes.. i will try to post all parts of the program.
the reliable part is...for some reason..its turning fan of and on every few seconds, and also...if i manually over ride it, the variable keeps setting to 0(which is shut off fan)
variable is just a state
Chicken Humidity Set - [ID 0047][Parent 0015]
If
$coop_hum > 65
And $coop_hum > $outside_hum
And 'Whitehouse / main' Temperature > 40.0°F
Then
$chicken_coop = 2
Else
Run Program 'Chicken Init Var' (If)
Chicken Temperature Set - [ID 004C][Parent 0015]
If
'MQTT / ChickCoop1' Temperature > 85.00°F
And 'MQTT / ChickCoop1' Temperature < 120.00°F
Then
$chicken_coop = 1
Else
Run Program 'Chicken Init Var' (If)
Chicken Fan Control - [ID 0046][Parent 0045]
If
$chicken_coop > 0
Then
Set 'MQTT / ChickCoop3' On
Else
Set 'MQTT / ChickCoop3' Off
Chicken Init Var - [ID 004F][Parent 0045][Not Enabled]
If
$chicken_coop >= 2
Then
Wait 5 minutes and 30 seconds
$chicken_coop = 1
Else
$chicken_coop = 0