Hi,
Hopefully you can help shine some light onto something I've been beating my head against the wall on.
I'm trying to figure out how to program an output which I have a fan plugged in to which is controller based on both the temp of the tank, but also using the oscillate timer, as I occasionally want to move the air around in the tank room.
The challenge I seem to be bumping in to is that the IF statement doesn't support OR / AND, I understand the order of operations, but I cannot seem to get it working.
For the sake of "simplicity", I've created two virtual outputs, one for the timer and one for the temp, which I wanted to tie together in the real output.
The behavior I want is
Hopefully you can help shine some light onto something I've been beating my head against the wall on.
I'm trying to figure out how to program an output which I have a fan plugged in to which is controller based on both the temp of the tank, but also using the oscillate timer, as I occasionally want to move the air around in the tank room.
The challenge I seem to be bumping in to is that the IF statement doesn't support OR / AND, I understand the order of operations, but I cannot seem to get it working.
For the sake of "simplicity", I've created two virtual outputs, one for the timer and one for the temp, which I wanted to tie together in the real output.
- Virtual Output "CoolingTemp"
- Fallback OFF
Set OFF
If Temp_1 > 27.5 Then ON
Defer 000:10 Then ON
If Temp_1 < 27.3 Then OFF
- Fallback OFF
- Virtual Output "CoolingTime"
- Fallback OFF
Set OFF
OSC 000:00/001:00/030:00 Then ON
- Fallback OFF
- Real Output "Fan1"
- Fallback OFF
Set OFF
If Output CoolingTemp = ON Then ON
If Output CoolingTime = ON Then ON
If Output CoolingTemp = OFF Then OFF
If Output CoolingTime = OFF Then OFF
- Fallback OFF
The behavior I want is
- If CoolingTemp or CoolingTime is on, then on.
- If CoolingTemp and CoolingTime is off, then off.