-
Notifications
You must be signed in to change notification settings - Fork 1
Setting Up OctoPrint
OctoPrint is a host software that provides a web interface and API allowing users to wirelessly interact with their 3D printers. OctoPrint is compatible with the Ultimaker 2 out-of-the-box. This includes the capability to track the status of, start, or stop a print job and download or upload gcode files. The REST API will be of great use for us to automate printing jobs.
OctoPi is a Raspbian-based distribution that is installed on an SD card and operates on a Raspberry Pi. OctoPi contains all the packages needed to run OctoPrint while connected to a 3D printer.
We currently have a first generation Raspberry Pi Model B outfitted with a Wi-Pi wireless adapter and a 16GB SD card fitted with OctoPi. Since there are only two USB ports (with one taken by the wireless adapter), a USB hub may be needed (I ordered one and it is coming on Friday!) if a keyboard and mouse are needed.
Download and install OctoPi onto the SD card of the Raspberry Pi.
OctoPi must have internet access in order for OctoPrint to work. To add network credentials, you will need to navigate the contents of the SD card. In the root directory, open octoprint_network.txt and modify/uncomment the lines for the configuration options needed.
Below is an example of adding a WPA2 secured network with SSID networkID and password sukeersdog. Spaces are allowed.
Your device must be on the same network as the OctoPi in order for it to be accessible. There is also a way to SSH into the OctoPi from any network, but still need to look into that. If someone can look into how to get IllinoisNet to work, that would be great. Otherwise, we may have to use a phone hotspot or something. The wifi will randomly not connect sometimes. It seems like continuous restarts of the Raspberry Pi until it works seems to be the only solution.
If all else fails, comment everything out in the file and follow the instructions here.