AsyncElegantOTA icon indicating copy to clipboard operation
AsyncElegantOTA copied to clipboard

Unknown configuration option warning

Open mikaeltulldahl opened this issue 1 year ago • 0 comments

Describe the bug When doing OTA from Platformio using the custom script, I get an ugly warning.

According to https://docs.platformio.org/en/latest/scripting/examples/platformio_ini_custom_options.html this can easily be avoided by renaming upload_url to begin with "custom_", such as custom_ota_upload_url.

Do you get any error/exception stack? If so please paste it here:

Exception

Warning! Ignore unknown configuration option 'upload_url' in section [env:esp32-s3-devkitc-1]

Microcontroller Specs:

  • Board: [ esp32-s3-devkitc-1]
  • Microcontroller: [ ESP32]
  • Did you modify the partition table? [No, default_8MB.csv]
  • Browser: [chrome]
  • Library Version: [2.2.7]

Additional context platformio.ini: [env:esp32-s3-devkitc-1] platform = espressif32 board = esp32-s3-devkitc-1 framework = arduino lib_deps = ayushsharma82/AsyncElegantOTA@^2.2.7 me-no-dev/AsyncTCP@^1.1.1 ; dependency of AsyncElegantOTA ottowinter/ESPAsyncWebServer-esphome@^2.1.0 ; dependency of AsyncElegantOTA monitor_speed = 115200 extra_scripts = platformio_upload.py upload_protocol = custom custom_ota_upload_url = http://192.168.1.121/update

mikaeltulldahl avatar Apr 30 '23 21:04 mikaeltulldahl