Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't update S3 Box because of duplicate OTA instance #216

Open
TheZoker opened this issue Jun 28, 2024 · 4 comments
Open

Can't update S3 Box because of duplicate OTA instance #216

TheZoker opened this issue Jun 28, 2024 · 4 comments

Comments

@TheZoker
Copy link

Hi there,

This is my yaml config:

packages:
  esphome.voice-assistant: github://esphome/firmware/wake-word-voice-assistant/esp32-s3-box.yaml@main

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  ap:
    ssid: "ESPHome Fallback"
    password: !secret api_password

ota:
  - platform: esphome
    password: !secret api_password

Every time I try to compile this, I get this error:

Failed config

ota.esphome: [source /data/packages/c46f54c1/wake-word-voice-assistant/esp32-s3-box.yaml:85]
  
  Only one instance of the esphome ota platform is allowed per port. Note that this error may result from OTA specified in packages.
  platform: esphome
  id: ota_esphome
  version: 2
  port: 3232

Since all my devices use a password for OTA I'm not sure how to solve this. Can somebody help me fix this? Thanks!

@DeveshwarH1996
Copy link

I've had the same issue too, for some reason even when I change the hostname it seems to always add the id after the name. I had to use a static IP to get it to update or listen to the logs

@jwillikers
Copy link

I've hit the same issue now too. Seems like there ought to be a way to add a password to an existing esphome ota instance, that way there isn't an esphome ota instance available without a password.

@jwillikers
Copy link

I think the extend keyword can be used to modify the default esphome ota instance and add a password to it like so:

ota:
  - id: !extend ota_esphome
    password: !secret esp32_s3_box_3_01_ota_esphome_password

@jwillikers
Copy link

I guess that may not even be necessary due to esphome/esphome#7001 being merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants