Thanks!
I’m trying to restrain myself a bit for now. WebUI v3 is still relatively new and v2 is the currently recommended version. I absolutely prefer v3 over v2 and have been happy using it for quite awhile now. I’ve had thoughts on replacing other panels like Status and Terminal. As v3 becomes more popular, I’m curious how opinions play out. I don’t want to change up the whole dashboard and drive people in that direction before they’ve had a chance to see it as is. It’s in the same vein as recent discussions of trying out the LR4 as is before modding it.
With that said, none of that is meant to discourage you from making your own stuff. I’ve had a lot of fun messing with all this.
When I get some time, I hope to write up some notes in more detail and either create a new thread or put it on my Github.
For now, what got me started is this post from @Michael_Melancon on running the simulator for development so you don’t need to run it against another board.
I’d also take a look at my Hold Monitor extension. It’s much simpler than this one. A lot of the complexity of this one is completely external to general extension development.
While the simulator gets you pretty far, some things you need to do on the real thing. Note that you’ll see I have a build.ps1 PowerShell script for each script. In the version on Github, it just gzips the file. However, in my local version, I added commands to copy the file to the simulated Flash directory on the simulator, and to upload to my actual board. Your paths and URLs will vary.
# Compress File to gzip
gzip -k -f $PSScriptRoot/holdmonitor.html
# Copy to local WebUI folder for testing
Copy-Item -Path "holdmonitor.html.gz" -Destination "C:\Dev\FluidNC\michmela44\ESP3D-WEBUI\server\CNC\FluidNC\Flash"
# Upload to machine for testing
curl -F file=@holdmonitor.html.gz http://192.168.0.240/files
I also reference the ESP3D documentation.
https://esp3d.io/ESP3D-WebUI/Version_3.X/documentation/