Dynamic Webpages

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
s0170071
Normal user
Posts: 36
Joined: 21 Oct 2017, 20:49

Dynamic Webpages

#1 Post by s0170071 » 22 Oct 2017, 20:17

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.

User avatar
grovkillen
Core team member
Posts: 3268
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Dynamic Webpages

#2 Post by grovkillen » 22 Oct 2017, 21:49

Yes, this is a not so covered area of the ESP Easy FW. We'll try to get to it. Thanks for the feedback.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

rayE
Normal user
Posts: 122
Joined: 12 Oct 2017, 12:53
Location: Philippines

Re: Dynamic Webpages

#3 Post by rayE » 26 Oct 2017, 00:34

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

JR01
Normal user
Posts: 241
Joined: 14 Feb 2016, 21:04
Location: South Africa
Contact:

Re: Dynamic Webpages

#4 Post by JR01 » 26 Oct 2017, 13:07

+1
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay . Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests