@nickdd Thanks for sharing you config!
I think I will manage without Power Factor because I'm only charged for the real power, not apparent power, so real power is my main concern currently. But I first need to get it fully configured to confirm
Do you maybe know if updating current will trigger update of dependent cd74hc4067? It seems to do so...
@admin
In your source code there's some part which I don't understand. Can you explain what does the "adc35"? Can I safely remove the "m16--AI-1" - seems to be leftover from M16 v1?
And one more question: does it matter what maximum current I will use to calibrate the clamp? Let's say I have a water pump using 0.15 A and a 10A clamp (the smallest I could get). Should I calibrate up to 5-10A or just to 1-2 A will be ok?
I think I will manage without Power Factor because I'm only charged for the real power, not apparent power, so real power is my main concern currently. But I first need to get it fully configured to confirm

Do you maybe know if updating current will trigger update of dependent cd74hc4067? It seems to do so...
Code:
id(current_4).update();
# Clamp 4
- platform: cd74hc4067
id: ai4
number: 3
sensor: adc35
update_interval: never
- platform: ct_clamp
sensor: ai4
id: current_4
name: "Current 4" sample_duration: 500ms
update_interval: never
accuracy_decimals: 5@admin
In your source code there's some part which I don't understand. Can you explain what does the "adc35"? Can I safely remove the "m16--AI-1" - seems to be leftover from M16 v1?
Code:
- platform: adc
pin: 35
id: adc35
update_interval: never
attenuation: 11db
# - platform: adc
# name: "m16--AI-1"
# pin: 36
# id: adc36
# update_interval: 60s
# attenuation: 11db
# - platform: adc
# pin: 34
# name: "m16--AI-2"
# id: adc34
# update_interval: 60s
# attenuation: 11db
# - platform: adc
# pin: 39
# name: "m16--AI-3"
# id: adc39
# update_interval: 60s
# attenuation: 11dbAnd one more question: does it matter what maximum current I will use to calibrate the clamp? Let's say I have a water pump using 0.15 A and a 10A clamp (the smallest I could get). Should I calibrate up to 5-10A or just to 1-2 A will be ok?

