cirobruno
posted this
15 August 2021
Hi, everybody.
I'm building a Web site with Nicepage to be hosted at an ESP32, working as Web server. It's impressive how easy my experience has been so far, despite my very poor knowledge of HTML and related languages. In a few hours a very nice site was already hosted and released for visiting. I'm confident I'll be able to use Nicepage for every new project for microcontrolers.
I'm looking for further solutions for the my project's demands. I hope I can find them in Nicepage as well. They are:
1) Outputing the values of a variable in real time by printing them on the page. For example, showing the values of ambient temperature or atmospheric pressure in text boxes. I'm trying to use placeholders where the values should appear (%TEMP%) and giving them an id (<span id>%TEMP%</span>) for further poking it from ESP program with
server.on("/Monitor", HTTP_GET, [](AsyncWebServerRequest *request){
request->send_P(200, "text/plain", String(valueTemp,1).c_str()); });
Does it look ok?
2) Filling cells in a table on the screen with values caught from a frequently updated matrix (once every minute) in ESP32. For example, hourly records of pressure and temperature. A scroll bar would be very usefull. (btw, what's the difference between a table as a block and a table as an element?)
3) How attribute to a variable in ESP32 values input from a form? For example, when the user fiils in how often the measurements should be acquired.
4) How to provide the user with access to select and download any file within a drive folder? Every day, a couple of new files are automatically added to this same folder and they must become available for downloading. For example, when the customer wants to download a records file saved last Wednesday.
I'm aware it's very much for a beginner, but I've got to deliver this solution as fast as possible.
Thank you all.
Regards, Ciro.
Hi, everybody.
I'm building a Web site with Nicepage to be hosted at an ESP32, working as Web server. It's impressive how easy my experience has been so far, despite my very poor knowledge of HTML and related languages. In a few hours a very nice site was already hosted and released for visiting. I'm confident I'll be able to use Nicepage for every new project for microcontrolers.
I'm looking for further solutions for the my project's demands. I hope I can find them in Nicepage as well. They are:
1) Outputing the values of a variable in real time by printing them on the page. For example, showing the values of ambient temperature or atmospheric pressure in text boxes. I'm trying to use placeholders where the values should appear (%TEMP%) and giving them an id (<span id>%TEMP%</span>) for further poking it from ESP program with
server.on("/Monitor", HTTP_GET, [](AsyncWebServerRequest *request){
request->send_P(200, "text/plain", String(valueTemp,1).c_str()); });
Does it look ok?
2) Filling cells in a table on the screen with values caught from a frequently updated matrix (once every minute) in ESP32. For example, hourly records of pressure and temperature. A scroll bar would be very usefull. (btw, what's the difference between a table as a block and a table as an element?)
3) How attribute to a variable in ESP32 values input from a form? For example, when the user fiils in how often the measurements should be acquired.
4) How to provide the user with access to select and download any file within a drive folder? Every day, a couple of new files are automatically added to this same folder and they must become available for downloading. For example, when the customer wants to download a records file saved last Wednesday.
I'm aware it's very much for a beginner, but I've got to deliver this solution as fast as possible.
Thank you all.
Regards, Ciro.
Last edited 15 August 2021 by cirobruno
Vote to pay developers attention to this features or issue.