User commands

Since the beginning of the project, Printoid embeds a major & exclusive feature, that can’t be found in any other app for OctoPrint: the ability to create your own powerful commands in a dedicated panel.

This feature is available for the PRO and PREMIUM users only. Here are the tutorials to understand what are user commands in Printoid, and how to use them.

GCODE COMMANDS

You can create and send your own GCODE commands to your 3D printer(s) over OctoPrint.

GCODE commands are accessible when the following conditions are met:

  • Printoid is properly connected to your OctoPrint server
  • OctoPrint is properly connected to your 3D printer and ready to communicate with it

Read the tutorial

SSH COMMANDS

You can create and send your own SSH commands to your Raspberry Pi (or any other OctoPrint host machine such as a PC for example). SSH commands are useful if you have to communicate with the OS in your Raspberry Pi and wants to execute system commands, such as switching ON/OFF the GPIO ports, reboot the Pi, restart OctoPrint, perfom system or server updates… or whatever you can do over any other SSH client.

SSH commands are accessible when the following condition is met:

  • Username (account on the Raspberry, ‘pi’ by default) and Password are provided in the OctoPrint profile in Printoid
  • No conditions on the connection state with OctoPrint, nor with the 3D printer

Read the tutorial

HTTP COMMANDS

You can create and send your own HTTP commands to a server on your Raspberry Pi. HTTP commands can be sent using cURL from a laptop to communicate with a server via webservices for example. Best example is the PSU plugin in OctoPrint, that provided APIs to modify the PSU state.

HTTP commands are accessible when the following condition is met:

  • Printoid is properly connected to your OctoPrint server
  • No condition on the connection state between OctoPrint and the 3D printer

Read the tutorial

SYSTEM COMMANDS (OCTOPRINT)

You can create and send your own OctoPrint’s built-in commands you’ve defined in config.yaml on your Raspberry Pi. These system commands are directly executed by OctoPrint, that way you can for example request OctoPrint to execute a script to switch ON/OFF the GPIO ports, without having to SSH your Raspberry Pi. That’s a pretty good alternative to the SSH commands because the System commands don’t need to have the Username & Password configured in Printoid.

System commands are accessible when the following condition is met:

  • Printoid is properly connected to your OctoPrint server
  • No condition on the connection state between OctoPrint and the 3D printer

Read the tutorial