
FOXESS
Monitors a FoxESS 3-phase hybrid inverter with battery storage via Modbus RTU
This template reads PV production, grid meter values, load power, battery state of charge, and cumulative energy totals from a FoxESS 3-phase hybrid inverter with battery storage. Communication runs over RS485 using the Modbus RTU protocol at 9600 baud.
- Protocol
- Modbus RTU
- Connection
- RS485, 9600 baud
- Registers
- 15, read only
- Brand
- FoxESS
- Key readings
- PV1 and PV2 power · Meter power R/S/T · Load power R/S/T · Battery power · State of charge (SoC) · Total PV, consumption, load, feed-in energy
- Last updated
Registers (15)
15 read, 0 write
| Name | Unit | Access | Address (Hidden until you enter your email) | Function (hidden) | Type (hidden) |
|---|---|---|---|---|---|
| PV1_U | V | Read | |||
| PV1_P | kW | Read | |||
| Meter powerR | kW | Read | |||
| Meter powerS | kW | Read | |||
| Meter powerT | kW | Read | |||
| Load powerR | W | Read | |||
| SoC | % | Read | |||
| Battery power | kW | Read | |||
| Load powerS | W | Read | |||
| Load powerT | W | Read | |||
| PV2_P | kW | Read | |||
| Tatal PV energy | Read | ||||
| Total consuption energy | Read | ||||
| Total load energy | Read | ||||
| Feed in total | Read |
Loading registers…
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 PV1 and PV2 string power in real time to detect shading or panel degradation.
- Track battery state of charge over time to verify correct charge and discharge cycles.
- Create an alert when grid feed-in power exceeds a contractual export limit on any phase.
- Compare total PV generation against total consumption to calculate self-consumption ratios.
- Generate monthly energy reports for customers using cumulative PV, load, and feed-in counters.
- Verify balanced load distribution across three phases using per-phase load power readings.
Installation
Install the FoxESS Modbus extension module on the inverter and connect the RS485 A and B terminals to the ModbusCloud Gateway.
Set the inverter Modbus slave address to match the address configured in the ModbusCloud template, typically address 1.
Confirm the RS485 baud rate on the inverter is set to 9600, matching the template default.
Import the FoxESS hybrid inverter template from the ModbusCloud template library into your project.
Verify communication by checking that PV1 voltage (register 31000) returns a plausible value on the ModbusCloud dashboard.
Assign meaningful names to each register reading and configure any desired alerts or dashboard widgets.
Things to watch for
The gateway cannot communicate with the inverter. What should I check?
Verify that the Modbus extension module is properly installed in the FoxESS inverter. Check that RS485 A and B wires are not swapped and that the baud rate is set to 9600 on both the inverter and the gateway.
PV power and load power values seem inconsistent. Why?
PV and meter power registers report in kW, while load power registers report in W. Make sure your dashboard scaling accounts for this difference to avoid misreadings.
Cumulative energy values look incorrect or truncated. How do I fix this?
Total energy registers (32000, 32009, 32012, 32021) are uint32 values spanning two consecutive Modbus addresses. Ensure the template is configured to read both addresses as a single 32-bit value with the correct byte order.
Do I need a termination resistor on the RS485 bus?
If the ModbusCloud gateway is at the end of the RS485 bus or the cable run exceeds 10 metres, a 120 ohm termination resistor between A and B is recommended to reduce communication errors.
Want to see how it works?









