Closed NickHead closed 5 years ago
Send a screen shot showing the panel.
Did you click the refresh icon? Open a serial terminal and send $$ plus carriage return to the the ESP32. Do you get a response?
Tried everything. Even re-flashed quite a few times after re-compiling. It just shows Value,Name and Help but nothing underneath. If I do a $$ in the console, the GRBL configuration shows, but not on the html page. I am at a dead loss
I look into it. Maybe a recent change broke something.
I have just downloaded and tested master and it is fine :
@NickHead what version do you use?
Are you connected to hardware or is this a loose ESP32?
This is just a guess, but the default configuration is for the controller shown on the readme page. It uses some I/O that requires pullup resistors. If those pins float, it could put the controller into a locked mode.
Try uncommenting #define IGNORE_CONTROL_PINS
in config.h and recompiling the firmware.
Sorry about not replying fast, I am in the middle of a multitude of things. Thanks for all the replies though, it's really appreciated> I downloaded the latest version of GRBLESP. It's running on an ESP32 WROOM . It is not connected to any hardware, just the micro, by itself. I never thought it would make a difference. I will try the ignore control as soon as I can and report back. Regards.
[E][Parsing.cpp:82] _parseRequest(): Invalid request: ␖␃␁ [E][WebServer.cpp:602] _handleRequest(): request handler not found [E][WiFiClient.cpp:365] write(): fail on fd 61, errno: 104, "Connection reset by peer"
That did not work either, I may try a compile on a different computer and see what happens
Does the rest of the WebUI appear to work? I could send a firmware to load via OTA update.
Yes, the rest does look OK , the controller shows values X,Y positions. It's just the GRBL config I am having issues with and to be fair, I don't know if I am doing anything wrong.
Here is a compressed .bin file that works for me. Unzip it and use the yellow cloud icon on the ESP3D page to upload the .bin file.
I am out for a few hours, but can check in later.
Something must be wrong. Unzipped, pressed yellow cloud, accepted to update, came back with an error 0. I am no novice to all this either , so you can be assured I know what I am doing to an extent. Unless I have a defective ESP , I may have to see if I have any more laying about.
back to basic - what version do you use ? Check the screen I sent before on top of menu, it have the versions on it, do a screenshot
also : what OS / browser do you use ? what version of esp 32 core do you use ? you can do a screenshot of window that apear when pushing blue button :
Hi luc Cant do a screen shot as it's running on a separate laptop. Best I can do is: UI:2 1b50 / FW: 1.1f (20190905)
this is not the master branch, you use the latest version of webUI which is not validated yet with GRBL please use the index.html.gz that is present in your grbl_esp32 fw directory in data directory
Every version of webUI provided with FW are working - the others may have issue
I can reproduce your issue now I have the information - I will work on it
Right, thanks, that may be where I am going wrong as I did download the index gz file externally, it was mentioned to do that in some random setup website that I read Hopefully it will work.
let me know if not - we can continue to dig in issue
Edit: I fixed it in WebUI repository - thank you for reporting it ^_^
Thanks luc. After a problem getting the wifi to work (I used arduino libraries in the compiler and it didn't like it for some reason) I have managed to get the configuration html up by sending over the correct file from the directory. I do have an error though, but I can live with this for now. I have always had this error from the very beginning, but won't bother you anymore (for now :) )
[E][WebServer.cpp:602] _handleRequest(): request handler not found
Just for information.
Many thanks for the help, let the fun begin.
Regards.
well this part is not normal and it is in FW can you screenshot the content of blue button ?
When I do a refresh of the main page (F5) I get this: [E][WebServer.cpp:602] _handleRequest(): request handler not found [E][Parsing.cpp:275] _parseArguments(): arg missing value: 0 [E][WebServer.cpp:602] _handleRequest(): request handler not found [E][Parsing.cpp:275] _parseArguments(): arg missing value: 0 [E][WebServer.cpp:602] _handleRequest(): request handler not found
this is monitoring on the terminal of the compiler Not on the screen on the html page
yes - but I need info on what core and configuration you are - so I need what info show in info window of blue button
Because on my side I cannot reproduce your issue
UI: 2.1b39 / FW: 1.1f
I cant capture the screen as I am on a different laptop and it is on a different IP, the config from the info is above if that is any use
I managed a version to send
no, what I need is the display of this blue button :
ok, sorry there were too many blue buttons to contend with, 2 secs
because what you show it is an old version - so I am quite sure the problem is not in FW but in the way you build it so I need to know the esp32 core version
I have it now connected to a diode laser and it's off like the clappers
ok - looks like you use very old version of core and old fw
1 - please download latest master here : https://github.com/bdring/Grbl_Esp32/archive/master.zip
2 - change core version in platformIO.ini to use latest git version by modifying
platform = espressif32
by
platform = https://github.com/platformio/platform-espressif32.git
you should have all latest version
I never used platformIO/vscode with this project so I am not sure of output behavior
once done you must have this output : You must not be in mixed mode like you are now - if yes restart board it should be in station only
OK I will try that as well. The board is an Expressif Devkit V1 using the WROOM chip by DoIt. The actual compiler properties I used were:
[env:esp32doit-devkit-v1] platform = espressif32 board = esp32doit-devkit-v1
Which I think are correct for this board.
if you say your above board details will be batter, then I will try them out, thanks.
stable is now old - better use the latest git
I didn't change any modes on the wifi, only the ip address from 192.168.0.1 to 192.168.0.23 as it clashed with my router. The wifi is as set in the config/wificonfig.h files, so I don't know where the mixed mode is coming from as I don't think it was my doing.
Many possible reasons not related to your actions
Yer, tried all that, re-flashed, looks like the same SDK, wifi mode still Mixed. Tried a few changes in the config file like #define DEFAULT_RADIO_MODE ESP_WIFI_STA, still all the same. it's working in a fashion, better than it ever was.
If you changed the entry I gave you it cannot be same sdk version
What about grbl version ?
Please do not change anything in FW is not working as you think it is
same exactly - my platformio must have the most up to date info installed. GRBL is 1.1f, but I did notice that the UI is 2.1b39 and not 1b50 as I had before, that was from the link you sent me to upload
Please show me your platformio.ini
[platformio] src_dir=Grbl_Esp32 lib_dir=libraries data_dir=Grbl_Esp32/data
[common_env_data] lib_deps_builtin = ArduinoOTA BluetoothSerial DNSServer EEPROM ESPmDNS FS Preferences SD SPI SPIFFS Update WebServer WiFi WiFiClientSecure
[env:esp32doit-devkit-v1] platform = espressif32 board = esp32doit-devkit-v1 framework = arduino upload_speed = 512000 board_build.partitions = min_spiffs.csv monitor_speed = 115200
I am just updating with that OTA file you sent, it wouldnt go in before, it is now
SDK now updated to v3.2.2.120 wifi Mode still mixed UI 2.1b39 / FK 1.1f 20190908
What is the output of [ESP400]
command?
{"EEPROM":[ {"F":"network","P":"ESP_HOSTNAME","T":"S","V":"grblesp","H":"Hostname" ,"S":"32", "M":"1"}, {"F":"network","P":"HTTP_ON","T":"B","V":"1","H":"HTTP protocol","O":[{"Enabled":"1"},{"Disabled":"0"}]}, {"F":"network","P":"HTTP_PORT","T":"I","V":"80","H":"HTTP Port","S":"65001","M":"1"}, {"F":"network","P":"TELNET_ON","T":"B","V":"1","H":"Telnet protocol","O":[{"Enabled":"1"},{"Disabled":"0"}]}, {"F":"network","P":"TELNET_PORT","T":"I","V":"23","H":"Telnet Port","S":"65001","M":"1"}, {"F":"network","P":"RADIO_MODE","T":"B","V":"2","H":"Radio mode","O":[{"None":"0"},{"STA":"1"},{"AP":"2"},{"BT":"3"}]}, {"F":"network","P":"STA_SSID","T":"S","V":"GRBL_ESP","S":"32","H":"Station SSID","M":"1"}, {"F":"network","P":"STA_PWD","T":"S","V":"****","S":"64","H":"Station Password","M":"8"}, {"F":"network","P":"STA_IP_MODE","T":"B","V":"0","H":"Station IP Mode","O":[{"DHCP":"0"},{"Static":"1"}]}, {"F":"network","P":"STA_IP","T":"A","V":"0.0.0.0","H":"Station Static IP"}, {"F":"network","P":"STA_GW","T":"A","V":"0.0.0.0","H":"Station Static Gateway"}, {"F":"network","P":"STA_MK","T":"A","V":"0.0.0.0","H":"Station Static Mask"}, {"F":"network","P":"AP_SSID","T":"S","V":"GRBL_ESP","S":"32","H":"AP SSID","M":"1"}, {"F":"network","P":"AP_PWD","T":"S","V":"****","S":"64","H":"AP Password","M":"8"}, {"F":"network","P":"AP_IP","T":"A","V":"192.168.0.1","H":"AP Static IP"}, {"F":"network","P":"AP_CHANNEL","T":"B","V":"1","H":"AP Channel","O":[{"1":"1"},{"2":"2"},{"3":"3"},{"4":"4"},{"5":"5"},{"6":"6"},{"7":"7"},{"8":"8"},{"9":"9"},{"10":"10"},{"11":"11"},{"12":"12"},{"13":"13"},{"14":"14"}]},{"F":"network","P":"NOTIF_TYPE","T":"B","V":"0","H":"Notification type","O":[{"None":"0"},{"Line":"3"},{"Pushover":"1"},{"Email":"2"}]}, {"F":"network","P":"NOTIF_T1","T":"S","V":"","S":"63","H":"Notification Token 1","M":"0"}, {"F":"network","P":"NOTIF_T2","T":"S","V":"","S":"63","H":"Notification Token 2","M":"0"}, {"F":"network","P":"NOTIF_TS","T":"S","V":"","S":"127","H":"Notification Settings","M":"0"} ]}
Are you using your device in AP mode ? How did you setup the wifi for your grbl ?
i didnt, it's all standard. downloaded a fresh version , compiled and run it, wifi is just on as esp, connected using the ip and thats it, using lightburn via comport to run the laser, wifi just monitors the output and can obviousley move the laser about using jog .
Is not recommended to use in AP mode. AP mode is normaly to let you configure your network. Your pc connected to esp will send lot of queries thinking they are on internet Do you still have the error in terminal when you refresh page ?
Yes I do, I am effectively only monitoring the USB output with either Lightburn, or Platformio Terminal. It still works, but I am getting that error. No big deal really.
Hi all, Compiled the program, uploaded it, the GRBL Configuration Panel does not show any information. Am I doing something wrong ? Compiled with PlatformIO and VSCode. Nothing changed in program, all standard. Help Please.