Page 1 of 1

new firmware with new ui and curl commands

Posted: 08 Oct 2019, 13:29
by riker1
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

Re: new firmware with new ui and curl commands

Posted: 08 Oct 2019, 13:47
by riker1
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

Re: new firmware with new ui and curl commands

Posted: 08 Oct 2019, 14:27
by TD-er
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.

Re: new firmware with new ui and curl commands

Posted: 08 Oct 2019, 16:23
by iron
Seems like the "Download new UI" button has been removed in the last release ? or has it been moved elsewhere ?

-D

Re: new firmware with new ui and curl commands

Posted: 09 Oct 2019, 12:57
by TD-er
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.

Re: new firmware with new ui and curl commands

Posted: 09 Oct 2019, 16:23
by iron
Sounds exciting you guys !!!

-D