Update about integrating the Wifi energy meter of IAMMETER into Home Assistant.
Doc tutorial:https://www.iammeter.com/docs/homeassistant
Short Video tutorial:https://www.iammeter.com/video#home-assistant
How do add a 3 phase energy meter into the Energy management of Home Assistant
Monitor your solar PV monitoring system with Home Assistant, Grafana and influxDB (2)
All YAML files in these tutorials had been listed here.
https://github.com/lewei50/Solar-PV-Monitoring/tree/master/Yaml%20in%20Home%20Assistant
Monitor your solar PV system in home assistant
https://www.youtube.com/watch?v=A8xNTtWG4Dw&feature=youtu.be
Doc tutorial
https://www.iammeter.com/docs/homeassistant#3--monitor-your-solar-pv-system-with-home-assistant
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:
type: horizontal-stackcards:- type: vertical-stackcards:- type: horizontal-stackcards:- type: gaugeentity: sensor.meter3_power_amin: 0max: 1000name: Power Aneedle: trueseverity:green: 0yellow: 500red: 700- type: gaugeentity: sensor.meter3_power_bmin: 0max: 1000name: Power Bneedle: trueseverity:green: 0yellow: 500red: 700- type: gaugeentity: sensor.meter3_power_cmin: 0max: 1000name: Power Cneedle: trueseverity:green: 0yellow: 500red: 700- type: horizontal-stackcards:- type: sensorentity: sensor.monthly_energy_total_aname: Monthly Energy Total A- type: sensorentity: sensor.monthly_energy_total_bname: Monthly Energy Total B- type: sensorentity: sensor.monthly_energy_total_cname: Monthly Energy Total C- type: horizontal-stackcards:- type: sensorentity: sensor.daily_energy_total_aname: Daily Energy Total A- type: sensorentity: sensor.daily_energy_total_bname: Daily Energy Total B- type: sensorentity: sensor.daily_energy_total_cname: Daily Energy Total C- type: history-graphentities:- entity: sensor.energy_total_a- entity: sensor.energy_total_b- entity: sensor.energy_total_chours_to_show: 24refresh_interval: 0- type: vertical-stackcards:- type: horizontal-stackcards:- type: history-graphentities:- entity: sensor.meter3_power_a- entity: sensor.meter3_power_b- entity: sensor.meter3_power_chours_to_show: 1refresh_interval: 0- type: horizontal-stackcards:- type: history-graphentities:- entity: sensor.meter3_voltage_a- entity: sensor.meter3_voltage_b- entity: sensor.meter3_voltage_chours_to_show: 1refresh_interval: 0
# Configure a default setup of Home Assistant (frontend, api, etc)default_config:# Text to speechtts:- platform: google_translategroup: !include groups.yamlautomation: !include automations.yamlscript: !include scripts.yamlscene: !include scenes.yaml# Example configuration.yaml entrysensor:- platform: iammeterhost: 192.168.12.31name: meter3template:- sensor:- name: 'Energy Total A'device_class: energystate_class: total_increasingunit_of_measurement: kWhstate: >{% 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: energystate_class: total_increasingunit_of_measurement: kWhstate: >{% 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: energystate_class: total_increasingunit_of_measurement: kWhstate: >{% 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_acycle: hourlydaily_energy_total_a:source: sensor.energy_total_acycle: dailymonthly_energy_total_a:source: sensor.energy_total_acycle: monthlyhourly_energy_total_b:source: sensor.energy_total_bcycle: hourlydaily_energy_total_b:source: sensor.energy_total_bcycle: dailymonthly_energy_total_b:source: sensor.energy_total_bcycle: monthlyhourly_energy_total_c:source: sensor.energy_total_ccycle: hourlydaily_energy_total_c:source: sensor.energy_total_ccycle: dailymonthly_energy_total_c:source: sensor.energy_total_ccycle: monthly