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 !!!!!!
 

TOP 10 Trending Threads

WHAT FIRST SPARKED YOUR INTEREST IN REEFING?

  • I saw a reef tank that hooked me

    Votes: 17 22.7%
  • I was already keeping freshwater aquariums

    Votes: 31 41.3%
  • A particular fish got me interested

    Votes: 10 13.3%
  • Corals and inverts were the draw

    Votes: 13 17.3%
  • A friend or family member introduced me

    Votes: 8 10.7%
  • The science and ecosystem challenge appealed to me

    Votes: 16 21.3%
  • I stumbled into it… and here we are

    Votes: 9 12.0%
  • Other (Post in the comments)

    Votes: 9 12.0%

New Posts

Back
Top
Home
Post thread…
Market
What's new