Questions tagged [octoprint]

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

Links

47 questions
0
votes
0 answers

Send HTTP request from Octoprint interface button

My LED controller and my Octoprint are connected to my network. I need to install Octoprint plugin what would display button on my interface, after click octoprint would send post request to my LED controller. This is how it works: Turn ON LED =…
Mimikoo
  • 1
  • 1
0
votes
1 answer

Serving Website With Nginx on Raspberry Pi Alongside Octoprint

I'm trying to get my website up on my raspberry pi right now and I ran into some issues with Octoprint getting in the way. I had my website served using nginx on a different sd card that didn't have Octoprint and it worked just fine. Now when I try…
0
votes
1 answer

OctoPrint API, error 400 when making a POST request

I'm working with Octoprint's API. I'm struggling trying to issue commands to the 3d printer. For example, I want to issue a command that makes the 3d printer jog the X-axis. import requests headers = {"Authorization": "Bearer "} def Beep(): …
0
votes
0 answers

Websocket not working with basic authentication on nginx-ingress

I am trying to deploy octoprint on k8s cluster running ingress-nginx with letsencrypt. Ingress annotations are set up as following: nginx.ingress.kubernetes.io/configuration-snippet: | proxy_set_header Host $http_host; proxy_set_header…
0
votes
2 answers

pip in path but command not found

I'm running a fresh installed OctoPi image (0.18.0). I added pip to my PATH in .bashrc file and sourced it but when I try to run pip I'm getting -bash: pip: command not found error. When I run /home/pi/oprint/bin/pip, pip is working properly. My…
Milvintsiss
  • 1,420
  • 1
  • 18
  • 34
0
votes
1 answer

Auto Run Script after power on - Raspberry Pi

I'm a total noob at programming, and therefore ran into a problem while problem solving on my Raspberry Pi. I have a .sh script on my desktop that I would like to run after my Raspberry Pi is booted. So far, I have tried the following... First, I go…
RHills
  • 11
  • 2
0
votes
1 answer

Python: using RPi GPIO input to switch smart plug via curl (octoprint plugin API)

I am quite a newbie in programming in python for a RPi (model 3B). I am using the RPi to run Octoprint which controls one of my 3D printers. The printer's power is connected via a TP-Link smart plug. I can control the plug via a plugin in Octoprint,…
0
votes
1 answer

How can I prevent oom-kill without increasing RAM

I have 256MB Orange Pi Zero that I want to run OctoPrint on. It starts and run for some time, then it gets killed because of out of memory. I can't add more RAM so I tried to increase swap size. I added 1GB but it doesn't help. Also I don't…
Krzysiek
  • 185
  • 1
  • 10
0
votes
1 answer

Can't hit site with Traefik in Docker

I'm new to Docker and newer to Traefik, but I tried going through the documentation, examples, and questions regarding this - and it still doesn't work. I have a Raspberry Pi running Linux 4.19.118-v7 on which I've installed Docker. I also have…
Rasmus Bækgaard
  • 737
  • 2
  • 11
  • 27
0
votes
1 answer

Filament movement sensor with Raspberry Pi and OctoPrint

I am trying to make a filament movement sensor and integrate it with Octoprint running on Raspberry Pi 3 model B+. My goal is to make a device which would pause the print when it senses that the filament is not moving for a given time, let's say 10…
0
votes
1 answer

HTTP GET Requests for Beginners - Octoprint

I'm doing a personal project with 3D printing and octoprint, in which I'm trying to retrieve values from the web interface such as the time left for the 3D print to be finished. I've done research and it seems that I have to do an HTTP GET Request.…
Mike
  • 67
  • 2
  • 8
0
votes
1 answer

Uploading an STL file with Alamofire to Octoprint through API

I have been stuck trying to create a function to upload a file (STL) to Octoprint API using Alamofire in a swift iOS app. All my other API functions are working nicely so I am assuming my trouble with the upload is related to the multipart data…
Ivan
  • 9
  • 1
0
votes
2 answers

Requirements for initiating a print on a 3D printer via USB

I thought it would be fun to implement a rudimentary version of Octoprint that can receive a gcode file and initiate a print on my Prusa i3. What are the requirements for initiating a print on a 3D printer via USB?
Barry Jones
  • 1,329
  • 1
  • 9
  • 16
0
votes
2 answers

How can I verify that Octoprint can't/won't turn my RaspberryPi into malware?

I don't mean any offense, but as I was setting up my Octoprint, a skeptical colleague of mine pointed out that it wanted to reach out to check for automatic software updates, creating broad surface area for potential attackers. After all, the…
Barry Jones
  • 1,329
  • 1
  • 9
  • 16
0
votes
1 answer

can i access a web server via virtual block in enginx?

so Im not sure how to describe it. I want to access my octoprint server via my personal website as a subdomain or direcotry. I am running nginx on an ubuntu 14.5.2 server on a VPS. The octoprint servers connects directly to the VPS via VPN. Im…