12-18-2023, 12:36 AM
two types of sensr you can chose:
output: 0-50mA or 0-1v dc
if your amperes is therefore too high, because you need to calibration in esphome.
sensor:
- platform: ct_clamp
sensor: adc_sensor
name: "Measured Current"
update_interval: 60s
filters:
- calibrate_linear:
# Measured value of 0 maps to 0A
- 0 -> 0
# Known load: 4.0A
# Value shown in logs: 0.1333A
- 0.1333 -> 4.0
- 0 -> 0
- 0.1333 -> 4.0
these two command line data need replace by yourself. you can use multi meter to test a AC220v load's current, then see the RAW data in esphome log.
output: 0-50mA or 0-1v dc
if your amperes is therefore too high, because you need to calibration in esphome.
sensor:
- platform: ct_clamp
sensor: adc_sensor
name: "Measured Current"
update_interval: 60s
filters:
- calibrate_linear:
# Measured value of 0 maps to 0A
- 0 -> 0
# Known load: 4.0A
# Value shown in logs: 0.1333A
- 0.1333 -> 4.0
- 0 -> 0
- 0.1333 -> 4.0
these two command line data need replace by yourself. you can use multi meter to test a AC220v load's current, then see the RAW data in esphome log.