tags: HA,ESPHOME,ESP8266

ESPHome-ESP01

  • 首次上傳,必須下載bin後,用esphome-flasher燒錄
  • ESP01 燒錄線路,RUN的時候要把GPIO接地拔掉
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

Relay模組

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

  • 相關教學
  • 硬體修改
    • 移除 R2 的 10K 電阻
    • 飛一條線 CH_PD-VCC

YAML

esphome: name: esp01-single-relay platform: ESP8266 board: esp01_1m switch: - platform: gpio name: "Relay" pin: GPIO0 # Enable logging logger: # Enable Home Assistant API api: ota: password: "335ad36744dd8596d94b8d19998278d1" wifi: ssid: "*****" password: "*****" # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Esp01-Single-Relay" password: "dMMCOUL9CGcc" captive_portal: