-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI never sends M408 S1 command with Repetier-Firmware #2
Comments
Are you sending the requests, but having no responses? (like, being disconnected from the web interface) Or the web interface just never asks for data (not sending M408 S1)? |
Web interface never asks for data (never send M408 S1) |
I've done some investigating and am testing a fix now. Will update the repo soon. |
Ok. I can test it too. |
That's really weird. I've tested it on latest Chromium and Firefox – both seem to work fine. |
Log from Firefox console: GET XHR http://192.168.1.15/rr_connect [HTTP/1.1 200 OK 891ms] Maybe my module (ESP-01 upgraded to 2MB of flash) are weird ? |
It is hard to tell, but shouldn't be the case. |
@romekb Did you build Repetier firmware with ESP8266 Duet JSON data support? |
Of course. |
Okay, I see the culprit now. It is a bug in Repetier-Firmware. That's my fault it's there. I've submitted a patch. |
Ok, now I wait for new ESP12 module to exclude an hardware problem, and apply Your patch to repetier code, then test it. |
I have a similar problem. I am testing with a NodeMCU 1.0 connected to a Duet. I am using stable 2.0.0 of ESP8266 Arduino code because the staging version appears to be older (2.0.0 rc2). When I work around the authentication problem, the browser connects and I see these commands being sent: M408 S2 But that's it. The regular polling that the browser should be doing isn't happening. The Javascript console is showing exception "cannot read property axisHomed of undefined". As the Javascript has been minimised, it's a little hard to debug. |
void handleStatus() { |
dc42, please confirm this fix solves the problem. |
Hi Tony, I confirm that it solves the problem, running with RepRapFirmware 1.09m-dc42. If you refer to the code that implements M408 in RepRapFirmware, you will see that M408 with S0 and S1 implemt the status responses that were used by an older version of the web interface and are still used by PanelDue, S2 S3 and S4 implement the status responses type 1 2 and 3 used by the current web interface, and S5 returns the machine configuration. Regards David On 17 December 2015 20:47:50 GMT+00:00, Tony notifications@github.com wrote:
Sent from my Android phone with K-9 Mail. Please excuse my brevity. |
Hi !
I testing ESPRINTER with last Repetier code.
I get Machine name, firmware version and file listings but no current machine status.
After debugging serial commands from ESP8266 to Repetier I found a M117 commands (info), M408 S2, M408 S5, M20 S2 and M36 (sd listing) commands.
No any M408 S0/S1, and no current parameters displayed.
Axis control work, I can start printing via web interface, sending G commands work to.
No any status data, themperatures ect (no M408 S0/S1) commands from ESP8266.
Tested with Firefox and Chrome with the same result.
The text was updated successfully, but these errors were encountered: