Salandora / octoprint-customControl

This plugin makes Custom Controls editable through the OctoPrint WebUI
GNU Affero General Public License v3.0
25 stars 15 forks source link

not working with python script #10

Closed ManuelW77 closed 6 years ago

ManuelW77 commented 7 years ago

Hey there,

i try to execute a python script and set a script command with "/home/pi/camcran.py up". Same i use in system command editor and it works fine there. But in custom control nothing happens.

Salandora commented 7 years ago

Well thats because the customControls don't systemcommands ^^ Script commands is for this: http://docs.octoprint.org/en/master/features/custom_controls.html#parameterized-gcode-script http://docs.octoprint.org/en/master/features/gcode_scripts.html#sec-features-gcode-scripts

Also just a note: This is just an editor plugin, it's only purpose is to give an easy way to manage custom controls, which is a core feature of OctoPrint.