mirror of
https://github.com/esphome/esphome.git
synced 2024-12-30 17:31:43 +01:00
15 lines
248 B
YAML
15 lines
248 B
YAML
|
uart:
|
||
|
- id: uart_jsn_sr04t
|
||
|
tx_pin:
|
||
|
number: 17
|
||
|
rx_pin:
|
||
|
number: 16
|
||
|
baud_rate: 9600
|
||
|
|
||
|
sensor:
|
||
|
- platform: jsn_sr04t
|
||
|
id: jsn_sr04t_sensor
|
||
|
name: "jsn_sr04t Distance"
|
||
|
uart_id: uart_jsn_sr04t
|
||
|
update_interval: 1s
|