Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update via Ethernet with OTA
#1
In the specification https://esphome.io/components/ota.html it is stated "In that mode, all components are disabled and only Serial Logging + Network(WiFi or Ethernet) + OTA are initialized, so that you can upload a new binary ."

I have an A16 integrated with HomeAssistant. In ESPHome  new version of YAML can be downloaded to the A16 without any problems via USB cable. Update via Ethernet cable (same network, WiFi not available) ends with an error.

Is it possible to install the update via Ethernet? Please could you send me the OTA code for the YAML file of the A16 device?


Attached Files Image(s)
       
Reply
#2
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:
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)