I have a Longer Ray5 and use it as a plasma cutter.
so far so good, I managed to tweek the settings to add a pierce delay and thus it works fine now.
Connecting it via Wifi however did not work.
After figuring out that it uses Ports 8848 and 8849 I could connect and jog it. Sending G-Code however did not work.
It turns out the Longer firmware wants more fields and a different content_type in the POST.
I modified the code and it works well for me but I can't create a pull request befor I did not figure out how to make this configurable.
form.add_field("path", "/")
form.add_field("size", str(len(gcode)))
form.add_field(
"file", gcode, filename=filename, content_type="application/octet-stream" #text/plain
)
How would you want this done?
A parameter in the existing grbl_network setup alongside the host and port would be my suggestion.
Should I give that a try or do you have a different suggestion?
I have a Longer Ray5 and use it as a plasma cutter.
so far so good, I managed to tweek the settings to add a pierce delay and thus it works fine now.
Connecting it via Wifi however did not work.
After figuring out that it uses Ports 8848 and 8849 I could connect and jog it. Sending G-Code however did not work.
It turns out the Longer firmware wants more fields and a different content_type in the POST.
I modified the code and it works well for me but I can't create a pull request befor I did not figure out how to make this configurable.
How would you want this done?
A parameter in the existing grbl_network setup alongside the host and port would be my suggestion.
Should I give that a try or do you have a different suggestion?