Energy integration with 3 phases electrical installation

Hello there,

My house is electrically installed with 3 phases. I have installed successfully a Iammeter energy counter which works great (I’ve got the data and sensors).

Now I want to be able to monitor Energy consumption with the Energy menu of HA. I’m stuck in step1 because HA doesn’t find any sensor.

Any clues or person who have done the same integration will be greatly appreciated.

Note: I 've added a sensor which does the sum of the 3 phases like that:

template:
  - sensor:
      - name: "Total puissance instantanée"
        unique_id: total_power
        device_class: power
        unit_of_measurement: "kW"
        state_class: measurement
        state: >
          {% set powerA = states('sensor.iammeter_power_a') | float %}
          {% set powerB = states('sensor.iammeter_power_b') | float %}
          {% set powerC = states('sensor.iammeter_power_c') | float %}

          {{ ((powerA + powerB + powerC) / 1000) | round(2, default=0) }}
      - name: "Total puissance importée"
        unique_id: total_importenergy
        unit_of_measurement: "kWh"
        device_class: energy
        state_class: total_increasing
        state: >
          {% set powerA = states('sensor.iammeter_importenergy_a') | float %}
          {% set powerB = states('sensor.iammeter_importenergy_b') | float %}
          {% set powerC = states('sensor.iammeter_importenergy_c') | float %}

          {{ ((powerA + powerB + powerC) / 1000) | round(2, default=0) }}
      - name: "Total intensité instantanée"
        unique_id: total_current
        unit_of_measurement: "A"
        state_class: measurement
        state: >
          {% set powerA = states('sensor.iammeter_current_a') | float %}
          {% set powerB = states('sensor.iammeter_current_b') | float %}
          {% set powerC = states('sensor.iammeter_current_c') | float %}

          {{ (powerA + powerB + powerC) | round(2, default=0) }}

And try to add a utility meter like that:

utility_meter:
  monthly_energy:
    source: sensor.total_importenergy
    cycle: monthly
    name: Energy utility meter (monthly)
    tariffs:
      - hpleines
      - hcreuses
      - hpleines
      - hcreuses
  daily_energy:
    source: sensor.total_importenergy
    cycle: daily
    name: Energy utility meter (daily)
    tariffs:
      - hpleines
      - hcreuses
      - hpleines
      - hcreuses

All sensors are visible and seems to work.

I don’t find how to configure the tariffs. I found many examples but no one explains how to configure the tarrifs. May be it is the source of my problem.

1 Like