Questions tagged [octoprint]

OctoPrint is a web interface for 3D Printers written in python.

Links

47 questions
8
votes
3 answers

How to change WebKit macro to false from CSS or JS

The new WebKit feature for loading large images asynchronously introduced in Safari Tech Preview 26 causes mjpg-streamer webcam based streams to flicker, the boolean property that defaults to true, largeImageAsyncDecodingEnabled, causes this issue.…
klcjr89
  • 5,862
  • 10
  • 58
  • 91
4
votes
3 answers

ModuleNotFoundError: No module named 'apscheduler'

it might be a silly problem. I have no idea about why I am facing ModuleNotFoundError: No module named 'apscheduler' but I have already successfully installed APscheduler. I have tried uninstalling it and re-install the specific version of…
Zhaojun
  • 41
  • 1
  • 2
2
votes
1 answer

How to upload a file via apache-httpclient?

I want to upload a file as described here: http://docs.octoprint.org/en/master/api/files.html#upload-file-or-create-folder I use apache-httpclient to send a post connection, but whenever I start the method, nothing happens and the application got…
Flontis
  • 307
  • 1
  • 4
  • 13
2
votes
1 answer

Upload Large files to S3 without authentication in Python

I'm trying to upload large files to Amazon S3 without using credentials. I'm creating a plugin for Octoprint with this, and I can't put any sort of credentials into the code due to it being public. Currently my code for uploads looks like…
2
votes
3 answers

I am trying to write a python script to GET and POST to octoprint

I am trying to use the REST API with Octoprint My code is as follows: import requests import json api_token = '7598509FC2184985B2B230AEE22B388F' api_url_base = 'http://10.20.10.189/' api_url = '{}{}'.format(api_url_base, 'api/job') headers = { …
2
votes
1 answer

Raspberry Pi / Octopi USB Camera Setup: What does this mean and how do I use it?

I'm very new to Raspberry Pi, and have no prior notable experience with Linux so this is all new to me... Octoprint is a 3D printer spooler that you can run on your raspberry pi. One of the features on Octoprint is the ability to setup a USB camera…
Robomato
  • 257
  • 1
  • 2
  • 13
2
votes
2 answers

How do i grep a range of data value output by a program in Bash Script

I am doing this script to check if my OctoPrint (3d-printer) is cooling down or not. By using #octocmd status temps: bed: actual=26.0, target=0.0, offset=0 tool0: actual=54.9, target=55.0, offset=0 i will get a data like this. i am able…
Tsu Wei Quan
  • 335
  • 1
  • 5
  • 19
2
votes
1 answer

How to edit a web interface (front end)

I want to make some changes to the Octoprint 3d printing web interface in order to fit my expectations. In order to change values and observe the results, I apparently have to recompile every time even if the changes are on the front end and not in…
xkrpz
  • 35
  • 2
1
vote
1 answer

Configuring HAProxy in docker (503 Service Unavailable)

I create an Octoprint container to control my printer, and it works fine. Now I want to have secure access to it from anywhere. To do this, I use HAProxy. However, after authorization, HAProxy returns the StatusCode 503, and I can't fix that. Here…
Oleksandr
  • 81
  • 2
  • 12
1
vote
0 answers

Errors installing Netfaces for Python in Win10

I am trying to set up an Octoprint server on an old but perfectly servicable Win10 Laptop workstation, however, during the final octoprint install, I get this error (see attached image) noting that I require a later version of C++, at least ver 14…
Axe
  • 11
  • 1
1
vote
0 answers

How to Nginx reverse proxy (proxy_pass) from inside Docker container to ouside (local network)

Previous title: Use Docker Nginx container to proxy website on another machine in local network I would really like to access my 3D Printer (OctoPrint) from outside. It is currently accessible at http://192.168.1.198 at my home. I have docker setup…
D3strukt0r
  • 571
  • 1
  • 4
  • 19
1
vote
1 answer

How do bind/map a device to Rancher?

When I run the command on my SBC: docker run --volume $(pwd):/home/octoprint --device /dev/ttyUSB0:/dev/ttyACM0 -p 5000:5000 --name octoprint octoprint/octoprint:1.4.0-python3 Everything works normally; I can open the octoprint screen and my 3D…
1
vote
1 answer

How to send a POST Request to Octoprint in Java?

I want to send a POST Request to the Octoprint API via the Apache HttpClient, something like shown here: http://docs.octoprint.org/en/master/api/job.html#issue-a-job-command (e.g. to start a job). I've read the docs of both, but still getting "Bad…
Flontis
  • 307
  • 1
  • 4
  • 13
1
vote
0 answers

Cannot pass arguments to JavaScript file using config.yaml in OctoPrint events API

I am trying to pass parameters to a JavaScript file which will be executed using NodeJS. The JavaScript file contains following function: function handleEvent() { var options = { method: 'POST', url:…
shogitai
  • 1,823
  • 1
  • 23
  • 50
1
vote
0 answers

Define input argument-type and -name in freeopcua server

I'm programming an opc server for a octoprint server. The opc server has to communicate with the octoprint server. One opc method is to issue a slicing process by passing the path of the stl-file over a opc client gui. As I'm a noob in this section…
1
2 3 4