All devices

Sofar Solar · Solar inverter

HYD 3...20K-3PH / HYD 3...6K-EP / SOFAR ...KTL-G3 Modbus register map

Download JSONSupplier documentationSuggest an edit

Default configuration

Protocol
Modbus TCP
Port
8899
Unit ID
1
Addressing
0-based
Byte order
Big endian
Word order
High word first

Register map

AddressCountNameTypeUnitScaleAccess
11601
Grid active power at the point of common coupling
Signed; positive means export to the grid.
Int16W10R
11701
Grid current R
UInt16A0.01R
11711
Grid active power R
Signed; positive means export.
Int16W10R
11811
Grid current S
UInt16A0.01R
11821
Grid active power S
Signed; positive means export.
Int16W10R
11921
Grid current T
UInt16A0.01R
11931
Grid active power T
Signed; positive means export.
Int16W10R
11981
External PV active power
Power of cascaded external inverters.
UInt16W10R
14141
PV1 power
UInt16W10R
14171
PV2 power
UInt16W10R
14201
PV3 power
UInt16W10R
14221
PV4 power
UInt16W10R
15421
Battery tower 1 power
Signed; positive means charging (evcc inverts it so that charging is negative).
Int16W10R
15441
Battery tower 1 state of charge
UInt16%1R
15491
Battery tower 2 power
Signed; positive means charging (evcc inverts it so that charging is negative).
Int16W10R
15511
Battery tower 2 state of charge
UInt16%1R
16702
PV generation total
UInt32kWh0.1R
16782
Energy purchased from grid total
UInt32kWh0.1R
43681
Energy storage working mode
0 = self use, 3 = passive (external power setpoint).
Int16-1RW

Notes

Register map from the evcc template https://raw.githubusercontent.com/evcc-io/evcc/master/templates/definition/meter/sofarsolar-g3.yaml (Sofar HYD 5...20K-3PH, HYD 3...6K-EP, SOFAR 5...24KTL-G3 and 80...136KTL-G3), cross-checked against wills106/homeassistant-solax-modbus (custom_components/solax_modbus/plugin_sofar.py). This is the newer 'G3' protocol on a second-generation unit that serves Modbus TCP on port 8899, unit ID 1. The older HYD protocol uses different addresses in the 0x02xx block (evcc template sofarsolar.yaml) and RS-485 at 9600 8N1 - a device on that protocol needs the other map. Grid power and per-phase power are signed, positive = export to the grid. The registers are holding registers; the battery registers are repeated for up to eight BTS 5K towers and advance by seven registers per tower, so only towers 1 and 2 are listed here (power 0x0606/0x060D/0x0614/..., state of charge 0x0608/0x060F/0x0616/...). Battery compatibility: SOFAR's compatible-battery declaration for the HYD hybrid (2024-07-12) lists SOFAR BTS 5K and BTS E5-20-DS5, Pylontech US2000/US3000/US5000 and Force H1/H2/H3, WeCo GTX 3000H/5000/5000P/5000S, 4K4/4K4LT/4K4 PRO/5K3, H48050/H48074 and lead-acid - https://downloads.sofarsolar.eu/wp-content/uploads/sofar/Declarations/Technik%20Declaration/SOFAR%20HYD%20Inverter_Declaration_Compatible%20Battery%20List_2024-07-12_en-EU.pdf.