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

WHICH TYPE OF MISTAKE TAUGHT YOU YOUR MOST EXPENSIVE REEFKEEPING LESSON?

  • Moving too quickly or adding too much at once

    Votes: 12 34.3%
  • Skipping—or shortening—quarantine or dipping

    Votes: 5 14.3%
  • Buying the wrong equipment the first time

    Votes: 5 14.3%
  • Ignoring maintenance, warning signs, or redundancy

    Votes: 11 31.4%
  • Chasing numbers or making too many changes

    Votes: 3 8.6%
  • Choosing incompatible fish, corals, or invertebrates

    Votes: 5 14.3%
  • Poor aquascaping or tank-design decisions

    Votes: 3 8.6%
  • Failing to research an animal’s needs

    Votes: 1 2.9%
  • Trusting bad advice

    Votes: 4 11.4%
  • Doing something on the tank when you should've gone to bed

    Votes: 5 14.3%
  • Something else—tell us below

    Votes: 4 11.4%
  • I’m still waiting for my first expensive lesson!

    Votes: 3 8.6%

New Posts

Back
Top
Home
Post thread…
Market
What's new