
SofarSolar Hybrid Inverter (battery)
The SofarSolar Hybrid Inverter is a residential and light-commercial solar storage system that combines PV generation with battery management in a single unit. This template connects via Modbus RTU over RS485 and reads two core battery registers: charge or discharge power and battery state of charge. With these values available in your ModbusCloud portal, installers and building owners can track real-time energy flow and battery capacity without manual inspection of the inverter display. The SofarSolar Hybrid Inverter suits rooftop solar installations where continuous battery visibility is needed.
- Protocol
- Modbus RTU
- Connection
- RS485
- Registers
- 2, read only
- Brand
- SofarSolar
- Compatible models
- Inverter · Hybrid Inverter
- Last updated
Registers (2)
2 read, 0 write
| Name | Unit | Access | Address (Hidden until you enter your email) | Function (hidden) | Type (hidden) |
|---|---|---|---|---|---|
| power | W | Read | |||
| soc | % | 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 battery charge and discharge power in real time to verify the SofarSolar Hybrid Inverter is cycling correctly.
- Track state of charge over time to detect gradual battery capacity fade across seasons.
- Alert on state of charge dropping below a threshold to identify unexpected overnight discharge events.
- Compare charge power readings against expected PV output to confirm self-consumption is operating correctly.
- Report daily battery utilisation cycles to support maintenance decisions and warranty documentation.
Installation
Enable Modbus RTU on the SofarSolar Hybrid Inverter by navigating to the communication or Modbus section in the inverter menu and setting a unique slave address between 1 and 63.
Connect the ModbusCloud Gateway to the inverter RS485 port using a twisted-pair cable: wire A+ and B- terminals correctly, keeping cable runs short and terminating the bus if the Gateway is the last device.
In the ModbusCloud portal, add your Gateway, import the SofarSolar Hybrid Inverter template, and assign the slave address configured on the inverter.
Verify communication by checking that the power and soc registers show live values in the portal; if readings are absent, try swapping the A and B wires on the RS485 connection.
Things to watch for
Why does the power register always read zero or garbage?
Register 525 returns battery charge or discharge power as a signed int16 with a scaling factor of 0.01 kW. If your polling tool applies no scaling, values will appear ten or one hundred times larger than expected, or may look like noise. Confirm the data type is int16 and apply the correct scaling in your portal configuration.
The Gateway connects but no register values appear. What should I check?
First confirm the slave address in the portal matches the address set on the inverter. SofarSolar hybrid inverters default to slave address 1, but this can be changed via the LCD menu. Also verify the RS485 baud rate is 9600, 8 data bits, no parity, 1 stop bit, which is the standard for this device family.
Communication is intermittent. What causes this on RS485?
Intermittent RS485 communication is usually caused by swapped A and B wires, missing bus termination, or excessively long or unshielded cable runs. Try swapping the A and B connections at the Gateway end first, as polarity reversal is a common wiring error. Add a 120-ohm termination resistor at each end of a long bus run.
The SOC register shows a value above 100. Is this a fault?
A value well above 100 on the soc register typically indicates a data type mismatch. Confirm you are reading address 528 as uint16 with function code 3. If byte order is reversed at the application layer, the raw bytes may be swapped, producing an implausible result. The SofarSolar protocol uses big-endian byte order.
Want to see how it works?








