Page 1 of 1

Dynamic Webpages

Posted: 22 Oct 2017, 20:17
by s0170071
Hi all,

I read it somewhere... custom Webpages. Cool to have the ESP serve a little value by itself.

To put it short:
1. upload any html website as if it was a config file. It goes to spiffs.
2. Access it from your browser.

Here comes the dynamic part:
use %...% to include system variable placeholders or [device#variable] to include measurement values from your sensor.
That is how it is written in the release note.

Here comes the BUT part:
works only if your file extension is .esp.
myfile.htm will not get replaced anything, myfile.esp works.

Took me some reverse-engineering to figure out. Could someone please drop a note someplace useful ?
Thanks.

Re: Dynamic Webpages

Posted: 22 Oct 2017, 21:49
by grovkillen
Yes, this is a not so covered area of the ESP Easy FW. We'll try to get to it. Thanks for the feedback.

Re: Dynamic Webpages

Posted: 26 Oct 2017, 00:34
by rayE
I second a request for a WiKi write up on how to do this. This functionality will make ESP Easy totally AWESOME (more so than it is already) ;-)

Ray

Re: Dynamic Webpages

Posted: 26 Oct 2017, 13:07
by JR01
+1