The Server Room Sentinel.
A room that watches its own air, water, power and doors. Twenty-five hazards, each with a sensing principle, a confirmation rule and an action that happens locally — before anyone opens a laptop.
Why the room needs its own brain
A monitoring card tells you a number. It does not close the chilled-water valve, drop the non-essential circuits, inhibit a battery charger, or prove that the contactor actually closed. Those are decisions with a physical consequence, and they belong in the room, not in a browser tab.
The Sentinel is one controller with isolated inputs and a relay bank. It samples continuously, applies a rule with hysteresis and confirmation, acts through the relay, and writes the event with the sensor, the zone and the time. The network is a reporting path, never the mechanism.
25 ways the room can fail — and what it does about each.
A hazard without a confirmation rule is a false alarm waiting to happen. A rule without an action is a dashboard. Every row has both.
| Hazard | Sensing | Confirmation rule | Local action |
|---|---|---|---|
| Smouldering smoke | Photoelectric smoke, laser particulate | 3 frames above 3 %/m in 3 s, confirmed by a rising particulate count | Local alarm, release fire panel, drop non-essential power |
| Flaming fire | Ionisation smoke, IR flame | Flame signature for 2 s AND smoke above threshold; either alone only warns | Suppression permissive, power isolation, evacuate |
| Water ingress | Zoned leak rope, flood probe | Any wet zone for 5 s; a probe confirms depth | Close the feed valve, stop the condensate pump, alarm |
| Condensation | Temperature, humidity, dew point, pipe temperature | Dew point within 1.5 °C of the cold surface for 5 min | Raise the chilled-water setpoint, dehumidify, warn |
| Humidity high | Capacitive humidity | Above 65 %RH for 10 min | Dehumidify, check the door state, warn |
| Humidity low / static | Capacitive humidity | Below 25 %RH for 30 min | Humidify, warn; static risk is a real hardware fault |
| Room over-temperature | Six temperature nodes | Inlet above 28 °C for 2 min | Standby fan, economiser, staged shutdown ladder |
| Rack hot spot | Thermal array, IR thermometer | A pixel 15 °C above its neighbours for 3 min | Ramp that rack's fans, page with the pixel map |
| Explosive gas | Catalytic combustible gas | Above 10 % LEL; trip at 20 % LEL | Force ventilation, inhibit charging, isolate non-essential power |
| Battery off-gassing | Hydrogen at the ceiling | Above 100 ppm and rising for 60 s | Inhibit the charger, ventilate, alarm |
| Carbon monoxide | Electrochemical CO at the intake | Above 25 ppm for 60 s, or 50 ppm at any time | Close the outdoor intake, stop the generator, evacuate |
| Refrigerant leak | Blend-specific refrigerant sensor | Above 500 ppm for 30 s | Stop the CRAC, ventilate, alarm; asphyxiation risk |
| Ozone / arcing | Electrochemical ozone, VOC trend | Ozone above 100 ppb with a VOC rise near a panel | Isolate the affected circuit, inspect, warn |
| Oxygen depletion | Electrochemical oxygen | Below 19.5 % for 30 s | Evacuate, ventilate, do not enter |
| Dust build-up | Optical dust, particulate counter | Above 150 µg/m³ with the room closed | Boost filtration, schedule cleaning, warn |
| Filter / airflow loss | Differential pressure, fan current | Below 80 Pa draft OR a commanded fan with no current for 10 s | Switch to standby fan, alert with the filter state |
| Power loss | Isolated voltage sense, UPS contacts | Mains absent for 200 ms | Log the event, start the shutdown timer, notify |
| UPS on battery | UPS dry contact | On-battery for 5 s | Shed non-essential loads, start the runtime estimate |
| UPS battery failing | Battery voltage and current, runtime trend | Runtime estimate falls 30 % below the 30-day baseline | Replace the string, report the trend |
| Over-current | Current clamps per circuit | Above 110 % of the learned band for 5 s | Trip that circuit, keep the room alive |
| Door forced | Reed contact, PIR | Contact opens without a valid release, or no motion after a release | Local alarm, log the event, notify |
| Door held open | Reed contact, door timer | Open longer than 180 s | Increasing chime, HVAC setback suspended, notify |
| Vibration / fan wear | Accelerometer, piezo | Bearing-band energy 6 dB over baseline for 3 h | Maintenance ticket; trip only at 12 dB |
| Suppression discharge | Pressure switch on the suppression cylinder | Discharge contact closed | Cut all power, seal the room, evacuate, notify |
| Lightning nearby | Lightning detector | Any strike within 10 km | Pause outdoor work, protect the surge path, log |
Five stages, from a sample to a shutdown.
The controller never jumps from one reading to an evacuation. It earns each step with evidence and time.
1 · Sample
Every sensor is read on its own cadence: smoke at 1 Hz, temperature at 0.5 Hz, power every cycle. Raw values are filtered and timestamped before any rule sees them.
2 · Confirm
Three frames, a second sensor, a trend over minutes, or a door state. Confirmation is what separates a real event from a dust mote or a Wi-Fi hiccup.
3 · Act locally
Close the valve, stop the pump, drop the circuit, start the fan, sound the horn. The action is a relay and a rule, not a round trip.
4 · Report
One message with the hazard, the zone, the value, the confirmation and the action taken. If the link is down, it queues and says so on recovery.
5 · Recover
Latched faults stay latched. Clearing requires the condition to be gone and a person to acknowledge, so a flickering sensor cannot silently re-arm the room.
The rule that matters
Every output has a read-back. If the contactor did not close, the controller knows within a second and says “commanded, not confirmed” — the most useful sentence in the log.
The wiring, in one page
Controller. An Arduino-class board with a real-time clock, a watchdog and a brown-out detector. It runs the rules, keeps the ring buffer and drives the display.
Inputs. Every external line is opto-isolated or buffered, fused, and protected with a TVS diode. Long runs use shielded twisted pair, grounded at one end. Analogue sensors get an RC filter and a median-of-five sample.
Outputs. A relay bank with flyback diodes and a separate coil supply. The safety chain is hard-wired: E-stop and certified fire contact in series with the contactor coil, independent of the microcontroller.
Power. The controller sits on a small UPS or a dedicated 5 V supply with a supercapacitor hold-up, so it can log the last seconds of a power event instead of dying mid-write.
Record. A 30-day ring buffer on flash, exported as JSON/CSV. The clock is synchronised but the rules never depend on the network.
The same path serves every build on this site. Only the sensors and the actions change.
What does your room need to survive?
A single rack in a closet and a twelve-rack plant room need different answers. Tell me the room, the utilities and the failure you have already had.