mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 12:06:26 +01:00
27 lines
504 B
YAML
27 lines
504 B
YAML
uart:
|
|
- id: uart_bl0939
|
|
tx_pin:
|
|
number: 17
|
|
rx_pin:
|
|
number: 16
|
|
baud_rate: 9600
|
|
|
|
sensor:
|
|
- platform: bl0939
|
|
voltage:
|
|
name: BL0939 Voltage
|
|
current_1:
|
|
name: BL0939 Current 1
|
|
current_2:
|
|
name: BL0939 Current 2
|
|
active_power_1:
|
|
name: BL0939 Active Power 1
|
|
active_power_2:
|
|
name: BL0939 Active Power 2
|
|
energy_1:
|
|
name: BL0939 Energy 1
|
|
energy_2:
|
|
name: BL0939 Energy 2
|
|
energy_total:
|
|
name: BL0939 Total energy
|