But when the command returns values, then you know, right?
@nefelim4ag truly is a developer ![]()
- Start Klipper normally as you usually would. If you installed via KIAUH, the pseudo-tty is typically
~/printer_data/comms/klippy.serial. - Now you can communicate with Klipper from the shell, for example:
echo STATUS > ~/printer_data/comms/klippy.serial
- Since there is no “return channel,” you will only see the result of the command in the web interface.
- By running
cat ~/printer_data/comms/klippy.serial &, you create a “return channel” and fork it into the background. - Now, when you use the
echocommand, you will receive the return value cluttering your shell, regardless of what else you are doing. - You could also redirect the output to a file, keep the channel open by omitting the
&, or do whatever else you prefer.