[Custom Component] SAJ H2 Inverter

Hi everyone,

Iโ€™d like to introduce the SAJ H2 Inverter Modbus integration for Home Assistant โ€“ designed for SAJ H2/HS2 inverters and likely compatible with Ampere Solar (EKD-Solar) inverters too! It reads data via Modbus TCP and brings powerful control to your setup.

:star2: Features

  • :bar_chart: Over 190 Registers: Monitor power, energy, temperature, battery stats, and more.
  • :alarm_clock: Charge Battery with Grid Power: New! Set charging times and power levels, plus switch between Self-Consumption and Time-of-Use modes.
  • :gear: Configurable Polling: Adjust the update interval anytime via the UI.
  • :electric_plug: Smart Connection Management: Optimized Modbus TCP handling, especially for AIO3 models.

:satellite: Compatibility

Built for SAJ H2/HS2 Inverters using the SAJ H2 Protocol. Should also work with Ampere Solar Inverters (based on SAJ HS2).

:bulb: Get Started

Find it on GitHub.

Iโ€™d love to hear your feedback or contributions!

2 Likes

@stanus74 thanks for yet another update! I am trying it out now. One question, it seems to have permanently set my charging power to 25%. Is there a reason the integration only goes to 25%?

Version 1.8.1 is avaiable

1 Like

For users of my integration, I highly recommend the Sunsynk Power Flow Card (available via HACS) to beautifully visualize your energy production, consumption, battery status, and individual load details. This intuitive Lovelace card provides a clear and attractive overview of your entire energy system, allowing you to monitor and optimize your power usage at a glance.

Check it out here:

Yaml code which I currently use



type: custom:sunsynk-power-flow-card
cardstyle: full
show_solar: true
battery:
  energy: 10000
  shutdown_soc: 20
  show_daily: true
  max_power: 9000
  soc_end_of_charge: 90
  shutdown_soc_offgrid: 20
solar:
  show_daily: true
  mppts: 1
load:
  colour: "#5fb6ad"
  show_daily: true
  show_daily_aux: true
  show_aux: true
  invert_aux: false
  show_absolute_aux: false
  aux_loads: 2
  aux_load1_name: Boiler
  aux_load2_name: HK IR
  aux_load1_icon: mdi:water-boiler
  aux_load2_icon: mdi:heat-wave
  animation_speed: 8
  max_power: 8000
  auto_scale: true
  dynamic_colour: true
  path_theshold: 100
  off_threshold: 0
grid:
  show_daily_buy: true
  show_daily_sell: true
  show_nonessential: false
entities:
  use_timer_248: switch.sunsynk_toggle_system_timer
  priority_load_243: switch.sunsynk_toggle_priority_load
  inverter_voltage_154: sensor.sunsynk_inverter_voltage
  load_frequency_192: sensor.saj_r_phase_grid_frequency
  inverter_current_164: sensor.
  inverter_power_175: sensor.saj_inverter_power
  grid_connected_status_194: null
  inverter_status_59: sensor.saj_inverter_status
  day_battery_charge_70: sensor.saj_battery_today_charge
  day_battery_discharge_71: sensor.saj_battery_today_discharge
  battery_voltage_183: sensor.saj_battery_1_voltage
  battery_soc_184: sensor.saj_battery_1_soc
  battery_power_190: sensor.saj_battery_power
  battery_current_191: sensor.saj_battery_1_current
  battery_temp_182: sensor.saj_battery_temperature
  grid_power_169: sensor.saj_grid_load_power
  day_grid_import_76: sensor.saj_sum_all_phases_feed_in_today
  day_grid_export_77: sensor.saj_sum_all_phases_sell_today
  grid_ct_power_172: sensor.saj_ct_grid_power_watt
  day_load_energy_84: sensor.saj_total_today_load
  essential_power: none
  nonessential_power: none
  aux_power_166: none
  day_pv_energy_108: sensor.saj_power_current_day
  pv1_power_186: sensor.saj_pv1_power
  pv2_power_187: null
  pv1_voltage_109: sensor.saj_pv1_voltage
  pv1_current_110: sensor.saj_pv1_total_current
  radiator_temp_91: sensor.saj_inverter_temperature
  environment_temp: sensor.gw1100a_outdoor_temperature
  aux_load1: sensor.sd_1_power
  aux_load2: sensor.sd_hk_3_power
  
inverter:
  three_phase: true
  modern: true
  autarky: power

Must Read! eBooks on Intelligent Battery Management for PV Systems

I would like to recommend 2 PDFs to you. They contain a very professional information & tipps of intelligent management of a PV system with battery storage.

(Note: The PDFs are also available in German.)