这是完整的yaml配置。用的是中弘B19网关。
esphome:
name: vrf
friendly_name: VRF
esp8266:
board: nodemcuv2
external_components:
- source:
type: git
url: https://github.com/idreamshen/esphome-uart-vrf
refresh: 5min
# Enable logging
logger:
baud_rate: 0
# Enable Home Assistant API
api:
encryption:
key: "b9bMnHVtTB0Q85d/zEH5uZyll+ixGRBTPbf0OuW4WzQ="
ota:
- platform: esphome
password: "26d669c6c0b28c2b0cceef376f1b0a52"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: 192.168.xx.xx
gateway: 192.168.xx.x
subnet: 255.255.255.0
dns1: 192.168.xx.x
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Vrf Fallback Hotspot"
password: "iHuelQdCQG0Q"
captive_portal:
uart:
tx_pin: GPIO1
rx_pin: GPIO3
baud_rate: 9600
uart_vrf:
climate:
web_server:
port: 80
|