Warning What does this mean?

Your system is down or running degraded, but this is not an immediate safety danger. Work through the safe steps below.

Deye Inverter Warning W31 — Is Your Battery Still Talking to It?

Deye Inverter Warning W31 — Is Your Battery Still Talking to It?

W31 (Battery_comm_warn) is a warning — not a shutdown fault — telling you that communication between your Deye hybrid inverter and the battery’s management system (BMS) has become abnormal. The inverter keeps running, but it’s flagging that the battery data it steers by — state of charge, voltage, temperature, charge and discharge limits — may be stale or unreliable. Treat W31 as an early warning, not background noise: check the BMS link now, while everything still works, because degraded battery communication is how bigger battery faults start.

What should I do first?

Two quick questions — we'll point you to the right starting point.

Is this code still showing on your inverter's display?

What this code means

Deye’s fault codes come in two flavours, and the letter matters. F-codes are faults: the inverter stops the affected function. W-codes are warnings: the inverter carries on but wants you to know something isn’t right. W31 is firmly in the second camp — abnormal battery communication that hasn’t yet crossed the line into a stoppage.

What’s actually degrading? The continuous data stream from the battery’s BMS. A modern lithium battery isn’t a dumb box of cells; its BMS reports state of charge, cell voltages, temperature, and the charge/discharge current limits the inverter must respect. The inverter plans every charge and discharge around those numbers. When the link goes “abnormal” — intermittent dropouts, garbled data, values that don’t make sense — the inverter can’t fully trust what it’s being told. It warns you with W31 and typically falls back to more conservative battery management until the data is reliable again.

That fallback is why W31 deserves prompt attention rather than panic. Nothing is in immediate danger, but your battery is no longer being managed with full information — charging may be slower, discharging may be curtailed, and the state-of-charge reading on your app may not be telling the truth.

What is this downtime costing you?

Rough estimate while your system isn't producing. Adjust the numbers to match your setup.

–per day
–per week
–per 30 days

≈ – kWh of lost production per day.

Estimate only — assumes ~80% real-world output vs. nameplate. Actual losses depend on weather, shading, panel direction, and your tariff.

Common causes

  • A loose, corroded, or poorly seated BMS communication cable between the inverter and the battery.
  • The battery’s BMS in alarm or protection — when the BMS is busy protecting the cells, communication is often the first thing to degrade.
  • A protocol or firmware mismatch — the battery speaking a CAN/RS485 protocol version the inverter doesn’t fully understand, common with batteries not on Deye’s compatibility list or after a one-sided firmware update.
  • The battery switched off, in deep sleep, or its breaker open — intermittent power means intermittent data.
  • Electrical noise on the communication cable — long cable runs bundled hard against AC power cables can corrupt the signal.
  • A failing BMS or communication port on either the battery or the inverter — the least common cause, but the one a persistent W31 eventually points to.

Safe steps to try

Work top to bottom, ticking off each step as you complete it. 0 of 5 done.

Is your inverter still under warranty?

Before paying for a repair, check — your installer may fix this free.

Based on typical standard warranty terms — always confirm with your warranty card or installer paperwork, as terms vary by model, region, and purchase date.

When to call an electrician

Call your installer if W31 keeps returning after a restart, if the battery displays its own alarm, or if you notice the battery charging or discharging oddly — stopping early, refusing to discharge in the evening, or showing a state of charge that jumps. Deye’s official guidance for W31 is a two-part check: whether the BMS connection is stable, and whether the BMS data is abnormal — diagnosing either needs someone who can read the BMS telemetry and verify the protocol match. One hard safety line: if the battery ever shows swelling, unusual heat, a chemical smell, or hissing, stop using the system, ventilate the area, keep clear, and call your installer and emergency services — that’s a battery emergency, not a communication warning.

Frequently asked questions

It’s only a warning — can I just ignore W31?

You can, but you shouldn’t. Warnings are how inverters ask for help before a fault: abnormal battery communication degrades charge management and tends to get worse, not better. A ten-minute check now beats a dead battery bank later.

Will my battery still charge and discharge with W31 showing?

Usually, yes — but conservatively. The inverter manages the battery on limited or fallback data, so expect slower charging, curtailed discharging, and a state-of-charge reading you shouldn’t fully trust.

Does W31 mean my battery is failing?

Not usually. In most cases the cells are fine and the problem is the conversation about them — the cable, the connector, or the protocol setting. Cell problems announce themselves differently, typically with the battery’s own alarms.

How urgent is it, really?

“This week,” not “this minute” — unless the battery itself is alarming, hot, or swelling, in which case it’s immediate. Don’t let a W31 sit for months, though; chronic poor battery management shortens battery life..

Need a professional?

This fault may need professional diagnosis. Contact a qualified solar electrician in your area.

Sources: meaning and troubleshooting verified against the manufacturer's documentation — Deye Three Phase Hybrid Inverter SUN-5-12K SG04LP3 Fault List (deyeinverter.com) — “W31 Battery_comm_warn: Abnormal battery communication. 1. Check whether the BMS connection is stable; 2. Check whether the BMS data is abnormal; 3. Seek help from us, if can not go back to normal state.”