mirror of
https://github.com/esphome/esphome.git
synced 2024-11-04 09:01:53 +01:00
37 lines
829 B
YAML
37 lines
829 B
YAML
spi:
|
|
- id: spi_ade7953
|
|
clk_pin: 6
|
|
mosi_pin: 7
|
|
miso_pin: 5
|
|
|
|
sensor:
|
|
- platform: ade7953_spi
|
|
cs_pin: 8
|
|
irq_pin: 9
|
|
voltage:
|
|
name: ADE7953 Voltage
|
|
id: ade7953_voltage
|
|
current_a:
|
|
name: ADE7953 Current A
|
|
id: ade7953_current_a
|
|
current_b:
|
|
name: ADE7953 Current B
|
|
id: ade7953_current_b
|
|
power_factor_a:
|
|
name: ADE7953 Power Factor A
|
|
power_factor_b:
|
|
name: ADE7953 Power Factor B
|
|
apparent_power_a:
|
|
name: ADE7953 Apparent Power A
|
|
apparent_power_b:
|
|
name: ADE7953 Apparent Power B
|
|
active_power_a:
|
|
name: ADE7953 Active Power A
|
|
active_power_b:
|
|
name: ADE7953 Active Power B
|
|
reactive_power_a:
|
|
name: ADE7953 Reactive Power A
|
|
reactive_power_b:
|
|
name: ADE7953 Reactive Power B
|
|
update_interval: 1s
|