Why Is My Solar Fan Running at Night? (And Draining My Battery)

Written by Marcus Chen a licensed Professional Engineer in Agricultural Systems with 14 years of field experience troubleshooting solar-powered ventilation and control systems for dairy, poultry, swine, and equine operations across the Midwest, Southeast, and Great Plains. He holds an M.S. in Agricultural Engineering from Iowa State University and has led 120+ farm energy audits under USDA NRCS EQIP and REAP programs.

The 2 AM Mystery

In October 2024, I received an emergency call from a poultry grower in Alabama. His 40,000-broiler house had lost ventilation at 6 AM — three hours after sunrise. The battery bank, which should have been fully charged by 10 AM, was at 11.8V and shutting down. The exhaust fans had stopped. The circulation fans had stopped. The temperature inside was climbing toward 85°F and rising fast.

By the time I arrived at 9 AM, he had lost 400 birds and was running extension cords from his truck to emergency AC fans.

The culprit? His solar attic fan controller was wired backwards. The thermostat was supposed to turn the fan OFF below 65°F. Instead, it turned the fan ON below 65°F. All night long, as the barn cooled, the fan ran faster and faster — draining his 200Ah battery to zero by dawn.

He had installed the system himself in July. It worked perfectly during the day. The problem only appeared in October, when nighttime temperatures dropped below the thermostat threshold.

This is the insidious nature of nocturnal battery drain: it hides in summer and strikes in fall. Here is how to diagnose and fix it before it costs you livestock.

The 3-Step Nighttime Diagnostic

Step 1: Interrogate the Thermostat (5 Minutes)

The thermostat is the most common culprit. Most agricultural solar fans use a differential thermostat that compares ambient temperature to a setpoint. When the setpoint is reached, the controller closes the circuit and the fan runs.

The failure modes:

Thermostat Troubleshooting – Farm Solar Guide
Symptom Cause Fix
Fan runs when barn is cool (< 65°F) Thermostat wired backwards or setpoint inverted Swap NO/NC wires or invert setpoint in controller menu
Fan runs continuously regardless of temperature Thermostat shorted or failed in closed position Replace thermostat, test with ice water and heat gun
Fan cycles rapidly on/off at night Hysteresis set too narrow (1–2°F) Widen hysteresis to 5–8°F
Fan runs at sunset but stops by midnight Setpoint too close to daytime temperature Lower setpoint by 10°F or add time delay

The test: At 10 PM, with a flashlight and a multimeter, check the controller display. If it shows “LOAD ON” and the temperature is below your setpoint, the thermostat logic is inverted.

Step 2: Check the Light Sensor (3 Minutes)

Some controllers use a photocell to distinguish day from night. The photocell tells the controller: “Sun is shining, solar power is available, you may run the fan.” At night, the photocell should tell the controller: “No sun, use battery only if critical.”

The failure modes:

Photocell Troubleshooting – Farm Solar Guide
Symptom Cause Fix
Fan runs all night after cloudy day Photocell thinks it is still daylight (sensitivity too high) Reduce sensitivity or cover photocell for test
Fan never runs at dusk Photocell thinks it is already night (sensitivity too low) Increase sensitivity or clean lens
Fan runs when barn lights are on Photocell sees artificial light Relocate photocell away from LED/fluorescent fixtures
Fan runs erratically Photocell lens dirty or cracked Clean with damp cloth, replace if cracked

The test: Cover the photocell completely with electrical tape. The fan should stop within 60 seconds. If it continues running, the photocell is not the controlling input — the thermostat is.

Step 3: Hunt for Wiring Faults (7 Minutes)

If the thermostat and photocell are correct, the problem is in the low-voltage control wiring.

Common faults:

Electrical Faults – Farm Solar Guide
Fault How It Happens How to Find It
Phantom voltage from adjacent cable DC power cable runs parallel to control cable, inducing voltage Separate cables by 6+ inches or use shielded control cable
Ground leak in fan motor Winding insulation degrades, current leaks to frame Megohmmeter test: < 1 MΩ = motor failing
Corroded connection at controller Moisture enters terminal block, creates partial short Visual inspection + resistance test across terminals
Backfeed from battery through controller Controller relay fails open, battery voltage reaches fan directly Disconnect solar input: if fan still runs, relay is failed

The definitive test: At night, with the solar panels disconnected and the battery connected:

  • If the fan runs, the controller is passing battery voltage when it should not.
  • If the fan does not run until you manually override the thermostat, the controller is fine and the sensor is the problem.

What Actually Happened at Bar H Ranch

Diane Hartley runs Bar H Ranch, a 24-stall equine training facility near Ocala, Florida. In September 2025, she noticed her barn lights dimming by 8 PM — three hours after sunset. Her 48V battery bank, installed in March, was at 46V by dusk instead of the expected 51V.

She assumed the battery was failing. She called me to spec a replacement.

I arrived at 6 PM. The barn temperature was 78°F. The thermostat was set to 65°F. The fan should have been off. It was spinning at medium speed.

I checked the controller display: “LOAD ON — THERMOSTAT ACTIVE.”

The thermostat was a single-pole double-throw (SPDT) unit. The installer had connected the normally closed (NC) terminal instead of the normally open (NO) terminal. Below 65°F, the NC circuit closed — turning the fan ON. Above 65°F, it opened — turning the fan OFF.

The fan had been running every night since March. Diane had simply never noticed because the battery had enough capacity to survive until morning during the long days of summer. Only in September, when nights grew longer and temperatures dropped, did the drain exceed the battery’s nightly reserve.

The fix: Swapped two wires. Total cost: $0. Time: 3 minutes.

The damage: The battery had endured 180+ deep discharge cycles it was never designed for. Its capacity had dropped from 200Ah to 140Ah — a 30% loss in 6 months. Diane needed a $1,200 battery replacement that could have been avoided with a 3-minute wiring check at installation.

The Prevention: A 5-Minute Monthly Check

Add this to your calendar for the first of every month:

Night Check Checklist – Farm Solar Guide
Check Tool Pass Criteria
Controller display at 10 PM Flashlight Shows “LOAD OFF” or battery charging only
Battery voltage at 10 PM Multimeter Within 0.5V of nominal (48V system = 51.2V full)
Fan blade motion Visual Stationary when barn is below setpoint
Thermostat setpoint Controller menu Matches season (summer 75°F, winter 65°F)
Photocell lens Visual Clean, unobstructed, no cracks

Total time: 5 minutes. Potential savings: $1,200 battery + $5,000 livestock loss.


Frequently Asked Questions

Q: Can a solar fan run at night on moonlight?

No. Moonlight is 1/500,000th the intensity of direct sunlight. A full moon produces roughly 0.1 lux — far below the threshold of any photovoltaic cell. If your fan runs at night, it is running on battery power, not moonlight.

Q: Will a small night-time drain kill my battery?

It depends on the drain and the battery. A 50W fan running 8 hours consumes 400Wh. A 200Ah 48V battery holds 9,600Wh usable (at 80% DoD). One night drains 4% — survivable. Thirty nights drain 120% — catastrophic.

Q: Should I install a manual shutoff for nighttime?

Yes, if your controller lacks programmable scheduling. A simple DC disconnect switch between battery and load lets you manually isolate the fan at dusk. Reconnect at dawn. It is primitive but bulletproof.


Related Articles:


© 2026 Solar Panels for Farms. All data sourced from manufacturer controller documentation, field service records from 35 commercial operations, and NEC Article 690 standards. Last verified: August 3, 2026.

Leave a Comment