Smart Home Automation Forum
KC868-M16v2 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: KC868-M16v2 configure yaml for ESPhome (/showthread.php?tid=3088)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


RE: KC868-M16v2 configure yaml for ESPhome - cmeyer5 - 01-03-2026

(01-02-2026, 10:00 AM)admin Wrote: because you have only connect L and N with L3 and N3. your yaml file is print voltage channel one.
it.printf(0, 40, id(roboto), "AC:%.1fV", id(voltage_1).state);
you can change to :
it.printf(0, 40, id(roboto), "AC:%.1fV", id(voltage_3).state);

or you can connect L1,L2,L3 together and N1,N2,N3 together.

No luck. Moved my cables to L and N. I also tried by swapping cables from L to N and N to L. Voltage reading stay the same.


RE: KC868-M16v2 configure yaml for ESPhome - admin - 01-03-2026

take a photo how you wire now.


RE: KC868-M16v2 configure yaml for ESPhome - cmeyer5 - 01-03-2026

(01-03-2026, 11:20 AM)admin Wrote: take a photo how you wire now.

i redid everything. studied a spanish bloggers youtube video.

i learned a lot.

the ctclamp current has been sorted. i'm able to get correct Amps from boiling water in 1800w kettle.
L1 & N1 is still not sending the correct information. i rechecked the cables, to make sure Live and Neutral is correct.
i did the ctclamp calibration using the log files with known device.
connecting via lan is not working still. i've included some pics.
i've managed to get the wifi antenae. i haven't moved it away from the router yet.
don't know why images are included in the post.


RE: KC868-M16v2 configure yaml for ESPhome - admin - 01-04-2026

see this photo, how to connect L1,L2,L3 and N1,N2,N3 together. Do you understand me?
   


RE: KC868-M16v2 configure yaml for ESPhome - cmeyer5 - 01-04-2026

(01-04-2026, 01:21 AM)admin Wrote: see this photo, how to connect L1,L2,L3 and N1,N2,N3 together. Do you understand me?

understood.
no change.


RE: KC868-M16v2 configure yaml for ESPhome - admin - 01-04-2026

Code:
#sensor:
#  - platform: zmpt101b
#    name: "m16--AI zmpt 34"
#    adc_pin: 34
#    id: voltage_1
#    unit_of_measurement: V
#    accuracy_decimals: 1
#    state_class: "measurement"
#  - platform: zmpt101b
#    name: "m16--AI zmpt 36"
#    adc_pin: 36
#    id: voltage_2
#    unit_of_measurement: V
#    accuracy_decimals: 1
#    state_class: "measurement"
#  - platform: zmpt101b
#    name: "m16--AI zmpt 39"
#    adc_pin: 39
#    id: voltage_3
#    unit_of_measurement: V
#    accuracy_decimals: 1
#    state_class: "measurement"
please see your yaml file, you have comments to the code. you need remove these "#" for the voltage sensor.


RE: KC868-M16v2 configure yaml for ESPhome - cmeyer5 - 01-05-2026

(01-04-2026, 11:21 PM)admin Wrote:
Code:
#sensor:
#  - platform: zmpt101b
#    name: "m16--AI zmpt 34"
#    adc_pin: 34
#    id: voltage_1
#    unit_of_measurement: V
#    accuracy_decimals: 1
#    state_class: "measurement"
#  - platform: zmpt101b
#    name: "m16--AI zmpt 36"
#    adc_pin: 36
#    id: voltage_2
#    unit_of_measurement: V
#    accuracy_decimals: 1
#    state_class: "measurement"
#  - platform: zmpt101b
#    name: "m16--AI zmpt 39"
#    adc_pin: 39
#    id: voltage_3
#    unit_of_measurement: V
#    accuracy_decimals: 1
#    state_class: "measurement"
please see your yaml file, you have comments to the code. you need remove these "#" for the voltage sensor.
i did make the chances. the AC is now showing 0.0V.


RE: KC868-M16v2 configure yaml for ESPhome - admin - 01-06-2026

upload your newest yaml file at here.


RE: KC868-M16v2 configure yaml for ESPhome - cmeyer5 - 01-06-2026

(01-06-2026, 12:32 AM)admin Wrote: upload your newest yaml file at here.

latest


RE: KC868-M16v2 configure yaml for ESPhome - admin - 01-06-2026

i see. esphome have updated. zmpt101b plugin we need to update again. we will update it, when finished, i will tell you, you just re compile code, not need to change yaml file.