02-11-2025, 06:34 PM
dear admin,
I need to measure current on one phase (230V AC). I would like to use Analog Inputs on the A16 module for this (there are 4 inputs in total). I bought a CT clamp "SCT-013 5A=1V". I tested it and at 5A on the measured phase it has 1V AC at the output.
Can you advise me how to connect it correctly and how to configure it in ESPHome (in Home Assistant)? Now I have the inputs configured like this...
...but the values are 0.14V, which is nonsense:
Thanks in advance
I need to measure current on one phase (230V AC). I would like to use Analog Inputs on the A16 module for this (there are 4 inputs in total). I bought a CT clamp "SCT-013 5A=1V". I tested it and at 5A on the measured phase it has 1V AC at the output.
Can you advise me how to connect it correctly and how to configure it in ESPHome (in Home Assistant)? Now I have the inputs configured like this...
Code:
sensor:
- platform: adc
pin: 36
name: "analogInput1"
update_interval: 10s
attenuation: 12db
- platform: adc
pin: 34
name: "analogInput2"
update_interval: 10s
attenuation: 12db
- platform: adc
pin: 35
name: "analogInput3"
update_interval: 10s
attenuation: 12db
- platform: adc
pin: 39
name: "analogInput4"
update_interval: 10s
attenuation: 12db
...but the values are 0.14V, which is nonsense:
Thanks in advance