new firmware with new ui and curl commands

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 303
Joined: 26 Dec 2017, 18:02

new firmware with new ui and curl commands

#1 Post by riker1 » 08 Oct 2019, 13:29

Hi

just curious to know which curl commands work with the new firmware.

Code: Select all

curl -v -F upload=@/00_ESPEASY/01_Firmware_latest/ESP_Easy_mega_normal_ESP8266_4M.bin  http://<ip>/update
this does not work .

please update me

thanks a lot
T

riker1
Normal user
Posts: 303
Joined: 26 Dec 2017, 18:02

Re: new firmware with new ui and curl commands

#2 Post by riker1 » 08 Oct 2019, 13:47

In addition,

is there a command to change ui back to old view.

having the issue that new ui is not coming up.

Thanks T

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

Re: new firmware with new ui and curl commands

#3 Post by TD-er » 08 Oct 2019, 14:27

The old sub-URLs still work, so you could still type the url like http://<ip>/tools
Then you can disable the UI, or throw away the downloaded files from SPIFFS.

User avatar
iron
Normal user
Posts: 85
Joined: 24 Sep 2016, 08:37
Location: Veria, Greece
Contact:

Re: new firmware with new ui and curl commands

#4 Post by iron » 08 Oct 2019, 16:23

Seems like the "Download new UI" button has been removed in the last release ? or has it been moved elsewhere ?

-D
-D

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

Re: new firmware with new ui and curl commands

#5 Post by TD-er » 09 Oct 2019, 12:57

I have it excluded from the builds for 2 reasons:
- There have been some additions to the Settings struct, so the new UI was no longer 100% compatible with the current latest settings.
- To reduce the binary size a bit.

We're running into issues regarding binary size (max sketch size exceeded) and the extra functions added to support the new UI do take up extra space in the binary.
Later, when the builds have re-arranged, I will add it back in again.
Peter Pišljar (author of the new UI's JavaScript) was also a bit too much occupied with work etc. to work on the code for the newUI, so that was stalled a bit.
But he's now working on it again. (we discuss it in Slack)

The most important first step he's working on right now is to document it so I also understand it and can extend/maintain it when needed.
After that the plan is to integrate it with the work Grovkillen is doing on designing the new UI.

User avatar
iron
Normal user
Posts: 85
Joined: 24 Sep 2016, 08:37
Location: Veria, Greece
Contact:

Re: new firmware with new ui and curl commands

#6 Post by iron » 09 Oct 2019, 16:23

Sounds exciting you guys !!!

-D
-D

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests