
SofarSolar Hybrid Inverter (grid)
The SofarSolar Hybrid Inverter is a grid-tied PV and battery storage inverter designed for residential and small commercial installations. This template targets the grid measurement interface of the Hybrid Inverter and communicates via Modbus RTU over RS485. It reads total active grid power, per-phase currents for all three phases, and a cumulative grid-side energy counter. Together these registers give you a complete picture of import and export behaviour at the grid connection point, making it straightforward to track energy flows and verify grid compliance from the ModbusCloud portal.
- Protocol
- Modbus RTU
- Connection
- RS485
- Registers
- 5, read only
- Brand
- SofarSolar
- Compatible models
- Inverter · Hybrid Inverter
- Last updated
Registers (5)
5 read, 0 write
| Name | Unit | Access | Address (Hidden until you enter your email) | Function (hidden) | Type (hidden) |
|---|---|---|---|---|---|
| power | W | Read | |||
| currents_a | A | Read | |||
| currents_b | A | Read | |||
| currents_c | A | Read | |||
| energy | Wh | 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 total active grid power to verify the inverter is not exceeding permitted export limits.
- Track per-phase currents on phases A, B, and C to detect phase imbalance across the installation.
- Alert on unexpected sustained grid import during daylight hours to identify battery or PV faults.
- Report cumulative grid-side energy to building owners for monthly settlement and self-consumption calculations.
- Compare live grid power against expected PV production to spot configuration or wiring issues early.
Installation
Enable Modbus RTU on the SofarSolar Hybrid Inverter via the inverter's LCD menu under the communication or Modbus settings section, and note the configured slave ID (default is typically 1).
Connect the ModbusCloud Gateway to the inverter's RS485 port using a shielded twisted-pair cable: A+ to A+ and B- to B-. Use the RJ45 port on the inverter where pins 2/3/4 are A+ and pins 1/5/6 are B-, and set the link to 9600 baud, 8 data bits, no parity, 1 stop bit.
In your ModbusCloud portal, add the Gateway, import the SofarSolar Hybrid Inverter (grid) template, and assign the Modbus slave unit ID that matches the setting on the inverter.
Verify the connection by checking live readings for the power register in the portal: under normal grid-connected operation you should see a non-zero signed value; a zero or no-response result indicates a wiring or ID mismatch.
Things to watch for
The power register always reads zero. What should I check?
Confirm the inverter is in normal grid-connected operation, not in standby or fault state. Also verify the slave ID in the portal matches the ID configured on the inverter LCD. A mismatch will result in no response, which the Gateway may report as zero.
Phase current registers return garbage or implausible values. Why?
SofarSolar hybrid inverters report phase currents as signed int16 values with a scaling factor applied in firmware. If values look implausible, confirm you are reading the registers as int16 and not uint16. Also check that the baud rate is set to 9600 and parity to none on both ends of the RS485 link.
No data arrives even though the Gateway shows the RS485 link is up.
Try swapping the A and B wires on the RS485 connection. SofarSolar inverters are commonly wired with A and B reversed relative to standard labelling, and swapping them resolves communication immediately. Also ensure no other device on the same RS485 bus is using the same slave ID.
The cumulative energy counter resets or jumps unexpectedly. Is this normal?
The energy register is a uint32 accumulator that increments continuously. A jump can occur after a firmware update or full power cycle of the inverter. Record the offset in your portal dashboard and use delta calculations for billing-grade reporting rather than relying on the raw absolute value.
Want to see how it works?








