Skip to content

Modbus API reference

The novolto P2300(G)/P3000(G) and P9000 implement a SunSpec Modbus server for direct local control as an alternative to the MQTT API. Detailed documentation on SunSpec Modbus is available at sunspec.org.

Only holding registers are used. All modbus register addresses in this document are zero-based and do not contain prefix-digits to refer to register types.

The modbus server is disabled by default. It can be enabled via the modbus.mode setting. A restart is required for the setting to take effect.

The server is reachable on the standard modbus port 502. The connection is not encrypted. A valid modbus unit id between 1 and 247 must be used, otherwise requests are dropped.

The SunSpec ‘SunS’ marker and following model chain are located at holding register address 40000.

In addition to the required model 1 (Common), the following models are provided on each product type.

In the list of implemented points, scale factors are not listed explicitly. Scale factors are implemented if a field using the scale factor is implemented.

Water heaters provide the following models:

Provides information about the device’s electricity measurements.

The following points are implemented:

Point(s) Notes
ACType Set to SINGLE_PHASE
St ON if heating is active, OFF otherwise
W Provided as an average over 5s
TotWhAbs Reset when rebooting. The field may be changed in the future to be persistent across reboots instead.
TmpOt Measured water temperature

Allows manual control of power output.

The following points are implemented:

Point(s) Notes
WSetEna Maps to the heating.mode setting. DISABLED maps to off. Other modes are represented by ENABLED when reading, writing ENABLED sets the mode to manual. We recommend not using modes other than off and manual if modbus is used.
WSet Maps to the heating.target_power setting. Values must be negative and are clamped between -heating.target_power.max and 0.