Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 110668

Victron system integration

$
0
0

Hi,

Sorry i have posted this on Victron forum and if something comes up there i’ll sync here.

I have following :

  • Multiplus II
  • Cerbo GX
  • Fronius AC Coupled inverter (connected to Cerbo with modbus)
  • Carlo Gavazzi EM24 meter (connected to Cerbo with modbus)
  • Victron MPPT

My system is 3 phase, the Fronius is producing on L3 and Multiplus II on L1
I want to have the battery, grid and solat into Home Assistant Energy dashboard and i got most of it in but it seems wrong, HASS shows more usage compared to VRM dashboard so i think it’s wrong.

For now i am using :

Grid L1 - Energy from net 2603
Grid L2 - Energy from net 2604
Grid L3 - Energy from net 2605
Grid L1 - Energy to net 2606
Grid L2 - Energy to net 2607
Grid L3 - Energy to net 2608

to get the consumpton from grid and return to grid.

To get the Victron MPPT in i use :
PV - DC-coupled power 850
to get the Fronius production in i use :
PV - AC-coupled on input L3 813

For battery i use :
Battery Power (System) 842
and then i make two sensors to have both + and - energy going to/from battery

My problem is that when i compare VRM portal to HASS i see following :

  • Grid consumption in VRM is lower than HASS shows
  • Solar production is higher in VRM than on HASS
  • Total consumption from GRID is higher on HASS compared to VRM
  • Energy to battery is higher in VRM than on HASS

Any ideas whats causing this ?

30261-1646650701545
30228-1646650727504

30271-1646650715335

30272-1646650750045

I should mention that my electricity provider has a meter where it calculates on all phases therefore i always go for hitting 0 meaning don’t feed back if i can use it. The consumtion in the house is on 3 phases and Victron system using ESS makes sure that when i use 1000w on one phase the system produces 1000w on the phase the inverter is on so the sum is 0w and i don’t pay to use 1000w when i also return 1000w but on another phase. I don’t know if any of this makes problem for the energy dashboard.

Energy dashboard config:

Modbus config :

 -  name: victron
    retry_on_empty: true
    retries: 10
    type: tcp
    host: 10.10.0.85
    port: 502
    sensors:
    - name: "Energy from Grid L1"    
      unit_of_measurement: "kWh"
      slave: 40
      address: 2603
      data_type: uint16
      scale: 0.01
      precision: 1
      scan_interval: 20
      device_class: energy
      state_class: total_increasing
    - name: "Energy from Grid L2"    
      unit_of_measurement: "kWh"
      slave: 40
      address: 2604
      data_type: uint16
      scale: 0.01
      precision: 1
      scan_interval: 20
      device_class: energy
      state_class: total_increasing
    - name: "Energy from Grid L3"    
      unit_of_measurement: "kWh"
      slave: 40
      address: 2605
      data_type: uint16
      scale: 0.01
      precision: 1
      scan_interval: 20
      device_class: energy
      state_class: total_increasing
    - name: 'Energy to Grid L1'
      unit_of_measurement: "kWh"
      slave: 40
      address: 2606
      data_type: uint16
      scale: 0.01
      precision: 1
      scan_interval: 20
      device_class: energy
      state_class: total_increasing
    - name: 'Energy to Grid L2'
      unit_of_measurement: "kWh"
      slave: 40
      address: 2607
      data_type: uint16
      scale: 0.01
      precision: 1
      scan_interval: 20
      device_class: energy
      state_class: total_increasing
    - name: 'Energy to Grid L3'
      unit_of_measurement: "kWh"
      slave: 40
      address: 2608
      data_type: uint16
      scale: 0.01
      precision: 1
      scan_interval: 20
      device_class: energy
      state_class: total_increasing
    - name: "PV - DC power"      
      data_type: uint16
      unit_of_measurement: "W"
      slave: 100
      address: 850
      precision: 2
      scan_interval: 20
      device_class: power
    - name: "PV - AC power Fronius"      
      data_type: uint16
      unit_of_measurement: "W"
      slave: 100
      address: 813
      precision: 2
      scan_interval: 20
      device_class: power
    - name: 'Battery Power System'
      unit_of_measurement: "W"
      slave: 100
      address: 842
      data_type: int16
      scale: 1.0
      precision: 0
      scan_interval: 20
      device_class: power

Sensors :

- platform: integration
  source: sensor.pv_dc_power
  name: "Solar Energy Yield DC"
  unit_prefix: k
  round: 2  
- platform: integration
  source: sensor.pv_ac_power_fronius
  name: "Solar Energy Yield AC"
  unit_prefix: k
  round: 2  
- platform: integration
  source: sensor.battery_charge_power
  name: Battery Charge
  unit_prefix: k
  round: 2
- platform: integration
  source: sensor.battery_discharge_power
  name: Battery Discharge
  unit_prefix: k
  round: 2

Template :

- platform: template
  sensors:    
    battery_discharge_power:
      device_class: power
      friendly_name: "Battery Discharge"
      unit_of_measurement: "W"
      value_template: "{{ max(0, 0 - states('sensor.battery_power_system') | float) }}"
    battery_charge_power:
      device_class: power
      friendly_name: "Battery Charge"
      unit_of_measurement: "W"
      value_template: "{{ max(0, states('sensor.battery_power_system') | float) }}"

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 110668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>