本帖最后由 yjl 于 2024-5-10 12:38 编辑
求助大佬,esphome中的设备VIST按钮的链接地址怎么改啊,我这点击后是这样的链接xxxxx.local
从设备的Logs中得到的IP地址是可以正常访问的
求助配置文件中该如何修改
esphome:
name: esp32
friendly_name: esp32
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "kxM7Yn6/ea38KhP8VHhR+uCb3WAdvLQDda19OygwkuE="
ota:
password: "c0304138ad69dd675ba8ab7d591d17bc"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp32 Fallback Hotspot"
password: "aKy5SQIaWcNF"
web_server:
port: 80
auth:
password: a
username: ha
captive_portal:
#############
#其它代码就省略了#
|