RoboHub

This page was generated from the source of RoboHub. Edit the source, not this page.

Growatt inverter (Modbus RTU)

Reads a Growatt inverter over its RS485 port and presents it as a
RoboHubInverter: PV, load, grid and battery power, the battery's state of
charge, and the PV energy today and in total, as a PowerReading.

The default map: SPF 3000-6000 ES Plus

From Growatt's off-grid RS485 protocol V0.26, input registers (function 04),
read as one block of registers 0-101:

FigureRegistersUnitNote
PV power3-4 + 5-60.1 WPV1 + PV2, 32-bit, high register first
Load power9-100.1 Wthe inverter's AC output
Grid power36-370.1 Wsigned: + from the grid, − export
Battery power77-780.1 Wsigned; Growatt counts discharge as +, the reading counts charge as +
Battery SoC18%
PV energy today48-49 + 52-530.1 kWh
PV energy total50-51 + 54-550.1 kWh

The map has not yet been read from a real inverter. On site, compare the
node's first readings with the inverter's own display before relying on them;
a figure that is wrong is a change to the map in src/growatt.c (or a map
passed to robohub_growatt_init), not to the decode.

Wiring

The inverter's RS485 port (marked RS485, or the BMS/RS485 RJ45 on some units —
check the manual for the pinout) to an RS485 transceiver such as a MAX485 on the
node: A to A, B to B, ground shared. 9600 baud, 8N1, Modbus address 1 unless
holding register 30 was changed. The gateway node reads it with
RH_DEVICE=growatt, RH_RS485_UART, RH_RS485_DE_PIN, RH_RS485_BAUD and
RH_MODBUS_SLAVE.

Another Growatt family (SPH, MOD, MIN) has its own Modbus document and needs its
own map.