-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathESP8266_Standard_UART.yaml
44 lines (44 loc) · 983 Bytes
/
ESP8266_Standard_UART.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
substitutions:
devicename: "esp-radar" #Rename the device what you want.
upper_devicename: ESP Radar #Rename the device what you want.
esphome:
name: $devicename
esp8266:
board: esp01_1m
framework:
version: latest
external_components:
- source:
type: git
url: https://github.com/ssieb/custom_components #Thanks for @ssieb components.
components: [ serial ]
logger:
level: DEBUG
baud_rate: 0
api:
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
uart:
id: UART_BUS
rx_pin: GPIO3 #ESP8266 UART_0
tx_pin: GPIO1 #ESP8266 UART_0
baud_rate: 115200
data_bits: 8
stop_bits: 1
parity: NONE
# debug:
# direction: BOTH
# dummy_receiver: false
# after:
# delimiter: "\n"
# sequence:
# - lambda: UARTDebug::log_string(direction, bytes);
text_sensor:
- platform: serial
uart_id: UART_BUS
name: ${upper_devicename} UART Text
id: UART_Text
icon: "mdi:format-text"
internal: False