luc-github / ESP3D-WEBUI

A Web UI for ESP8266 or ESP32 based boards connected to 3D printers / CNC
GNU General Public License v3.0
747 stars 305 forks source link

[FEATURE REQUEST]Configuration Wizard #242

Open luc-github opened 2 years ago

luc-github commented 2 years ago

now all ESP3D Feature are ready and 3D printer feature are almost ready too, it is time to define a configuration wizard to:

luc-github commented 2 years ago

As now working on setup wizard here the possible steps

  1. Collect [ESP400] data if not yet available

  2. Configure network:

    • Select AP/STA
    • Access Point SSID to connect
    • Access Point Password to connect
    • Set ESP Name
  3. Restart System if changed Sta setting to allow internet access

  4. Set Firmware target if necessary (only for ESP3D firmware)

  5. Check Firmware target match the webUI

    • Propose to update WebUI if internet access
    • Raise error if not, and stop Wizard asking for update
  6. If internet access, propose to go to Internet to download language pack and apply it 6-a. If internet access, propose to download profile (FW settings + WebUI settings) 6-b. If no

    • Setup SD access (if needed)
    • Setup Polling commands (if needed)
    • TBD

Note: The steps will be defined at target level so the setup can include specific setup for targeted FW

The goal is to have a light setup for basic features to keep the footprint as small as possible, the advanced setup could be done by the online setup or download profile. to allow larger configuration without impacting WebUI size

Any feedback / suggestion is welcome

atsju commented 2 years ago

Although not directly related I think this could fit here.

Could you change the client mode SSID from ESP3D to NETWORK_SSID to avoid confusion ? This way ESP3D is only used for client SSID

luc-github commented 2 years ago

Do you mean this one : https://github.com/luc-github/ESP3D/blob/3.0/esp3d/src/core/settings_esp3d.cpp#L150

It is in FW not WebUI related - yes can be changed

atsju commented 2 years ago

Yes this one.