Coder Social home page Coder Social logo

plugin_webui's People

Contributors

terjeio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

plugin_webui's Issues

ESP32 How to use WEBUI3.0?

//#define WEBUI_ENABLE 3 // Not yet available, do not change.
no effect

[WIFI MAC:cc:db:a7:16:c0:b4]
[IP:192.168.2.226]
[PLUGIN:WebUI v0.20]
[PLUGIN:SDCARD v1.10]
[PLUGIN:FS macro plugin v0.06]

capture_202310060027574523

WebUI with SD Card

First of all I don't know if this is a SD card issue or an issue with WebUI, but I posted it here regardless. I am using a 4GB SD card on a Teensy 4.1 and it is formatted to Fat32.

  1. With WEBUI_INFLASH=0 and no files in the www directory of the SD card, $f shows files only. Of course, WebUI does not work "404: The requested file cannot be found."
  2. With WEBUI_INFLASH=1 and no subdirectories (no files in the www directory) $f or file listing in WebUI shows files as expected. WebUI is fully functional, but upon creating a subdirectory on the SD card it will crash the teensy requiring a reboot.
  3. With WEBUI_INFLASH=1 and macros and preferences in the www directory. $f or file listing works through serial, but will not show the www subdirectory. WebUI does read the macros and preferences, but refreshing the SD card or upon creating a subdirectory on the SD card will crash the teensy requiring a reboot.

Streaming through sd card works great.

Thank you!

Cant connect to WebUI

So i build fw on web builder, flash it to ESP32.
Im using ESP32 as AccesPoint.
Tried to connect thru web browser but i get error: This site can’t be reached192.168.5.1 refused to connect.
I can ping the IP addres no problem.

Any suggestions ?

[VER:1.1f.20230129:]
[OPT:VNSL,35,1024,3,0]
[AXS:3:XYZ]
[NEWOPT:ENUMS,RT+,REBOOT,TC,SED,RTC,WIFI,SD]
[FIRMWARE:grblHAL]
[NVS STORAGE:*FLASH]
[DRIVER:ESP32]
[DRIVER VERSION:230125]
[DRIVER OPTIONS:4.3.1]
[BOARD:ESPDUINO-32 Wemos D1 R32]
[WIFI MAC:EC:62:60:A2:0C:D8]
[IP:192.168.5.1]
[PLUGIN:WebUI v0.14]
[PLUGIN:SDCARD v1.07]

Saving values not working as expected

I am trying to save values for max travel from the webUI , but I think there may be an issue with the backend for saving these values.
As an emaple , trying to save the values for max travel for x and y as x = 420 and y = 290

image
( these values were saved using the save button)
image

Upon restart, the values are not as expected
This is after restart

image

Cannot download any file from local FS but preferences.json

It seems on ESP32 files can be uploaded on local FS, but no files but preferences.json can be downloaded
Like the webui theme files.

download

I know on other platform the FS is limited and that is why we introduced the HostPath:"/" parameter in [ESP800], should we add a new parameter ReadOnlyFS to let know webui to disable the theme features and any FS upload

In same idea, it seems webui (index.html.gz) can be updated but not downloaded so it is weird - I did not digged grblHAL code to be honest

Original issue was raised here : luc-github/ESP3D-WEBUI#350

server URL only supports /upload to show files/directories list in the root of SD

Hi Terje!
This is to draw your attention that while I am adding more features to my webUI, I came to know that the URL only supports the listing of files and directories in the root of SD card. I want to go inside a directory to support files in it also, which somehow doesn't work. The fluidNC ESP-3D webui also supports URL of multi-level for directory structure (I came to know that it can be fetched by adding 'SD/', which is not supported in our server.c. As I am not good at C or C++, I could not find what is missing. It is well defined but somewhere the function breaks.
Right now only /upload works. I mean "http://serverIP/upload" shows files list at root of SD card. I can't go one or two level inside any directory. Something like "http://serverIP/SD/dir1/dir2" should open a list of files of SD in that path. I hope I could explain you.
BTW, thanks for adding my webUI link to the plugin_webUI description.
Regards,
Ravi

Cannot see SSDP service anywhere on network

Continuing SSDP issue #10 (comment) here :
On my side everything seems started but I cannot see the device in windows neither in android

image

Looking at code description.xml should be served at root but :
image

that may be a clue about the issue ?

Hosting webpage from Flash memory instead of SD card

This is just a request if we can host http server (index.html.gz) from Flash memory instead of SD card. For Teensy4.1, we have very large amount of flash memory unutilized and I think we should use it unless it has negative implications for hosting webserver. Further, there are chances to accidently delete "www" directory from SD.

GrblHAL WebUI 3.0 unable to parse $$ settings from controller

Hi @terjeio
Using ESP32 device with WebUI 3.0.0.a37.GH2
grblHAL firmware 1.1f-20230501

Device is ESP32 Wroom dev board
Using 4 axis WebUI is unable to parse data.
ParsingError2

If 4th axis is used as Ganged (for instance Y2) parsing will report the settings for 3 axes, but not the 4th axis. In this case no parsing error is returned.

Thank you!

Network names with a space are not being saved correctly

Describe the bug
Saving network names which include a space is not working when using webUI for grblHAL

To Reproduce

  1. Select network mode - Access Point / Station
  2. Select a network name which includes a space
  3. Save changes
  4. Reset board
  5. Go back to setting page and check if name was correctly saved

Expected behavior
The name in this case is "FRITZ!box 7530".

Screenshots

image

ESP3D Firmware

Target Firmware

Board used

  • MCU: ESP32
  • Flash size: 4M: 2M/2M

Browser used

  • Name: Firefox
  • Version 105.0.1 (64-bit)
  • Operating system Windows 10

Additional context
When exporting the json config file it seems as though the name is correctly listed

{
    "id": "74",
    "label": "WiFi Station (STA) SSID",
    "value": "FRITZ!Box 7530"
   },

Looking at the reply for [ESP400] it seems like grblHAL may not be saving the name correctly.

[ESP400]
.....
.....
....
{
   "F": "WiFi/WiFi",
   "P": "74",
   "T": "S",
   "V": "FRITZ!Box\\",
   "H": "WiFi Station (STA) SSID",
   "S": "64"
  },
....
....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.