Page 1 of 1

Lights on with I/O

Posted: Fri Sep 18, 2015 6:29 pm
by Lionfan
My flot switches are open now that I have a water level sensor.
I've tried copying and pasting skimmer code,but can't figure it out.
I would like one float switch to be a toggle switch, and cut on all the lights,
and the other to cut the skimmer off in the event of the cup being full..
Any help here?

Re: Lights on with I/O

Posted: Sat Sep 19, 2015 5:40 am
by cosmith71
Skimmer code goes something like this:

Code: Select all

/ Turn off skimmer if skimmate locker is full
  if (ReefAngel.HighATO.IsActive()) ReefAngel.Relay.On(Skimmer);
  else ReefAngel.Relay.Override(Skimmer, 0);
Replace "Skimmer" with your skimmer port. This example uses the HighATO. You can use the LowATO if you like. You might need to use !ReefAngel.HighATO.IsActive() (or LowATO) if it works backwards.

This sets an override on the skimmer port. You'll have to clear it with the App or just reset the controller to clear it.

The lighting is a little more complicated. We'll need to know your lighting setup, if you're using dimming, etc.

--Colin