Hi,
Does anyone know whether ESPHome support hardware UART? I tried custom UART component using the sample codes in Custom UART Device — ESPHome. Once I changed the TX and RX pins from D0 and D1 to D8 and D7 (UART2) like this:
uart:
id: uart_bus
tx_pin: D8
rx_pin: D7
baud_rate: 9600
I soon get the WiFI connection error in the log:
INFO Reading configuration /config/esphome/esp-d1-mini-01.yaml…
INFO Starting log output from esp-d1-mini-01.local using esphome API
INFO Connecting to esp-d1-mini-01.local:6053 (192.168.1.192)
WARNING Initial connection failed. The ESP might not be connected to WiFi yet (Error connecting to 192.168.1.192: [Errno 111] Connection refused). Re-Trying in 1 seconds
INFO Connecting to esp-d1-mini-01.local:6053 (192.168.1.192)
WARNING Initial connection failed. The ESP might not be connected to WiFi yet (Error connecting to 192.168.1.192: [Errno 111] Connection refused). Re-Trying in 1 seconds
INFO Connecting to esp-d1-mini-01.local:6053 (192.168.1.192)
WARNING Initial connection failed. The ESP might not be connected to WiFi yet (Error connecting to 192.168.1.192: [Errno 111] Connection refused). Re-Trying in 2 seconds
…
Appreciate your advise.
Thanks in advance.