how to upload easyGUI

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ingoiot
Normal user
Posts: 83
Joined: 15 Aug 2019, 22:09

how to upload easyGUI

#1 Post by ingoiot » 05 Jul 2020, 15:56

hi,

i seems like you have to only upload the index.html.gz to work.
At leat on my ESP32 is not enough space for more.

The only version i can get to work(kind Of) is the mini version.
The others dont start/hanging in the loading screen.

i guess the file is decompressed on the fly before the ESP32 delivers it?

Are there any limitations for the file? Like does it need to fit in the RAM after decompression?

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

Re: how to upload easyGUI

#2 Post by grovkillen » 05 Jul 2020, 16:17

Modern browsers handle the compression on the fly. So you don't have to really care about that in terms of the MCUs.

The GUI you're trying to upload is the new GUI I'm working on? Those aren't ready yet, we're gonna implement it into the official build once we got the 2.1 out into the wild.
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:

ingoiot
Normal user
Posts: 83
Joined: 15 Aug 2019, 22:09

Re: how to upload easyGUI

#3 Post by ingoiot » 05 Jul 2020, 18:01

yes its the new one.

i just wanted to check the progres:)

and see if there are any limitations in size if i want to make my own (mini) frontend.

(if i try to open the .gz file in firefox direct, FF tried to download, not open it)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: how to upload easyGUI

#4 Post by TD-er » 05 Jul 2020, 19:44

Maybe also try to rename the file to .htm.gz?
Not sure if the right attributes are attached to the meta tags when serving a .html or .html.gz file.

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

Re: how to upload easyGUI

#5 Post by grovkillen » 05 Jul 2020, 19:56

The browser need to have the correct header or else it will treat it as a regular file. That is sent by the ESP. And as TD-er said, make sure it's named correctly.
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:

ingoiot
Normal user
Posts: 83
Joined: 15 Aug 2019, 22:09

Re: how to upload easyGUI

#6 Post by ingoiot » 06 Jul 2020, 00:48

as its loaded correctly from the ESP, but not from local file or local httpd,
it guess the browsers header is right.
so propably i misconfgured something

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 30 guests