Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-M16v2 configure yaml for ESPhome
(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.
Reply
take a photo how you wire now.
Reply
(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.


Attached Files Image(s)
                   
Reply
see this photo, how to connect L1,L2,L3 and N1,N2,N3 together. Do you understand me?
   
Reply
(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.


Attached Files Image(s)
   
Reply
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.
Reply
(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.
Reply
upload your newest yaml file at here.
Reply
(01-06-2026, 12:32 AM)admin Wrote: upload your newest yaml file at here.

latest


Attached Files
.txt   latest 06012026.txt (Size: 9.79 KB / Downloads: 10)
Reply
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.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)