FoxESS FoxESS H3 Series Hybrid Inverter (pv) Modbus RTU template

FoxESS H3 Series Hybrid Inverter (pv)

The FoxESS H3 Series is a three-phase hybrid solar inverter designed for residential and small commercial PV installations with battery storage. This Modbus RTU template reads the per-string DC power output of the H3 Series inverter: PV string 1 power at register 31002 and PV string 2 power at register 31005, both as signed 16-bit watt values. Connecting these two live readings into the ModbusCloud Gateway lets installers verify string-level generation balance, catch shading or soiling issues early, and keep a timestamped record of PV yield without relying on the FoxESS cloud.

Protocol
Modbus RTU
Connection
RS485
Registers
2, read only
Brand
FoxESS
Last updated

Registers (2)

2 read, 0 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
power_aWRead31002FC03int16
power_bWRead31005FC03int16

Loading registers…

The ModbusCloud Gateway, front at an angle, with the RS485 terminal and the antenna connectors

Send your device list

If a device is not in the library yet, we build the template for free as soon as we have the register data.

Use cases

  • Monitor PV string 1 and string 2 power in real time to detect imbalance between the two arrays.
  • Track daily peak power per string to verify that panels are performing within expected output ranges.
  • Alert on a sudden drop in power_a or power_b during daylight hours to identify a potential string fault.
  • Compare string outputs across multiple H3 Series sites to benchmark system performance by location.
  • Report per-string PV generation data to building owners as part of monthly energy performance reviews.

Installation

  1. Enable Modbus RTU on the FoxESS H3 Series inverter: navigate to the communication or RS485 settings menu on the inverter display and confirm that Modbus is active with slave ID 247 (factory default).

  2. Wire the ModbusCloud Gateway RS485 terminals to the dedicated Modbus pins on the H3 COM connector, noting that the H3 pinout differs from the H1 series. Use a twisted pair cable and do not connect to the meter or CT clamp pins.

  3. In the ModbusCloud portal, add the Gateway, create a new device, import the FoxESS H3 Series Hybrid Inverter (pv) template, and assign unit ID 247 to match the inverter slave address.

  4. Verify the connection by checking that registers 31002 and 31005 return plausible watt values during daylight. Zero readings at midday indicate a wiring or slave-ID mismatch.

Things to watch for

Both power registers read zero even during daylight. Why?

The most common cause is an incorrect slave ID. The FoxESS H3 Series uses slave ID 247 by default. Confirm the value in the inverter communication menu and ensure the ModbusCloud Gateway is configured to poll the same ID. A mismatched ID returns no error, just zero or empty responses.

The gateway connects but register values seem stuck or frozen. What now?

The H3 COM connector shares pins with the energy meter or CT clamp. If the meter is also wired to the Modbus pins, bus contention can cause stale reads. Confirm your RS485 wires connect only to the designated Modbus pins on the H3 COM connector, not to the meter input pins.

Why do power_a and power_b return unexpected negative values?

Registers 31002 and 31005 are signed int16 values. Negative readings are not expected for PV power under normal operation and usually indicate a wiring polarity issue on the RS485 bus (A and B lines swapped) or a firmware edge case at very low irradiance near sunrise or sunset.

I get exception code 0x83 from the inverter. What does that mean?

Exception code 0x83 (function code 3 error) with exception 2 means the requested register address is not available on this firmware version or model variant. Confirm you are using an H3 Series unit and not an H3 PRO or H3 Smart, which use different register addresses for PV power.

Want to see how it works?

Electrician working in an open distribution board