mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 18:54:14 +01:00
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
i2c:
|
|
- id: i2c_ade7880
|
|
scl: ${scl_pin}
|
|
sda: ${sda_pin}
|
|
|
|
sensor:
|
|
- platform: ade7880
|
|
i2c_id: i2c_ade7880
|
|
irq0_pin: ${irq0_pin}
|
|
irq1_pin: ${irq1_pin}
|
|
reset_pin: ${reset_pin}
|
|
frequency: 60Hz
|
|
phase_a:
|
|
name: Channel A
|
|
voltage: Voltage
|
|
current: Current
|
|
active_power: Active Power
|
|
power_factor: Power Factor
|
|
forward_active_energy: Forward Active Energy
|
|
reverse_active_energy: Reverse Active Energy
|
|
calibration:
|
|
current_gain: 3116628
|
|
voltage_gain: -757178
|
|
power_gain: -1344457
|
|
phase_angle: 188
|
|
phase_b:
|
|
name: Channel B
|
|
voltage: Voltage
|
|
current: Current
|
|
active_power: Active Power
|
|
power_factor: Power Factor
|
|
forward_active_energy: Forward Active Energy
|
|
reverse_active_energy: Reverse Active Energy
|
|
calibration:
|
|
current_gain: 3133655
|
|
voltage_gain: -755235
|
|
power_gain: -1345638
|
|
phase_angle: 188
|
|
phase_c:
|
|
name: Channel C
|
|
voltage: Voltage
|
|
current: Current
|
|
active_power: Active Power
|
|
power_factor: Power Factor
|
|
forward_active_energy: Forward Active Energy
|
|
reverse_active_energy: Reverse Active Energy
|
|
calibration:
|
|
current_gain: 3111158
|
|
voltage_gain: -743813
|
|
power_gain: -1351437
|
|
phase_angle: 180
|
|
neutral:
|
|
name: Neutral
|
|
current: Current
|
|
calibration:
|
|
current_gain: 3189
|