s00500 / ESPUI

A simple web user interface library for ESP32 and ESP8266
https://valencia.lbsfilm.at/midterm-presentation/
Other
896 stars 166 forks source link

Change user and pass of GUI #287

Closed Atorcha closed 8 months ago

Atorcha commented 8 months ago

Good job!!

I have tried to make user and pass of GUI a variable like string that you can save in NVS and although you update firm always is saved like SSID and PASS for example.

Has you consider to add this?

Thanks so much

MartinMueller2003 commented 8 months ago

Are you asking if ESPUI should save data in NVM or on the file system? From what I can see, the library is config storage agnostic. The user is responsible for maintaining configuration information and updating the ESPUI object when things change. If ESP had a standardized way of storing config (like an android or ios APP) then we could do it.

MartinMueller2003 commented 7 months ago

This will work

static String user = "nombre"; static String pass = "contraseña";

ESPUI.begin("ESP32 web", user.c_str(), pass.c_str());