esphome/tests/components/atm90e26/test.esp32-c3-idf.yaml

27 lines
467 B
YAML
Raw Normal View History

spi:
- id: spi_atm90e26
clk_pin: 6
mosi_pin: 7
miso_pin: 5
sensor:
- platform: atm90e26
cs_pin: 8
voltage:
name: Line Voltage
current:
name: CT Amps
power:
name: Active Watts
power_factor:
name: Power Factor
frequency:
name: Line Frequency
line_frequency: 50Hz
meter_constant: 1000
pl_const: 1429876
gain_pga: 1X
gain_metering: 7481
gain_voltage: 26400
gain_ct: 31251