User Tools

Site Tools


3d_printing:octoprint-cli

Installing Octopi-CLI

pip3 install octoprint-cli

Edit file:

vi /home/erik/.local/bin/config.ini

Add this in, making sure the server name and ApiKey are correct:

[server]
;Set OctoPrint server address and x-api-key
ServerAddress = octopi-blue.hohenfels.mylocal
ApiKey = CCFFFF917E1843DA9ADB601E1F6C1AFE

[preferences]
;Set if the program uses colored or formatted text, this setting is turned off on windows due to cmd and powershell limitations
FormattedText = true
;Set if the program should check for updates
UpdateCheck = true

[printer]
;Set maximum temperature that printer can be set to
MaxExtruderTemp = 250
MaxBedTemp = 85

Test

octoprint-cli print status

Copy to /usr/local/bin/

sudo cp /home/erik/.local/bin/config.ini /usr/local/bin/
REF:
3d_printing/octoprint-cli.txt · Last modified: 2024/10/01 13:55 by 127.0.0.1