Smart Home Automation Forum
M30 configure yaml for ESPhome - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-M16 / M1 / MB / M30 (https://www.kincony.com/forum/forumdisplay.php?fid=50)
+--- Thread: M30 configure yaml for ESPhome (/showthread.php?tid=4088)

Pages: 1 2 3 4 5 6 7 8 9


RE: M30 configure yaml for ESPhome - roflas - 09-04-2025

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.


RE: M30 configure yaml for ESPhome - edalquist - 02-01-2026

Here is an updated ESPHome config: https://gist.github.com/edalquist/42c6f802b25af98da4046da66ba41d59

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


RE: M30 configure yaml for ESPhome - kiloptero - 05-02-2026

Hi.. im trying to update my m30 and send this error message  (I know that I already name n30Big Grin)
?
Configuration does not match the platform of the connected device. Expected an ESP32S3 device.

this is my yaml


RE: M30 configure yaml for ESPhome - admin - 05-03-2026

M30 use by ESP32-WROOM-32UE, not use by ESP32S3.


RE: M30 configure yaml for ESPhome - kiloptero - 05-03-2026

change
esphome:
name: n30
friendly_name: n30

esp32:
board: esp32dev
framework:
type: arduino

to this?

esphome:
name: n30
friendly_name: n30

esp32:
board: ESP32-WROOM-32UE,
framework:
type: arduino

its possible to share an updated yaml?


RE: M30 configure yaml for ESPhome - admin - 05-03-2026

Do you using N30 or M30? which yaml you want?


RE: M30 configure yaml for ESPhome - kiloptero - 05-03-2026

sorry, M30.


RE: M30 configure yaml for ESPhome - kiloptero - 05-04-2026

(02-01-2026, 05:32 AM)edalquist Wrote: Here is an updated ESPHome config: https://gist.github.com/edalquist/42c6f802b25af98da4046da66ba41d59

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
Great!!! this yamls works perfect!!!


RE: M30 configure yaml for ESPhome - admin - 05-04-2026

ok, good.


RE: M30 configure yaml for ESPhome - kiloptero - 05-04-2026

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