-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I have successfully tested the Octopi image on a raspberry pi controlling GRBL on an Arduino Nano. I followed the instructions on the fabricatable machines repository to install and set up.
I am able to load and run jobs. But octoprint with the grbl support plugin behaves unstable and freezes often. After a freeze the octoprint servers needs to be restarted. We need to find a way to improve the plugin. It could be great if our fixed could be sent as a pull request to the plugin repo
Issues to fix
- GRBL alarm commands are not well handled and "freezes" octoprint so that a restart is required. It would be super if Octoprint could automatically disconnect and reconnect or send a "clear alarm" command after an alarm.
- It could also be great to map the error codes to the official descriptions to help users troubleshoot.
- Octoprints sends unnecessary marlin commands that seem to sometime make GRBL go to an alarm state. Typically (M1xx).
- After a few minutes of being idle Octoprint seems go into a time out error because it expected a response from GRBL
- Pressing the "Stop" button in the octoprint interface stops the machine movements but not the spindle.
Tweaks I have made to make Ocoprint work on GRBL
Turn off "Send a checksum with a command" (This is also mentioned in the GRBL plugin repo)
Set the error Handling to "Cancel any ongoing prints". I think ignoring them entirely might be risky.
Set the temperature query interval to daily. If this one is to frequent it impacts the streaming of coordinates and creates an error response. This solution is mentioned in this issue in the plugin repo.