Adds ESP32-WEBUI support for some networking capable boards and drivers.
This plugin sits on top of a heavily modified lwIP raw mode http daemon.
1 FlashFS is erased when reflashing firmware!
Enable WebUI support by uncommenting #define WEBUI_ENABLE 1
in my_machine.h and recompile/reflash.
This adds backends for both WebUI v2 and v3, set the define value to 2 or 3 to only add v2 or v3.
Ensure $306
(HTTP port) is set to 80
, $307
(Websocket port) is set to 81
and $70
has flags set to enable both the http and websocket daemons. 15
is a safe value. Reboot.
For drivers with FlashFS support (see table above) enter <ip address>/
or <ip address>/?forcefallback=yes
as the browser URL,
the latter if it is for an update.
Replace <ip address>
with the controller IP address. Tip: Use $I
to find the IP address if dynamically assigned.
Then click on the Interface top menu item in the page shown and navigate to the dist/CNC/grblHAL folder and download index.html.gz.
You may download index.html.gz directly via this link.
Upload the file via the upload button in the FileSystem panel.
For drivers without FlashFS support download directly or from this page, create a www folder on the SD card and copy the download file there. If the SD card is mounted in the controller then the folder can be created and the file copied either via ftp or WebDAV provided the protocol to be used has been activated.
Finally enter the controller IP address in a browser window, if all is well the WebUI will then be loaded.
grblTouch by @karoria
2023-02-13