Apex sensor programming help

  • Thread starter Thread starter quibimwe
  • Start date Start date
  • Tagged users Tagged users None

quibimwe

New Member
View Badges
Joined
Dec 6, 2021
Messages
5
Reaction score
0
Location
New York, NY
What state or country do you live in
New York
Rating - 0%
0   0   0
Hello,
can you please advise me on how to shut down all apex systems if my sensor detects water?
THank you very much!
 
You need to add a line of code to each output that you want to turn off:

If LeakSensorName CLOSED Then OFF

Each of these outputs needs to be set to the “Advanced” Control Type. If you’re not familiar with this, see my tutorial on Apex Control Types here:

https://www.reef2reef.com/ams/apex-control-types.767/
And check out my whole series of Apex tutorials for more tips and programming examples:

https://www.reef2reef.com/ams/authors/suncrestreef.93940/
Thank you very much!
is there a way to shut down the actual power bar?
 
Thank you very much!
is there a way to shut down the actual power bar?
The only way to do that would be to have the EnergyBar plugged into some other controllable outlet, and if you wanted the Apex to control that outlet as well, it would need to be another EnergyBar, so it's not a very good solution.

You may be able to find some other sort of 3rd-party water leak sensor-controlled outlet. Keep in mind, if you power off the EnergyBar and there's no other source of power for your Apex, the Apex itself will also go offline and you'd have no way to monitor or control other Apex devices on your aquarium, such as powerheads for water movement.
 
The only way to do that would be to have the EnergyBar plugged into some other controllable outlet, and if you wanted the Apex to control that outlet as well, it would need to be another EnergyBar, so it's not a very good solution.

You may be able to find some other sort of 3rd-party water leak sensor-controlled outlet. Keep in mind, if you power off the EnergyBar and there's no other source of power for your Apex, the Apex itself will also go offline and you'd have no way to monitor or control other Apex devices on your aquarium, such as powerheads for water movement.
Very good point!
Thank you !!!!!!
 

WHAT MOST MAKES A BLACK FRIDAY REEF DEAL WORTH CONSIDERING?

  • A real discount on something already on my list

    Votes: 51 77.3%
  • Free or reduced shipping

    Votes: 11 16.7%
  • A useful bundle of gear or supplies

    Votes: 3 4.5%
  • A good price on livestock I’ve already researched

    Votes: 15 22.7%
  • A rare chance to get something hard to find

    Votes: 14 21.2%
  • A seller or brand I trust

    Votes: 13 19.7%
  • I buy when I need something, sale or not

    Votes: 13 19.7%
  • Other (Post in the comments)

    Votes: 1 1.5%
Back
Top
Home
Post thread…
Market
What's new