Closed drunkly closed 3 years ago
Ok, I'll answer to myself. M118 instruction is not available on Marlin until v1.1.4. Since I was using v1.1.0 it was not working. I suggest to anyone who can have this issue to check the current version sending M115 insturction:
Now when I send M118 it is returning the echo message and moving the camera as expected:
Greetings!!!
Hello, I have set my octoprint to send the M118 instructions which move the camera as this:
I was researching why this isn't working and I think this instruction is being sent from octoprint to the printer (def read_gcode) which doesn't listen for this instruction because is sent code instead of received code as show on this image:
What do you think you to duplicate the code for "def process_gcode" (from printer to octoprint) to "def read_gcode" and make the gcode feature on octoprint can handle the easy servo feature?
The target would be avoid to modify every gcode file to add this instruction and let octoprint handle it automatically.