Epever wifi 2.4g rj45 d With UPower-Hi

Hi, I fight few days on adding Epver UPower in Home Assistant.
Here is my working configuration.

If it’s not working, comment all sensors except first, and test different slave values.
For me the working one was 10. Maybe for others will be 2, or 4…

modbus:

- name: EPEVER
  type: rtuovertcp
  # type: tcp
  host: 192.168.8.156
  port: 9999
  timeout: 9
  #close_comm_on_error: false
  #retry_on_empty: true
  sensors:
    # Utility
    - name: "Grid Voltage"
      unit_of_measurement: V
      slave: 10
      address: 0x3500
      input_type: input
      scale: 0.01
      precision: 2
    - name: "Grid Current"
      unit_of_measurement: A
      slave: 10
      address: 0x3501
      input_type: input
      scale: 0.01
      precision: 2
    - name: "Grid State"
      # 0:Normal, 1:Low input; 2:High input, 3: No connected
      slave: 10
      address: 0x3511
      input_type: input
    - name: "Grid Total"
      unit_of_measurement: kWh
      slave: 10
      address: 0x350F
      input_type: input
      scale: 0.01
      precision: 2
      data_type: int32
      swap: word
      # count: 2
    # PV Array
    - name: "PV Voltage"
      unit_of_measurement: V
      slave: 10
      address: 0x3549
      input_type: input
      scale: 0.01
      precision: 2
    - name: "PV Current"
      unit_of_measurement: A
      slave: 10
      address: 0x354A
      input_type: input
      scale: 0.01
      precision: 2
    - name: "PV Power"
      unit_of_measurement: W
      slave: 10
      address: 0x354B
      input_type: input
      scale: 0.01
      precision: 2
      data_type: int32
      swap: word
      # count: 2
    - name: "PV Total"
      unit_of_measurement: kWh
      slave: 10
      address: 0x3557
      input_type: input
      scale: 0.01
      precision: 2
      data_type: int32
      swap: word
      # count: 2
    # Load
    - name: "Load Voltage"
      unit_of_measurement: V
      slave: 10
      address: 0x3521
      input_type: input
      scale: 0.01
      precision: 2
    - name: "Load Current"
      unit_of_measurement: A
      slave: 10
      address: 0x3522
      input_type: input
      scale: 0.01
      precision: 2
    - name: "Load Total"
      unit_of_measurement: kWh
      slave: 10
      address: 0x3530
      input_type: input
      scale: 0.01
      precision: 2
      data_type: int32
      swap: word
      # count: 2
    # Battery
    - name: "Battery Voltage"
      unit_of_measurement: V
      slave: 10
      address: 0x3580
      input_type: input
      scale: 0.01
      precision: 2
    - name: "Battery Current"
      unit_of_measurement: A
      slave: 10
      address: 0x3581
      input_type: input
      scale: 0.01
      precision: 2
    - name: "Battery Capacity"
      unit_of_measurement: "%"
      slave: 10
      address: 0x3586
      input_type: input
      scale: 1
    - name: "Battery Temp"
      #ElectricChrgBatteryTemp
      unit_of_measurement: "°C"
      slave: 10
      address: 0x3512
      input_type: input
      scale: 0.01
    - name: "Battery State"
      # 0:Normal, 1:Overvoltage, 2:Undervoltage, 3:Undervoltage Disconnect, 4:Fault
      slave: 10
      address: 0x3589
      input_type: input
    - name: "Charging Mode"
      # 1:Solar Priority, 2:Utility & Solar, 3:Solar
      slave: 10
      address: 0x9607
      input_type: holding
    - name: "Inverter Mode"
      # 0:Inverter priority, 1:Utility Priority
      slave: 10
      address: 0x9608
      input_type: holding
    - name: "Inverter Temp"
      #LoadHeatSink2Temp
      unit_of_measurement: "°C"
      slave: 10
      address: 0x3533
      input_type: input
      scale: 0.01

Other helpers:

sensor:
  - platform: integration
    source: sensor.house_load
    name: energy_used
    unit_prefix: k
    round: 2
  - platform: integration
    source: sensor.pv_power
    name: daily_solar_energy
    unit_prefix: k
    round: 2
    method: trapezoidal
  - platform: integration
    source: sensor.solar_power_flow
    name: solar_energy_daily
    unit_prefix: k
    round: 2

  - platform: integration
    source: sensor.grid_power_flow
    name: grid_energy_daily
    unit_prefix: k
    round: 2

  - platform: integration
    source: sensor.house_load_power
    name: house_energy_daily
    unit_prefix: k
    round: 2

utility_meter:
  daily_solar_energy:
    source: sensor.daily_solar_energy
    cycle: daily

Energy Card:

type: custom:power-flow-card-plus
entities:
  battery:
    entity: sensor.battery_power_flow
    state_of_charge: sensor.battery_capacity
    icon: mdi:battery
  grid:
    entity: sensor.grid_power_flow
    icon: mdi:transmission-tower
  solar:
    entity: sensor.solar_power_flow
    display_zero_state: true
    icon: mdi:solar-power
  solar_energy: sensor.solar_energy_daily
  grid_energy: sensor.grid_energy_daily
  home_energy: sensor.house_energy_daily
  home_consumption: sensor.daily_home_consumption
clickable_entities: true
display_zero_lines: true
use_new_flow_rate_model: true
w_decimals: 0
kw_decimals: 1
min_flow_rate: 0.75
max_flow_rate: 6
max_expected_power: 2000
min_expected_power: 0.01
watt_threshold: 1000
transparency_zero_lines: 0
grid_options:
  columns: 12
  rows: 6

Best regards.