Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
M30 configure yaml for ESPhome
#81
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.
Reply
#82
Here is an updated ESPHome config: https://gist.github.com/edalquist/42c6f8...a66ba41d59

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
Reply
#83
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


Attached Files
.txt   m30.txt (Size: 49.08 KB / Downloads: 2)
Reply
#84
M30 use by ESP32-WROOM-32UE, not use by ESP32S3.
Reply
#85
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?
Reply
#86
Do you using N30 or M30? which yaml you want?
Reply
#87
sorry, M30.
Reply
#88
(02-01-2026, 05:32 AM)edalquist Wrote: Here is an updated ESPHome config: https://gist.github.com/edalquist/42c6f8...a66ba41d59

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!!!
Reply
#89
ok, good.
Reply
#90
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
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)