Aquarium Automation: Monitoring That Prevents Disasters
This article may contain affiliate links. If you make a purchase through these links, we may earn a small commission at no extra cost to you. This helps us keep creating free content.
A 300 W aquarium heater with a welded-shut relay will drive a 200 liter tank from 25 C to above 32 C in a few hours, and most tropical fish and nearly all corals are already in trouble well before that. The heater is not broken in a way you can see. It is doing exactly what a heater does, forever, because the mechanical thermostat inside it failed closed.
That is the shape of every aquarium disaster worth automating against. Nothing dramatic happens. One component keeps doing its job past the point where the job should have stopped, and 6 hours later a tank that took 3 years to mature is gone. Monitoring exists to catch that window, and the automation you build has to assume that the thing controlling the equipment is itself capable of failing.
Four failure modes account for most total losses
| Failure | Time to serious harm | What a sensor sees |
|---|---|---|
| Heater stuck on | 2 to 8 hours (own estimate, depends on volume and room temperature) | Temperature rising past setpoint plus 0.8 C and not stopping |
| Heater stuck off | 6 to 24 hours (own estimate) | Slow drift toward room temperature |
| Return pump stopped | 1 to 6 hours in a stocked tank (own estimate) | Pump power draw collapsing to near 0 W, or flow switch open |
| Top-off or dosing pump running away | Minutes to hours | Pump on-time exceeding its normal daily total |
Each of those has a sensor answer, and each of them also has a limit answer. The sensor tells you. The limit stops it. Building only the first half is the mistake that makes people distrust automation on tanks.
A stuck heater is the fastest total loss
The standard defense is a controller that switches the heater through a relay or a smart plug and sets the heater's own dial 2 C above the target, so the internal thermostat becomes a backstop rather than the primary control. If the controller relay welds closed, that dial is the only thing between the tank and a runaway.
The stronger version separates the two paths entirely. Heater 1 on 150 W plugged into the controlled outlet, heater 2 on 150 W plugged into a plain outlet with its dial set 1 C below the target, so it carries the tank if the controller dies but never fights it during normal operation. Two 150 W heaters instead of one 300 W unit also means a single stuck heater has half the runaway power.
Two temperature sensors, and they must disagree out loud
One probe gives you a number. Two probes give you the ability to tell a tank problem from a sensor problem. Cheap DS18B20 style probes drift, corrode at the junction, and fail in ways that read plausible: a probe that reports a flat 25.0 C for 3 days straight is more likely dead than the tank is stable.
- Probe A drives the heater logic, mounted in high flow near the return.
- Probe B does nothing but report, mounted at the opposite end of the tank or in the sump.
- An automation compares them every 60 seconds and alerts when they diverge by more than 0.5 C for 10 minutes.
- A separate rule alerts when either probe reports the identical value for over 2 hours, which catches a frozen reading.
Calibrate both against a laboratory-grade thermometer at setup and again every 6 months. A 0.3 C offset is normal and correctable; a 1.5 C offset that appeared over one month means the probe is on its way out.
An alert has to name the tank, the value and the deadline
"Aquarium alert" on a phone at 02:00 is close to useless. The person reading it is half asleep and needs to decide in 5 seconds whether to get out of bed. Three fields make that possible: what is wrong, by how much, and how long there is.
Compare "High temperature warning" against "Reef tank 27.9 C, up 2.4 C in 90 minutes, heater outlet still drawing 148 W". The second one tells you the heater is the cause, that the trend is fast, and that the controller has not managed to cut power. It also tells you which action to take remotely: cut that outlet, then watch the wattage. If the 148 W do not fall, the switch itself is stuck and no remote action will help, which is the moment to wake someone who can pull the plug by hand.
- Warning threshold: setpoint plus 0.8 C, notification only.
- Critical threshold: setpoint plus 1.5 C, repeating notification plus an automatic outlet cutoff.
- Escalation: if no acknowledgement inside 15 minutes, notify a second person.
- Every alert names the tank. A household with 2 or 3 systems needs to know which one.
A stopped pump is silent, and stratification hides it
A return pump that seizes at 03:00 makes no noise, because it made noise before and now it does not, and nobody wakes up to absence. Meanwhile oxygen exchange stops, the sump stratifies, and the display temperature can stay convincingly normal for the first hour while the sump quietly goes cold.
The most reliable detection is electrical. A smart plug with energy monitoring on the return pump reports 45 W under normal load and drops toward 0 W when the impeller stalls or the pump loses prime. An alert on "pump outlet below 10 W for 3 minutes" catches a stall, a tripped outlet and an unplugged cable with a single rule. A blocked intake is subtler because the pump keeps drawing power while moving little water, which is where a flow switch or a second temperature probe in the sump earns its place: a sump drifting 1 C away from the display means water is not circulating between them.
Auto top-off is the mechanism that floods the floor
An auto top-off system replaces evaporated fresh water, typically 1 to 5 liters a day depending on the system and the room. It is also the single most common cause of a flooded floor in a reefkeeping household, because the float switch that tells it to stop is a mechanical part sitting in water with salt creep and snails.
The defense is layered, and each layer has to be independent of the one above it:
- Primary float or optical sensor calls for water.
- A second, physically separate high-level switch cuts power to the top-off pump directly, wired in series, not through the controller.
- A software runtime limit: if the top-off pump has run more than 90 seconds in one event or more than 10 minutes in 24 hours, lock it out and alert.
- The reservoir itself holds no more fresh water than the system can absorb without disaster, which for many tanks means a 10 liter container rather than a 50 liter one.
That last one is the layer people skip and the one that actually bounds the damage. A controller can fail, a float can stick, wiring can be wrong. A reservoir that physically cannot hold enough water to crash the salinity is a limit that no software bug can talk its way past.
Dosing pumps move small volumes that add up fast
A peristaltic doser typically moves 1.0 to 1.5 ml per second. A pump that should run 40 seconds and instead runs until someone notices will empty a 2 liter supplement container into the tank in roughly 25 minutes. For alkalinity or calcium supplements, that is not a water quality problem, it is a chemistry event the livestock does not survive.
The same layering applies, with one addition: keep the container smaller than the dose the tank could tolerate where the chemistry allows it, and site the dosing lines so that a siphon cannot start. A doser mounted below the liquid level in the reservoir can siphon continuously even with the motor off, which is a failure that needs no electronics at all to happen. Mount the pump head above the full level of the reservoir, or run the line in a loop above that level, so a stopped motor cannot turn into an open pipe.
Water on the floor is the cheapest failure to detect
A leak sensor under the stand is among the least expensive parts in the room and it catches the failure class that damages the house rather than the tank. Place them at the low points: under the sump, under the tank stand itself, behind the reservoir, and next to any pump that has a union fitting.
The stronger version pairs detection with action. A leak sensor that triggers a shutdown of the return pump stops a sump overflow from continuing to pump the display down onto the floor. Set that shutdown to notify loudly at the same time, because a return pump left off for 8 hours is its own emergency and the automation just created it.
Power cuts, and the order things come back
A 30-minute outage is survivable in most tanks. The danger is at restoration. Every heater, pump and light comes back at once, the controller reboots into whatever state it defaults to, and a heater that was mid-cycle can restart into a tank whose probe has not yet reported.
- Confirm what each smart plug does after power loss. The setting is usually called power-on state, and the correct value for a heater outlet is almost never "always on".
- Stagger restarts: return pump first, then heater 30 seconds later once flow exists, then everything else. Heating a stagnant tank puts all the energy in a 5 cm column around the element.
- A small uninterruptible supply that keeps only the controller and an air pump running for 60 to 90 minutes buys more survival per unit of spend than one sized to carry the whole system.
- Log the outage. A tank that recovers cleanly but lost 3 C is worth a water test the next morning.
Chemistry probes drift, and drift looks like data
pH and ORP probes degrade continuously. A glass pH probe has a working life around 12 to 18 months in a running system, and its slope flattens gradually rather than failing outright. A probe reading 8.1 when the tank is at 7.9 is worse than no probe, because it justifies a dosing decision that is wrong in a specific direction.
Two-point calibration with fresh reference solutions at 7.0 and 10.0, every 8 to 12 weeks, is the minimum for any probe that feeds an automation. If a probe controls a dosing pump or a carbon dioxide solenoid, treat its calibration date as a hard expiry: past the date, the automation drops to manual and alerts. A stale probe with authority over chemistry is the same risk as a welded relay, arriving slower.
Alarm fatigue turns a safety system into background noise
A monitoring setup that sends 15 notifications a day gets muted inside a week, and the muted system is worse than none because it created a false sense of coverage. Every alert needs a threshold that a healthy tank crosses close to never.
Separate the channels by consequence. Temperature above critical, leak detected and pump stopped belong on a channel that overrides a silent phone. A slow pH drift, a doser calibration due, a top-off reservoir at 20 percent belong in a daily summary that arrives at 09:00 and can wait. If a category of alert has fired more than 3 times in a month without a real problem behind it, the threshold is wrong, not the tank.
Local logic first, remote visibility second
Everything that protects livestock has to run without the internet. The heater cutoff, the top-off runtime limit, the leak shutdown: those decisions belong on hardware in the room, executing with no dependency on a broadband line or an external service. Remote access is for seeing the tank while you are away and for cutting an outlet manually, which is worth having and is not worth a single life-support decision.
The order of build follows from that. Redundant temperature sensing and the independent heater backstop come first, then pump-state detection, then leak sensors, then runtime limits on anything that adds water or chemicals. Lights, feeders, colored dashboards and automated water changes come after all of it. A tank that never gets an automated water change survives. A tank whose doser ran for 25 minutes does not.
β‘Disclaimer: This article is for informational purposes only. Smart home installations may involve electrical wiring and must comply with local building codes. Electrical work should only be performed by a licensed electrician.
Published by the SmartHome Automate editorial team. Published November 16, 2026.
Editorial responsibility: see Imprint.
Spotted an error or have something to add? corrections@smarthomeautomate.com
Explore more
All articles on SmartHome Automate β
Smart Home Tips, Delivered
New guides, device reviews, and automation ideas β every week in your inbox.
π Free bonus: Smart Home Starter Checklist (PDF)