mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
22 lines
374 B
YAML
22 lines
374 B
YAML
uart:
|
|
- id: uart_bl0942
|
|
tx_pin:
|
|
number: TX1
|
|
rx_pin:
|
|
number: RX1
|
|
baud_rate: 2400
|
|
|
|
sensor:
|
|
- platform: bl0942
|
|
address: 0
|
|
line_frequency: 50Hz
|
|
voltage:
|
|
name: BL0942 Voltage
|
|
current:
|
|
name: BL0942 Current
|
|
power:
|
|
name: BL0942 Power
|
|
energy:
|
|
name: BL0942 Energy
|
|
frequency:
|
|
name: BL0942 Frequency
|