KC868-M16 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-M16 configure yaml for ESPhome (/showthread.php?tid=2829) Pages:
1
2
|
RE: KC868-M16 configure yaml for ESPhome - admin - 10-22-2023 sure, every channel should use different CT sensor according to your MAX current. RE: KC868-M16 configure yaml for ESPhome - steve1555 - 11-04-2023 (10-22-2023, 12:27 PM)admin Wrote: sure, every channel should use different CT sensor according to your MAX current. im having the same trouble. im using my amp meter on the the same lead that's 33 amps and only getting 19 amps on home assistant. i tried a 20,30 and 100a ct i could not get a 40 amp ct but was hoping the 100 would read my load. is there a way in the yaml to offset the numbers. sorry but coding is not my strongpoint RE: KC868-M16 configure yaml for ESPhome - admin - 11-05-2023 Yes, there are calibration configurations in the program, which parameters can be modified. filters: - calibrate_linear: # Measured value of 0 maps to 0A - 0 -> 0 # Known load: 4.0A # Value shown in logs: 0.1333A - 0.31749 -> 8.95608 you can test some different load, create as many as possible with different scale parameters: such as: filters: - calibrate_linear: - 0 -> 0 - x.xxxxx -> 3 - x.xxxxx -> 6 - x.xxxxx -> 9 - x.xxxxx -> 15 - x.xxxxx -> 18 The more parameters, the more accurate they are. RE: KC868-M16 configure yaml for ESPhome - steve1555 - 11-10-2023 (11-04-2023, 11:42 PM)steve1555 Wrote:(10-22-2023, 12:27 PM)admin Wrote: sure, every channel should use different CT sensor according to your MAX current. when i try and update the yaml this is what i get "ERROR Cannot upload Over the Air as the config does not include the ota: component " im using esthernet hard wire for data RE: KC868-M16 configure yaml for ESPhome - admin - 11-11-2023 you can download by USB cable. RE: KC868-M16 configure yaml for ESPhome - steve1555 - 11-21-2023 (04-26-2023, 12:50 AM)admin Wrote: In the yaml below i am using i am not getting the right wattage. i want the over all wattage of all 16 CT's combined. what am i doing wrong? should (Measured_Current_1) be something different? iv seen other examples like " return id(phase_a_power).state + id(phase_b_power).state;" that would work but not for this setup. is there a line i can put in there to include all of the CT's? RE: KC868-M16 configure yaml for ESPhome - admin - 11-21-2023 lambda: return id(Measured_Current_1).state * 220; this is only for CT1, if you want feedback 16CH CT's total power, need sum of all CT's power. RE: KC868-M16 configure yaml for ESPhome - steve1555 - 11-22-2023 (11-21-2023, 11:49 PM)admin Wrote: lambda: return id(Measured_Current_1).state * 220; this is only for CT1, if you want feedback 16CH CT's total power, need sum of all CT's power. i'm still confused. i understand lambda: return id(Measured_Current_1).state * 220; is only for CT1. what can i type to get total power of all 16 CT's? RE: KC868-M16 configure yaml for ESPhome - admin - 11-22-2023 id(Measured_Current_1).state * 220 id(Measured_Current_2).state * 220 id(Measured_Current_3).state * 220 id(Measured_Current_4).state * 220 ....... then all add together. |