esp01s刷入esphome,在不装继电器模块的情况下可以联网并接入esphome,但是只要把esp01s装到继电器模块上就无法联网,会发射一个名为Esp01S-0 Hotspot的热点。但是访问这个热点然后配置wifi账号密码依旧无法连入wifi,要么就是无法连接这个ap.
网上搜了下也有几例类似的案例,但都没有后续。感觉这种正好是组合版准备试试,才发现不是太好用,不会是硬件版本不匹配吧,不知有没有具体的解决法子。
esp01s:
继电器模块:
组合后5v供电:
esphome:
name: esp01s-0
friendly_name: esp01s-0
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "1"
ota:
- platform: esphome
password: "1"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp01S-0 Hotspot"
password: "123456789"
captive_portal:
web_server:
port: 80
switch:
- platform: gpio
name: "switch relay"
pin: GPIO0
id: relay
inverted: yes
|