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 - admin - 04-12-2025

this can't change, it calculate by chip. You can use formulas to calculate.


RE: M30 configure yaml for ESPhome - davidemarino33@gmail.com - 04-12-2025

To reset these values, what do you do? What changes between the two underlined entities?


RE: M30 configure yaml for ESPhome - admin - 04-12-2025

every BL0910 chip manager 10 channel of CT current. so that:
energy_sum = energy_1+energy_2+energy_3+energy_4+energy_5+energy_6+energy_7+energy_8+energy_9+energy_10
because you just only test with current1, so now the energy_sum = energy_1.


RE: M30 configure yaml for ESPhome - stephane - 04-21-2025

Dear Administrator,


I am using the yaml you've provided, but the values shown in home assistant are wrong
For example:
M30_1_current_1 = 2.606 A
M30_1_ voltage   = 235.3 V
M30_1_ watt_1   = 6099 W 
also, with the same current, M30_1_ watt_1   sometimes falls to 144 w

None of both values are correct, and this is the same case for all of the 30 channels.

The product is totally unusable like this Sad

What can be done to get some correct values?


RE: M30 configure yaml for ESPhome - admin - 04-21-2025

what power value in KCS monitor webpage? whether correct?


RE: M30 configure yaml for ESPhome - stephane - 04-22-2025

(04-21-2025, 11:26 PM)admin Wrote: what power value in KCS monitor webpage? whether correct?

I use the YAML file, with ESPHome. There is no webpage... The board doesn't answer to http://ADDRESS:80


RE: M30 configure yaml for ESPhome - stephane - 04-22-2025

(04-21-2025, 11:26 PM)admin Wrote: what power value in KCS monitor webpage? whether correct?

I've used the yaml provided on the first page of this thread. There is no webpage...
The M30 does not respond to: http://IP_ADDRESS:80 nor https://IP_ADDRESS:443


RE: M30 configure yaml for ESPhome - admin - 04-22-2025

if you use yaml, you can enable web service. just add code append yaml file:
web_server:
port: 80


RE: M30 configure yaml for ESPhome - stephane - 04-22-2025

(04-21-2025, 11:26 PM)admin Wrote: what power value in KCS monitor webpage? whether correct?

Same situation on the webpage...

On the LOGs there are some warnings, that appear every 2 seconds:
[12:40:47][W][component:239]: Component modbus_controller took a long time for an operation (1167 ms).
[12:40:47][W][component:240]: Components should block for at most 30 ms.

end also:
[12:43:59][W][light:221]: 'M30_LED1' - Red value 1.66 is out of range [0.0 - 1.0]!
[12:43:59][W][light:222]: 'M30_LED1' - Green value -0.66 is out of range [0.0 - 1.0]!

[12:43:59][W][light:221]: 'M30_LED2' - Red value 1.80 is out of range [0.0 - 1.0]!
[12:43:59][W][light:222]: 'M30_LED2' - Green value -0.80 is out of range [0.0 - 1.0]!


RE: M30 configure yaml for ESPhome - admin - 04-22-2025

can you test another CT input, not use channel 1. whether all other CT input channel is same.