09-04-2025, 08:38 AM
So seller completely ignores my and our requests to somehow fix the device. That is very sad. I asked for documentation and help setting calibration or offsets, but nothing.
)(02-01-2026, 05:32 AM)edalquist Wrote: [ -> ]Here is an updated ESPHome config: https://gist.github.com/edalquist/42c6f8...a66ba41d59Great!!! this yamls works perfect!!!
It has a bunch of tweaks:
* Defines device_class and state_class for all sensors which enables statistics in home assistant and allows integration with the various energy monitoring features
* Allow setting max-current for each sensor via an input slider, this is used to control the LED color
* Set a global LED brightness
kiloptero Wrote:im creating a lot of entities for creating sensors to detect the kwh with low consume. any idea?
# -------------------------
# Phase L1 (01–10)
# -------------------------
- platform: integration
source: sensor.m30_power_monitor_l1_01_watt
name: energy_l1_01
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l1_02_watt
name: energy_l1_02
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l1_03_watt
name: energy_l1_03
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l1_04_watt
name: energy_l1_04
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l1_05_watt
name: energy_l1_05
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l1_06_watt
name: energy_l1_06
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l1_07_watt
name: energy_l1_07
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l1_08_watt
name: energy_l1_08
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l1_09_watt
name: energy_l1_09
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l1_10_watt
name: energy_l1_10
unit_prefix: k
round: 3
method: trapezoidal
# -------------------------
# Phase L2 (11–20)
# -------------------------
- platform: integration
source: sensor.m30_power_monitor_l2_11_watt
name: energy_l2_11
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l2_12_watt
name: energy_l2_12
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l2_13_watt
name: energy_l2_13
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l2_14_watt
name: energy_l2_14
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l2_15_watt
name: energy_l2_15
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l2_16_watt
name: energy_l2_16
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l2_17_watt
name: energy_l2_17
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l2_18_watt
name: energy_l2_18
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l2_19_watt
name: energy_l2_19
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l2_20_watt
name: energy_l2_20
unit_prefix: k
round: 3
method: trapezoidal
# -------------------------
# Phase L3 (21–30)
# -------------------------
- platform: integration
source: sensor.m30_power_monitor_l3_21_watt
name: energy_l3_21
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l3_22_watt
name: energy_l3_22
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l3_23_watt
name: energy_l3_23
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l3_24_watt
name: energy_l3_24
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l3_25_watt
name: energy_l3_25
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l3_26_watt
name: energy_l3_26
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l3_27_watt
name: energy_l3_27
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l3_28_watt
name: energy_l3_28
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l3_29_watt
name: energy_l3_29
unit_prefix: k
round: 3
method: trapezoidal
- platform: integration
source: sensor.m30_power_monitor_l3_30_watt
name: energy_l3_30
unit_prefix: k
round: 3
method: trapezoidal