[Question] How to dynamically update Wi-Fi credentials without re-flashing? #43
-
DescriptionHi there, I am a beginner in ESP32 development. I will continue to research this topic on my own while waiting for a response; if I find a solution or realize the answer is documented elsewhere, I will close this issue myself. I have successfully flashed espectre onto my ESP32 by following the "Development Setup" steps in SETUP.md. One of the steps involves creating a secrets file to define the SSID and password before building and flashing. My question is: Is it possible to dynamically modify the SSID and password on the ESP32 without having to edit the config file and re-build/re-flash the device every time? I would appreciate any guidance or suggestions on this. Thank you for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @Runninginsilence1 ESPectre already supports dynamic WiFi configuration without re-flashing.
The secrets.yaml file is only required for development configurations (espectre-c6-dev.yaml). For regular use, just flash any production file (without secrets.yaml) and configure WiFi dynamically using one of the methods above. See SETUP.md - Configure WiFi for details. |
Beta Was this translation helpful? Give feedback.
Hi @Runninginsilence1 ESPectre already supports dynamic WiFi configuration without re-flashing.
The example configuration files (e.g., espectre-c6.yaml, espectre-s3.yaml) include:
The secrets.yaml file is only required for development configurations (espectre-c6-dev.yaml). For regular use, just flash any production file (without secrets.yaml) and configure WiFi dynamically using …