All devices

Pylontech · Home battery

Force H3X (battery stack with integrated PCS) Modbus register map

Default configuration

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

Register map

AddressCountNameTypeUnitScaleAccess
300108
Manufacturer
16 ASCII characters, two per register, high byte first; the source falls back to "Pylontech" when it reads blank.
Ascii-1R
300188
Model
16 ASCII characters, two per register; the source falls back to "Force H3X" when it reads blank.
Ascii-1R
300268
Serial number
16 ASCII characters, two per register.
Ascii-1R
301061
AC power factor
UInt16-0.01R
301071
AC power factor direction
UInt16-1R
301082
Grid power
Signed; the source adds it to PV power and battery power to obtain the load power.
Int32W1R
301171
Fault code
UInt16-1R
301181
Warning code
UInt16-1R
301191
PV1 input voltage
PV string 1, mV per count at 0.1 V. The cited source takes the unit from its sensor description (V) and the factor from its decoder (0.1).
UInt16V0.1R
301201
PV1 input current
PV string 1, 0.1 A per count. The source derives PV1 power by multiplying this and the voltage above, which is not seeded as a register of its own.
UInt16A0.1R
301211
PV2 input voltage
PV string 2, 0.1 V per count.
UInt16V0.1R
301221
PV2 input current
PV string 2, 0.1 A per count.
UInt16A0.1R
301231
PV3 input voltage
PV string 3, 0.1 V per count.
UInt16V0.1R
301241
PV3 input current
PV string 3, 0.1 A per count.
UInt16A0.1R
301272
PV total power
Int32W1R
301292
PV total energy
Float32kWh1R
301311
Grid voltage, phase R
0.1 V per count. The source withholds its average-grid-voltage value when a phase voltage reads 0 or 0xFFFF, which means the phase is absent rather than zero.
UInt16V0.1R
301331
Grid voltage, phase S
0.1 V per count; see the phase R row for the 0 / 0xFFFF rule.
UInt16V0.1R
301351
Grid voltage, phase T
0.1 V per count; see the phase R row for the 0 / 0xFFFF rule.
UInt16V0.1R
301401
Grid frequency
UInt16Hz0.01R
301461
Inverter ambient temperature
Int16°C0.1R
301471
Inverter heatsink temperature
Int16°C0.1R
301482
Fault bit field
32-bit fault bit field; the source exposes it as a number and does not name its bits.
UInt32-1R
301502
Warning bit field
32-bit warning bit field; the source exposes it as a number and does not name its bits.
UInt32-1R
301521
Firmware update state
UInt16-1R
301562
Grid import energy
Float32kWh1R
301582
Grid export energy
Float32kWh1R
301622
Battery power
Signed; the source does not print which direction is positive, but adds this value to PV and grid power to obtain the load power.
Int32W1R
301641
Battery voltage
UInt16V0.1R
301651
Battery current
Int16A0.1R
301661
Charge-forbidden mask
Bit mask; the source reads it to know which chargers may not charge and does not name the bits.
UInt16-1R
301671
Discharge-forbidden mask
Bit mask; the source reads it to know which loads may not discharge and does not name the bits.
UInt16-1R
301681
Forced charge request
UInt16-1R
301701
EPS voltage
UInt16V0.1R
301711
EPS frequency
UInt16Hz0.01R
301722
EPS power
Signed; positive is output to the backup (EPS) loads.
Int32W1R
301742
Battery charge energy
Float32kWh1R
301762
Battery discharge energy
Float32kWh1R
301782
Battery charge energy from AC
Float32kWh1R
301802
EPS output energy
Float32kWh1R
301821
State of charge
UInt16%1R
306262
Extended fault bit field
32-bit fault bit field of the extended block; the source does not name its bits.
UInt32-1R
306282
Extended warning bit field
32-bit warning bit field of the extended block; the source does not name its bits.
UInt32-1R
306311
Parallel slave state
UInt16-1R
306322
Parallel system PV power
Int32W1R
306342
Parallel system battery power
Int32W1R
306491
Battery capacity
Scaled by 0.01. This is the parallel system's capacity: the source uses it only when the PCS reports more than one parallel machine, and drops it rather than publish it as a single-system capacity otherwise.
UInt16kWh0.01R
306502
Parallel system rated power
UInt32W1R

Read this device live with Modbus Connect, free for Windows, macOS and Linux

Related guides

Combined registers

  • Load power (calculated)PV power plus grid power (calculated) + Holding registers 30162 (W)PV power plus grid power plus battery power, all in W, which is how the cited source derives the home load power.
  • PV power plus grid power (calculated)Holding registers 30127 + Holding registers 30108 (W)

Notes

Register map from the Home Assistant integration Pylontech-Research/HA-pylontech-force-H3X (same repository as github.com/pylontech-sw/HA-pylontech-force-H3X, both at commit 851eafc437cbf96969adb31ddf7155aa6e1bafed), files custom_components/pylontech_fh3x/protocol.py, const.py, sensor.py and api.py, retrieved 2026-11-23. It is NOT vendor-published: its implementation follows the manufacturer's PCS V1.36 and BMS V1.67 specifications, which it does not distribute - a secondary source. The H3X is an all-in-one - battery stacks with an integrated PCS (PV inputs, grid port, backup output, EMS) - serving two unit IDs on one Modbus TCP connection: the PCS at unit 2 and the BMS at unit 1 (const.py PCS_DEVICE_ID=2, BMS_DEVICE_ID=1, with a pause between them). This seed is the PCS at unit 2; the BMS half is the same Force block as pylontech-force-h1-h2-h3 (0x1000/0x1100/0x1400, unit 1, same scales), so a complete H3X is this page plus that. Port 502 is the source's default and Modbus TCP has to be enabled by the installer. Reads are holding registers with an input-register fallback (api.py tries holding, then input), so every row is a holding register at the wire address the decoder uses, and 32-bit values are high word first (protocol.py: high << 16 | low). No write register is seeded: the source states its writable controls are unvalidated on hardware and must stay disabled. Each unit comes from the sensor description in sensor.py and each factor from the decoder in protocol.py, which carries no units - so what it decodes without publishing a unit is left out, as are the software-version rows (four dotted bytes), the computed load power (added as a calculated row), the average grid values, and the per-module and per-cell BMS arrays. Where this source disagrees with the beolink Force map - 0x0A and 0x21 unsigned here and signed there, 0x23/0x25 rolling counters here against today counters there - the rows of pylontech-force-h1-h2-h3 say so.

Related devices