This works as designed. Thanks. As I was testing, I got to thinking, however. I read a blurb on here recently where once the overflow trips, you want it to stay tripped until you can get to the tank and clear the blockage or whatever was causing the overflow switch to stop the pump. This would prevent the tank from draining, resetting the float switch, restarting the pump until it backed up and tripped the switch again. Is this possible?rimai wrote:Try this:Code: Select all
//turn off port 8 - main pump when switch is tripped and sound buzzer ReefAngel.Relay.Set(Port8,ReefAngel.IO.GetChannel(0)); ReefAngel.PWM.SetDaylight(100-(ReefAngel.IO.GetChannel(0)*100));
Second Question
How long does it take the portal to pick up these alerts and send out the emails? Again I was testing tonite, held the switch tripped for 40-50 seconds, at least, but still didn't send. LMK and Thanks as always.Oh, in this case it is simple.
You can use one of the custom variables.
CODE: SELECT ALL
ReefAngel.CustomVar[0]=ReefAngel.IO.GetChannel(0);
ReefAngel.CustomVar[7]=1;
Then, on the Portal, you can set a trigger to send you alerts when C0 = 0.