Update about integrating the Wifi energy meter of IAMMETER into Home Assistant.

Thread Status
5
966
1
0
0

Sort replies by:

 

Details video tutorial: how to integrate 3 phase wifi energy meter into home assistant

Read the sensor value from the 3 phase energy data, use the utility meter in Home Assistant.

The Yaml file used in this video tutorial:

Utility_Meter_demo_ui.yaml


type: horizontal-stack
cards:
  - type: vertical-stack
    cards:
      - type: horizontal-stack
        cards:
          - type: gauge
            entity: sensor.meter3_power_a
            min: 0
            max: 1000
            name: Power A
            needle: true
            severity:
              green: 0
              yellow: 500
              red: 700
          - type: gauge
            entity: sensor.meter3_power_b
            min: 0
            max: 1000
            name: Power B
            needle: true
            severity:
              green: 0
              yellow: 500
              red: 700
          - type: gauge
            entity: sensor.meter3_power_c
            min: 0
            max: 1000
            name: Power C
            needle: true
            severity:
              green: 0
              yellow: 500
              red: 700
      - type: horizontal-stack
        cards:
          - type: sensor
            entity: sensor.monthly_energy_total_a
            name: Monthly Energy Total A
          - type: sensor
            entity: sensor.monthly_energy_total_b
            name: Monthly Energy Total B
          - type: sensor
            entity: sensor.monthly_energy_total_c
            name: Monthly Energy Total C
      - type: horizontal-stack
        cards:
          - type: sensor
            entity: sensor.daily_energy_total_a
            name: Daily Energy Total A
          - type: sensor
            entity: sensor.daily_energy_total_b
            name: Daily Energy Total B
          - type: sensor
            entity: sensor.daily_energy_total_c
            name: Daily Energy Total C
      - type: history-graph
        entities:
          - entity: sensor.energy_total_a
          - entity: sensor.energy_total_b
          - entity: sensor.energy_total_c
        hours_to_show: 24
        refresh_interval: 0
  - type: vertical-stack
    cards:
      - type: horizontal-stack
        cards:
          - type: history-graph
            entities:
              - entity: sensor.meter3_power_a
              - entity: sensor.meter3_power_b
              - entity: sensor.meter3_power_c
            hours_to_show: 1
            refresh_interval: 0
      - type: horizontal-stack
        cards:
          - type: history-graph
            entities:
              - entity: sensor.meter3_voltage_a
              - entity: sensor.meter3_voltage_b
              - entity: sensor.meter3_voltage_c
            hours_to_show: 1
            refresh_interval: 0


 

 

Configuration.yaml


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
  - platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
# Example configuration.yaml entry
sensor:
  - platform: iammeter
    host: 192.168.12.31
    name: meter3
template:
  - sensor:
    - name: 'Energy Total A'
      device_class: energy
      state_class: total_increasing
      unit_of_measurement: kWh
      state: >
        {% if is_number(states('sensor.meter3_importenergy_a')) and states('sensor.meter3_importenergy_a') | int > 0 %}
          {{ states('sensor.meter3_importenergy_a') | float }}
        {% else %}
          None
        {% endif %}
    - name: 'Energy Total B'
      device_class: energy
      state_class: total_increasing
      unit_of_measurement: kWh
      state: >
        {% if is_number(states('sensor.meter3_importenergy_b')) and states('sensor.meter3_importenergy_b') | int > 0 %}
          {{ states('sensor.meter3_importenergy_b') | float }}
        {% else %}
          None
        {% endif %}
    - name: 'Energy Total C'
      device_class: energy
      state_class: total_increasing
      unit_of_measurement: kWh
      state: >
        {% if is_number(states('sensor.meter3_importenergy_c')) and states('sensor.meter3_importenergy_c') | int > 0 %}
          {{ states('sensor.meter3_importenergy_c') | float }}
        {% else %}
          None
        {% endif %}
utility_meter:
  hourly_energy_total_a:
    source: sensor.energy_total_a
    cycle: hourly
  daily_energy_total_a:
    source: sensor.energy_total_a
    cycle: daily
  monthly_energy_total_a:
    source: sensor.energy_total_a
    cycle: monthly
  hourly_energy_total_b:
    source: sensor.energy_total_b
    cycle: hourly
  daily_energy_total_b:
    source: sensor.energy_total_b
    cycle: daily
  monthly_energy_total_b:
    source: sensor.energy_total_b
    cycle: monthly
  hourly_energy_total_c:
    source: sensor.energy_total_c
    cycle: hourly
  daily_energy_total_c:
    source: sensor.energy_total_c
    cycle: daily
  monthly_energy_total_c:
    source: sensor.energy_total_c
    cycle: monthly


 

Monitor your solar PV monitoring system with Home Assistant, Grafana and influxDB (2)

https://www.youtube.com/watch?v=3HO5qDoXubQ

How do add a 3 phase energy meter into the Energy management of Home Assistant

https://youtu.be/gXZhPOrXxXQ

Looks like you are new here. Register for free, learn and contribute.