esphome/tests/components/atm90e26/test.esp8266-ard.yaml

27 lines
470 B
YAML

spi:
- id: spi_atm90e26
clk_pin: 14
mosi_pin: 13
miso_pin: 12
sensor:
- platform: atm90e26
cs_pin: 5
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