
SAJ H2
Hybrid inverter for solar panels, a home battery and backup power.
The SAJ H2 is a hybrid inverter that converts solar power, charges and discharges a home battery and keeps a backup output running during a grid failure. This Modbus TCP template reads PV, battery, grid and load power, battery modules and energy counters and lets you set charge slots, passive mode and the export limit from ModbusCloud.
- Protocol
- Modbus TCP
- Connection
- Ethernet, Modbus TCP
- Registers
- 325, read and write
- Brand
- SAJ
- Key readings
- PV power · Battery power · Grid power · Load power · Battery state of charge · Feed-in energy
- Available commands
- Charge and discharge slots · Passive charge and discharge · Discharge depth · Export limit
- Compatible models
- H2 (5K to 12K) LS2 · H2 (8K to 20K) LT2 · HS2 · Ampere StoragePro
- Last updated
Registers (325)
325 read, 60 write
| Name | Unit | Access | Address (Hidden until you enter your email) | Function (hidden) | Type (hidden) |
|---|---|---|---|---|---|
| Total PV Power | W | Read | 16549 | FC03 | int16 |
| Total Battery Power | W | Read | 16550 | FC03 | int16 |
| System Grid Power | W | Read | 16557 | FC03 | int16 |
| Total Load Power | W | Read | 16544 | FC03 | int16 |
| Total Inverter Power | W | Read | 16553 | FC03 | int16 |
| Battery 1 SOC | % | Read | |||
| Battery Voltage | V | Read | |||
| Battery Current | A | Read | |||
| Battery Temperature | °C | Read | |||
| Inverter Working Mode | Read | ||||
| Fault Message 0 | Read | ||||
| Fault Message 1 | Read | ||||
| Fault Message 2 | Read | ||||
| Error Count | Read | ||||
| Heat Sink Temperature | °C | Read | |||
| Ambient Temperature | °C | Read | |||
| GFCI Leakage Current | Read | ||||
| PV1 Insulation Resistance | Read | ||||
| PV2 Insulation Resistance | Read | ||||
| PV3 Insulation Resistance | Read | ||||
| PV4 Insulation Resistance | Read | ||||
| Grid Voltage R | V | Read | |||
| Grid Current R | A | Read | |||
| Grid Frequency R | Hz | Read | |||
| Grid DC Injection R | Read | ||||
| Grid Power R | W | Read | |||
| Grid Apparent Power R | VA | Read | |||
| Grid Power Factor R | Read | ||||
| Grid Voltage S | V | Read | |||
| Grid Current S | A | Read | |||
| Grid Frequency S | Hz | Read | |||
| Grid DC Injection S | Read | ||||
| Grid Power S | W | Read | |||
| Grid Apparent Power S | VA | Read | |||
| Grid Power Factor S | Read | ||||
| Grid Voltage T | V | Read | |||
| Grid Current T | A | Read | |||
| Grid Frequency T | Hz | Read | |||
| Grid DC Injection T | Read | ||||
| Grid Power T | W | Read | |||
| Grid Apparent Power T | VA | Read | |||
| Grid Power Factor T | Read | ||||
| Inverter Voltage R | V | Read | |||
| Inverter Current R | A | Read | |||
| Inverter Frequency R | Hz | Read | |||
| Inverter Power R | W | Read | |||
| Inverter Apparent Power R | VA | Read | |||
| Inverter Voltage S | V | Read | |||
| Inverter Current S | A | Read | |||
| Inverter Frequency S | Hz | Read | |||
| Inverter Power S | W | Read | |||
| Inverter Apparent Power S | VA | Read | |||
| Inverter Voltage T | V | Read | |||
| Inverter Current T | A | Read | |||
| Inverter Frequency T | Hz | Read | |||
| Inverter Power T | W | Read | |||
| Inverter Apparent Power T | VA | Read | |||
| Backup Output Voltage R | V | Read | |||
| Backup Output Current R | A | Read | |||
| Backup Output Frequency R | Hz | Read | |||
| Backup Output DC Component R | Read | ||||
| Backup Output Power R | W | Read | |||
| Backup Output Apparent Power R | VA | Read | |||
| Backup Output Voltage S | V | Read | |||
| Backup Output Current S | A | Read | |||
| Backup Output Frequency S | Hz | Read | |||
| Backup Output DC Component S | Read | ||||
| Backup Output Power S | W | Read | |||
| Backup Output Apparent Power S | VA | Read | |||
| Backup Output Voltage T | V | Read | |||
| Backup Output Current T | A | Read | |||
| Backup Output Frequency T | Hz | Read | |||
| Backup Output DC Component T | Read | ||||
| Backup Output Power T | W | Read | |||
| Backup Output Apparent Power T | VA | Read | |||
| On-Grid Side Output Voltage R | V | Read | |||
| On-Grid Side Output Current R | A | Read | |||
| On-Grid Side Output Frequency R | Hz | Read | |||
| On-Grid Side Output Power R | W | Read | |||
| On-Grid Side Output Voltage S | V | Read | |||
| On-Grid Side Output Power S | W | Read | |||
| On-Grid Side Output Voltage T | V | Read | |||
| On-Grid Side Output Power T | W | Read | |||
| Bus Voltage Master | V | Read | |||
| Bus Voltage Slave | V | Read | |||
| Battery Current 1 | A | Read | |||
| Battery Current 2 | A | Read | |||
| Battery Power Inverter Side | W | Read | |||
| Battery Energy Percent | % | Read | |||
| PV1 Voltage | V | Read | |||
| PV1 Current | A | Read | |||
| PV1 Power | W | Read | |||
| PV2 Voltage | V | Read | |||
| PV2 Current | A | Read | |||
| PV2 Power | W | Read | |||
| PV3 Voltage | V | Read | |||
| PV3 Current | A | Read | |||
| PV3 Power | W | Read | |||
| PV4 Voltage | V | Read | |||
| PV4 Current | A | Read | |||
| PV4 Power | W | Read | |||
| PV Direction | Read | ||||
| Battery Direction | Read | ||||
| Grid Direction | Read | ||||
| Output Direction | Read | ||||
| CT Grid Power | W | Read | |||
| CT Grid Apparent Power | VA | Read | |||
| CT PV Power | W | Read | |||
| CT PV Apparent Power | VA | Read | |||
| Total Grid Power | W | Read | |||
| Total Grid Apparent Power | VA | Read | |||
| Total Inverter Apparent Power | VA | Read | |||
| Backup Total Load Power | W | Read | |||
| Backup Total Load Apparent Power | VA | Read | |||
| PV Energy Today | kWh | Read | |||
| PV Energy Month | kWh | Read | |||
| PV Energy Year | kWh | Read | |||
| PV Energy Total | kWh | Read | |||
| Battery Charge Energy Today | kWh | Read | |||
| Battery Charge Energy Month | kWh | Read | |||
| Battery Charge Energy Year | kWh | Read | |||
| Battery Charge Energy Total | kWh | Read | |||
| Battery Discharge Energy Today | kWh | Read | |||
| Battery Discharge Energy Month | kWh | Read | |||
| Battery Discharge Energy Year | kWh | Read | |||
| Battery Discharge Energy Total | kWh | Read | |||
| Inverter Generation Today | kWh | Read | |||
| Inverter Generation Month | kWh | Read | |||
| Inverter Generation Year | kWh | Read | |||
| Inverter Generation Total | kWh | Read | |||
| Load Energy Today | kWh | Read | |||
| Load Energy Month | kWh | Read | |||
| Load Energy Year | kWh | Read | |||
| Load Energy Total | kWh | Read | |||
| Backup Load Energy Today | kWh | Read | |||
| Backup Load Energy Month | kWh | Read | |||
| Backup Load Energy Year | kWh | Read | |||
| Backup Load Energy Total | kWh | Read | |||
| Sell Energy Today | kWh | Read | |||
| Sell Energy Month | kWh | Read | |||
| Sell Energy Year | kWh | Read | |||
| Sell Energy Total | kWh | Read | |||
| Feed-In Energy Today | kWh | Read | |||
| Feed-In Energy Month | kWh | Read | |||
| Feed-In Energy Year | kWh | Read | |||
| Feed-In Energy Total | kWh | Read | |||
| PV Energy Today 2 | kWh | Read | |||
| PV Energy Month 2 | kWh | Read | |||
| PV Energy Year 2 | kWh | Read | |||
| PV Energy Total 2 | kWh | Read | |||
| PV Energy Today 3 | kWh | Read | |||
| PV Energy Month 3 | kWh | Read | |||
| PV Energy Year 3 | kWh | Read | |||
| PV Energy Total 3 | kWh | Read | |||
| Sell Energy Today 2 | kWh | Read | |||
| Sell Energy Month 2 | kWh | Read | |||
| Sell Energy Year 2 | kWh | Read | |||
| Sell Energy Total 2 | kWh | Read | |||
| Sell Energy Today 3 | kWh | Read | |||
| Sell Energy Month 3 | kWh | Read | |||
| Sell Energy Year 3 | kWh | Read | |||
| Sell Energy Total 3 | kWh | Read | |||
| Feed-In Energy Today 2 | kWh | Read | |||
| Feed-In Energy Month 2 | kWh | Read | |||
| Feed-In Energy Year 2 | kWh | Read | |||
| Feed-In Energy Total 2 | kWh | Read | |||
| Feed-In Energy Today 3 | kWh | Read | |||
| Feed-In Energy Month 3 | kWh | Read | |||
| Feed-In Energy Year 3 | kWh | Read | |||
| Feed-In Energy Total 3 | kWh | Read | |||
| Feed-In Energy Today All Phases | kWh | Read | |||
| Feed-In Energy Month All Phases | kWh | Read | |||
| Feed-In Energy Year All Phases | kWh | Read | |||
| Feed-In Energy Total All Phases | kWh | Read | |||
| Sell Energy Today All Phases | kWh | Read | |||
| Sell Energy Month All Phases | kWh | Read | |||
| Sell Energy Year All Phases | kWh | Read | |||
| Sell Energy Total All Phases | kWh | Read | |||
| Inverter Discharge Power Setting | Read | ||||
| Inverter Charge Power Setting | Read | ||||
| Battery Discharge Current Setting | A | Read | |||
| Battery Charge Current Setting | A | Read | |||
| Battery Status Display | Read | ||||
| Battery Protocol Setting | Read | ||||
| Battery Charge SOC Upper Limit | Read | ||||
| Battery Discharge SOC Lower Limit | Read | ||||
| Battery DOD Setting | Read | ||||
| Battery Reserve SOC | Read | ||||
| Meter Mode Setting | Read | ||||
| Battery Count | Read | ||||
| Battery Capacity | Read | ||||
| Battery 1 Fault Message | Read | ||||
| Battery 1 Warning Message | Read | ||||
| Battery 2 Fault Message | Read | ||||
| Battery 2 Warning Message | Read | ||||
| Battery 3 Fault Message | Read | ||||
| Battery 3 Warning Message | Read | ||||
| Battery 4 Fault Message | Read | ||||
| Battery 4 Warning Message | Read | ||||
| Battery User Capacity | Read | ||||
| Battery Online | Read | ||||
| Battery 1 SOH | Read | ||||
| Battery 1 Voltage | V | Read | |||
| Battery 1 Current | A | Read | |||
| Battery 1 Temperature | °C | Read | |||
| Battery 1 Cycle Count | Read | ||||
| Battery 2 SOC | % | Read | |||
| Battery 2 SOH | Read | ||||
| Battery 2 Voltage | V | Read | |||
| Battery 2 Current | A | Read | |||
| Battery 2 Temperature | °C | Read | |||
| Battery 2 Cycle Count | Read | ||||
| Battery 3 SOC | % | Read | |||
| Battery 3 SOH | Read | ||||
| Battery 3 Voltage | V | Read | |||
| Battery 3 Current | A | Read | |||
| Battery 3 Temperature | °C | Read | |||
| Battery 3 Cycle Count | Read | ||||
| Battery 4 SOC | % | Read | |||
| Battery 4 SOH | Read | ||||
| Battery 4 Voltage | V | Read | |||
| Battery 4 Current | A | Read | |||
| Battery 4 Temperature | °C | Read | |||
| Battery 4 Cycle Count | Read | ||||
| Battery 1 Discharge Capacity | Read | ||||
| Battery 2 Discharge Capacity | Read | ||||
| Battery 3 Discharge Capacity | Read | ||||
| Battery 4 Discharge Capacity | Read | ||||
| Battery Protection High Voltage | V | Read | |||
| Battery Protection Low Voltage | V | Read | |||
| Battery Charge Voltage | V | Read | |||
| Battery Discharge Cut-Off Voltage | V | Read | |||
| Battery Discharge Current Limit | A | Read | |||
| Battery Charge Current Limit | A | Read | |||
| Meter A Voltage R | V | Read | |||
| Meter A Current R | A | Read | |||
| Meter A Power R | W | Read | |||
| Meter A Apparent Power R | VA | Read | |||
| Meter A Power Factor R | Read | ||||
| Meter A Frequency R | Hz | Read | |||
| Meter A Voltage S | V | Read | |||
| Meter A Current S | A | Read | |||
| Meter A Power S | W | Read | |||
| Meter A Apparent Power S | VA | Read | |||
| Meter A Power Factor S | Read | ||||
| Meter A Frequency S | Hz | Read | |||
| Meter A Voltage T | V | Read | |||
| Meter A Current T | A | Read | |||
| Meter A Power T | W | Read | |||
| Meter A Apparent Power T | VA | Read | |||
| Meter A Power Factor T | Read | ||||
| Meter A Frequency T | Hz | Read | |||
| Device Type | Read | ||||
| Device Subtype | Read | ||||
| Communication Protocol Version | Read | ||||
| Serial Number | Read | ||||
| PC Code | Read | ||||
| Display Software Version | Read | ||||
| Master Control Software Version | Read | ||||
| Slave Control Software Version | Read | ||||
| Display Hardware Version | Read | ||||
| Control Hardware Version | Read | ||||
| Power Hardware Version | Read | ||||
| Charge Time Enable | Read and write | ||||
| Discharge Time Enable | Read and write | ||||
| Charge Slot 1 Start Time | Read and write | ||||
| Charge Slot 1 End Time | Read and write | ||||
| Charge Slot 1 Day Mask And Power | Read and write | ||||
| Charge Slot 2 Start Time | Read and write | ||||
| Charge Slot 2 End Time | Read and write | ||||
| Charge Slot 2 Day Mask And Power | Read and write | ||||
| Charge Slot 3 Start Time | Read and write | ||||
| Charge Slot 3 End Time | Read and write | ||||
| Charge Slot 3 Day Mask And Power | Read and write | ||||
| Charge Slot 4 Start Time | Read and write | ||||
| Charge Slot 4 End Time | Read and write | ||||
| Charge Slot 4 Day Mask And Power | Read and write | ||||
| Charge Slot 5 Start Time | Read and write | ||||
| Charge Slot 5 End Time | Read and write | ||||
| Charge Slot 5 Day Mask And Power | Read and write | ||||
| Charge Slot 6 Start Time | Read and write | ||||
| Charge Slot 6 End Time | Read and write | ||||
| Charge Slot 6 Day Mask And Power | Read and write | ||||
| Charge Slot 7 Start Time | Read and write | ||||
| Charge Slot 7 End Time | Read and write | ||||
| Charge Slot 7 Day Mask And Power | Read and write | ||||
| Discharge Slot 1 Start Time | Read and write | ||||
| Discharge Slot 1 End Time | Read and write | ||||
| Discharge Slot 1 Day Mask And Power | Read and write | ||||
| Discharge Slot 2 Start Time | Read and write | ||||
| Discharge Slot 2 End Time | Read and write | ||||
| Discharge Slot 2 Day Mask And Power | Read and write | ||||
| Discharge Slot 3 Start Time | Read and write | ||||
| Discharge Slot 3 End Time | Read and write | ||||
| Discharge Slot 3 Day Mask And Power | Read and write | ||||
| Discharge Slot 4 Start Time | Read and write | ||||
| Discharge Slot 4 End Time | Read and write | ||||
| Discharge Slot 4 Day Mask And Power | Read and write | ||||
| Discharge Slot 5 Start Time | Read and write | ||||
| Discharge Slot 5 End Time | Read and write | ||||
| Discharge Slot 5 Day Mask And Power | Read and write | ||||
| Discharge Slot 6 Start Time | Read and write | ||||
| Discharge Slot 6 End Time | Read and write | ||||
| Discharge Slot 6 Day Mask And Power | Read and write | ||||
| Discharge Slot 7 Start Time | Read and write | ||||
| Discharge Slot 7 End Time | Read and write | ||||
| Discharge Slot 7 Day Mask And Power | Read and write | ||||
| Passive Charge Enable | Read and write | ||||
| Passive Grid Charge Power | Read and write | ||||
| Passive Grid Discharge Power | Read and write | ||||
| Passive Battery Charge Power | Read and write | ||||
| Passive Battery Discharge Power | Read and write | ||||
| Battery On-Grid Discharge Depth | % | Read and write | |||
| Battery Off-Grid Discharge Depth | % | Read and write | |||
| Battery Charge Upper Limit | % | Read and write | |||
| App Mode | Read and write | ||||
| Battery Charge Power Limit | Read and write | ||||
| Battery Discharge Power Limit | Read and write | ||||
| Grid Max Charge Power | Read and write | ||||
| Grid Max Discharge Power | Read and write | ||||
| Export Limit | Read and write | ||||
| Anti-Reflux Current Limit | Read | ||||
| Anti-Reflux Mode | Read | ||||
| TOU Outside Mode | Read and write | ||||
| Time-Sharing Charge Discharge | Read and write |
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
- Show PV, battery, grid and load power of the inverter on one dashboard next to the battery state of charge.
- Get an email alert when a fault word is not zero or the inverter leaves running mode.
- Track daily, monthly and yearly feed-in and battery energy to see how much solar power stays in the house.
- Compare voltage and power per phase to spot an unbalanced load or a weak grid connection.
- Change the export limit or a discharge slot remotely, for example during a dynamic tariff peak.
Installation
Connect the communication module of the inverter to the network the ModbusCloud Gateway is on, or wire the RS485 port to the RS485 port of the Gateway.
Give the inverter a fixed IP address in the router so the connection keeps working after a restart.
In ModbusCloud, add a Modbus device with the IP address of the inverter, port 502 and unit ID 1, then import this template.
Check that PV power, battery state of charge and grid voltage show plausible values before you write any setting.
Things to watch for
Why do PV3 and PV4 show 65535 or an impossible value?
Inverters with fewer MPPT inputs report 65535 for the inputs they do not have. The same happens for the slave controller version on models with one controller. Ignore those registers or remove them from your dashboard.
Why does the inverter stop answering after a while?
The inverter accepts one Modbus master at a time. If another system, a data logger or an app also polls it over Modbus, connections get dropped. Let only one system read it, and keep the polling interval relaxed.
What value do I write for a power limit?
Power settings such as the export limit, passive charge power and the battery power limits are in tenths of a percent of the rated power: 500 is 50 % and 1000 is 100 %. Check the rated power of your model before you write.
How are the time slots encoded?
Start and end time hold the hour in the high byte and the minute in the low byte. The third register of each slot holds the weekday mask in the high byte and the power in percent in the low byte. Enable a slot with its bit in Charge Time Enable or Discharge Time Enable.
What should I watch out for when writing settings?
Change one setting at a time and read it back. A wrong app mode or discharge depth changes how the battery is used straight away. Writing registers in ModbusCloud is off per gateway until you request it.
More SAJ templates
Want to see how it works?







