When a solar battery fills normally during sunny daytime hours but refuses to charge from the AC utility grid overnight or during off-peak windows, the battery cells and DC charging pathways are fully functional. The problem stems from upstream power routing controls: either software policy restricts AC grid charging, the inverter’s AC charger stage is disabled, or out-of-spec utility voltage and frequency prevent grid synchronization.
Quick Answer
If your battery charges from solar but ignores the grid, your battery hardware is healthy. The issue is almost always a software block—such as an active “Charge from Grid” restriction, Time-of-Use (TOU) schedule lockout, or an out-of-spec AC grid profile (voltage/frequency mismatch). Enable grid charging in your app and verify off-peak scheduling windows first.
Diagnostic Snapshot
- System Status: DC PV charging operational; AC-to-DC grid charging path inactive or blocked.
- Safety Severity: Low; no immediate electrical hazard, but leaves the system vulnerable to depleted reserves during extended overcast weather.
- Common Cause: Disabled “Grid Charging” toggle in software, restrictive Time-of-Use profiles, or AC grid parameters outside tolerance thresholds.
- Operational Impact: Inability to pre-charge before storms or capitalize on cheap off-peak utility rates.
What This Usually Means
Charging a battery from rooftop solar versus charging it from the utility grid requires two distinct power pathways inside a hybrid or AC-coupled storage system:
+─────────────────────────────────────────────────────────────+
| DUAL CHARGING PATHWAY OVERVIEW |
+─────────────────────────────────────────────────────────────+
| 1. SOLAR (DC Path): |
| PV Panels ──(DC)──► MPPT Controller ──(DC)──► Battery |
| [STATUS: WORKING] |
| |
| 2. GRID (AC Path): |
| Grid ──(AC)──► Inverter Bi-Directional Rectifier ──► Batt|
| [STATUS: BLOCKED / DISABLED] |
+─────────────────────────────────────────────────────────────+
Because your battery charges successfully from solar, the internal Battery Management System (BMS) contactors, cell balancing circuits, and DC bus are operating normally.
For grid charging to occur, several conditions must be met:
- Software Permission: The system profile must explicitly allow grid power to flow backward into DC storage. In many jurisdictions, grid charging is disabled by default to comply with solar tax incentive guidelines or utility interconnection agreements.
- AC Bidirectional Rectification: The inverter must synchronize with the incoming AC waveform and engage its internal rectifier to convert AC utility power back into DC storage voltage.
- Grid Parameter Compliance: The incoming AC voltage and frequency must sit strictly within the programmed “Grid Code” window (e.g., 240V ±10% at 60Hz in North America). If the grid fluctuates outside these bounds, the inverter disconnects its AC charging circuit to protect internal components.
How to Tell Which Cause You Have
Use these diagnostic checkpoints to determine whether the grid charging failure is caused by software logic, schedule conflicts, or utility-side power issues:
- App Feature Lock vs. System State: Check your manufacturer app (Tesla, Enphase Enlighten, SolarEdge, FranklinWH, or Victron VRM). If the app has an explicit toggle for “Charge from Grid” that is turned off or greyed out, software policy is the sole cause.
- Scheduled Window Failures: If grid charging works when manually forced via “Storm Watch” or “Emergency Charge” mode, but fails during regular nighttime hours, the issue is an incorrect Time-of-Use schedule, inverted AM/PM settings, or an uncalibrated gateway clock.
- Inverter Grid Sync Errors: If the inverter displays active AC warnings such as “Grid Voltage Out of Range” or “Grid Frequency Abnormal” while grid charging is attempted, the inverter’s AC stage is rejecting the utility supply.
- AC-Coupled Inverter Disconnect: In AC-coupled systems (where the battery has its own dedicated storage inverter separate from the solar inverter), verify whether the battery inverter’s AC breaker in the critical loads panel has tripped while the main solar array continues backfeeding the home.
Most Likely Causes
- “Grid Charging” Disabled in User Settings: Many manufacturers default systems to “Green Mode,” “Self-Powered,” or “Solar Only” to prioritize 100% renewable self-consumption, actively preventing any grid import to the battery.
- Time-of-Use (TOU) or Price-Cap Logic: If the system is programmed with utility rate tiers, the inverter will block grid charging whenever it believes current rates are above the off-peak threshold.
- Utility Interconnection / Grid Profile Restrictions: Installers frequently disable grid charging during commissioning to satisfy local utility net-metering contracts or regulatory rules that prohibit storing grid power for export arbitrage.
- AC Utility Voltage or Frequency Drift: If neighborhood grid voltage rises too high (often above 252V) or dips too low, the inverter will drop the AC charging relay while remaining connected on the DC solar side.
- Damaged Bi-Directional Inverter Bridge: In rare hardware failures, the MPPT buck-converter on the DC solar side functions, but the bidirectional IGBT/MOSFET H-bridge responsible for AC-to-DC rectification is damaged.
What Can Make It Worse
- Outdated System Firmware: Bugs in older energy management firmware can cause communication lockups between the utility metering gateway and the battery inverter, freezing automated charge schedules.
- Time Drift on Energy Gateways: If the gateway loses internet connection or sync with network time servers, its internal clock drifts, causing off-peak charging commands to trigger during peak daytime hours when grid charging is forbidden.
- High Battery State of Charge (SoC): If the battery reserve limit is already met (e.g., resting at 80% when the grid target is 80%), the system will ignore the grid entirely until discharged.
- Sub-Panel AC Voltage Drop: Undersized AC wiring between the main service panel and the battery inverter causes excessive voltage drops under high-amperage grid charging, prompting the inverter to abort charging.
What to Do Right Now
- Enable Grid Charging in the Mobile App: Open your system settings and locate the grid charging option (e.g., in the Tesla app: Settings > Energy > Advanced Options > Charge from Grid; in Enphase: Menu > Settings > Battery Storage > Charge battery from grid).
- Trigger a Temporary Manual Charge: Set the system to “Backup Reserve: 100%” or activate “Storm Mode.” If the battery begins drawing grid power immediately, the hardware is functional and the root issue is your standard operating schedule.
- Verify Gateway Time and Region: Confirm that your system monitoring portal reflects the correct local time, date, and time zone.
Testing & Verification
Work through these steps to determine if the issue is a software setting, a metering glitch, or an AC line fault:
+─────────────────────────────────────────────────────────────────────────+
| GRID CHARGING DIAGNOSTIC FLOW |
+─────────────────────────────────────────────────────────────────────────+
| 1. Test Manual Override: |
| - Raise Backup Reserve to 100% in app. |
| - If Grid Charge starts -> Issue is TOU schedule or operating mode. |
| - If Grid Charge fails -> Proceed to Step 2. |
+─────────────────────────────────────────────────────────────────────────+
| 2. Measure AC Line Voltage at Inverter Terminals: |
| - Use a digital multimeter across L1-L2 AC terminals. |
| - Normal Range: 230V - 245V (North America). |
| - If Voltage > 252V or < 216V -> Utility out of spec; inverter locks.|
+─────────────────────────────────────────────────────────────────────────+
| 3. Check System Event History: |
| - Look for grid rejection faults: "AC Overvoltage," "Grid Lost," |
| or "Frequency Drift" in inverter log. |
+─────────────────────────────────────────────────────────────────────────+
If the system charges from the grid only when the solar panels are completely shut off, review [INTERNAL LINK: S01C01.12 – Why Your Battery Charges from the Grid but Not Solar] to check for opposing priority conflicts.
Resolution
| Diagnostic Finding | Root Cause | Fix Path |
|---|---|---|
| “Charge from Grid” option toggled off in app | Software permission disabled | Enable “Charge from Grid” in user settings or contact installer if locked behind installer permissions. |
| Fails during scheduled off-peak hours only | TOU schedule or clock mismatch | Reconfigure rate schedule and sync system gateway clock with network time. |
| Inverter reports “Grid Code Mismatch” / “AC Out of Range” | Utility voltage/frequency out of tolerance | Have installer widen allowable grid parameters in accordance with local utility guidelines. |
| Grid charging drops as soon as battery hits 80% | Battery optimization limit active | Adjust upper charge ceiling in energy management settings. |
When to Stop / Call for Service
Cease user troubleshooting and contact an authorized installer or licensed electrician if:
- The inverter emits an electrical buzzing or loud clicking noise followed by an immediate AC breaker trip when grid charging begins.
- Multimeter measurements show the AC grid supply is within normal voltage tolerances, but the inverter reports zero AC voltage detected.
- Grid charging is permanently locked out by the manufacturer due to regional regulatory mandates that require installer re-certification to change.
Warranty & Professional Escalation
If an installer or manufacturer support ticket is required, gather the following diagnostic records:
- System Operating Mode Screenshot: Showing current battery reserve settings, TOU schedules, and grid charging permissions.
- Inverter Error Logs: Export of all recent fault codes covering AC voltage, frequency, or internal communication events.
- AC Voltage Measurements: Recorded L1-N, L2-N, and L1-L2 voltages measured at the inverter AC input terminals during peak and off-peak hours.
- Inverter and Gateway Serial Numbers: Located on the product nameplates.
Check your system monitoring app to verify that “Charge from Grid” is enabled and set your backup reserve to 100% to confirm the AC charging circuit engages.