06-12-2024, 07:14 AM
OTA means (Over The Air) . use by wifi.
here is details: https://esphome.io/components/ota.html
for example, if you create a new board "aaa" in ESPHome, that default enabled OTA:
esphome:
name: aaa
friendly_name: aaa
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "BuaN05EoLtK4ZR+FNhlQmAGVSk7omzGlcjEEtbgZst8="
ota:
password: "2be8fee6977896009887933fa3b89529"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Aaa Fallback Hotspot"
password: "yz1B8CHcDdWd"
captive_portal:
here is details: https://esphome.io/components/ota.html
for example, if you create a new board "aaa" in ESPHome, that default enabled OTA:
esphome:
name: aaa
friendly_name: aaa
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "BuaN05EoLtK4ZR+FNhlQmAGVSk7omzGlcjEEtbgZst8="
ota:
password: "2be8fee6977896009887933fa3b89529"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Aaa Fallback Hotspot"
password: "yz1B8CHcDdWd"
captive_portal: