/octobalena

Control your 3d-printer with octoprint + octoscreen via balena!

Primary LanguageShellGNU General Public License v2.0GPL-2.0

Octobalena




Remotely control your 3d-printer with octoprint + octodash via balena.io !

octoprint can be exposed on port 80 which can be remotely accessible via balena.io public URL feature

By default, the device can be reached at octobalena.local if mDNS is working on your device.

Getting started

You can deploy this project to a new balenaCloud application in one click using the button below:

balena deploy button

  • Sign up on balena.io
  • go through the getting started guide and create a new application
  • clone this repository to your local workspace
  • Using Balena CLI, push the code with balena push <application-name>
  • See the magic happening, your device is getting updated 🌟Over-The-Air🌟!

Via Git

  • Sign up on balena.io
  • go through the getting started guide and create a new application
  • clone this repository to your local workspace
  • add the balena remote to your local workspace using the useful shortcut in the dashboard UI
  • git push balena master
  • see the magic happening, your device is getting updated Over-The-Air!

Configure via environment variables

Octoprint Service Variables

Variable Name Value Description Default
CAMERA_DEV STRING The camera device node /dev/video0
MJPEG_STREAMER_AUTOSTART BOOLEAN Start the camera automatically true
MJPEG_STREAMER_INPUT STRING Flags to pass to mjpg_streamer -y -n -r 640x480
MQTT_BROKER STRING Ip address of mqtt broker to use
MQTT_BROKER_PORT STRING Port the mqtt broker is running on
ESPURNA_RELAY_NAME STRING Relay name (hostname) used by espurna at the root of topic. E.G ESPURNA-123456, see documentation

Octodash Service Variables

Variable Name Value Description Default
OCTOPRINT_APIKEY STRING Needed for OctoDash to interact with Octoprint
PRINTER_NAME STRING Name of the printer, as shows up in the bottom left of OctoDash Octobalena

mdns-publisher Service Variables

Variable Name Value Description Default
OCTOPRINT_HOSTNAME STRING Adds CNAME for mDNS so device is reachable at string.local octobalena

Octoprint Version

v1.5.2

Plugin versions

Plugin Name Version
OctoPrint Preheat v0.5.1
OctoPrint-DisplayLayerProgress v1.24.0
OctoPrint-PSUControl v0.1.10
OctoPrint-MQTT v0.8.7
OctoPrint-FilamentManager v1.6.3
OctoPrint-PrintTimeGenius v2.2.7
OctoPrint-UltimakerFormatPackage v0.2.1
OctoPrint-Enclosure v4.12
OctoPrint-BLTouch v0.3.4
OctoPrint-BedLevelVisualizer v1.0.0
Octolapse v0.4.1
OctoPrint-OctoVox v0.1.6
MarlinGcodeDocumentation v0.11.0
OctoPrint-Mattacloud v0.1.1

Attribution

Octoprint by Foosel

https://github.com/OctoPrint/OctoPrint

GNU Affero General Public License V3

OctoPrint provides a snappy web interface for controlling consumer 3D printers.

OctoDash by UnchartedBull

https://github.com/UnchartedBull/OctoDash

Apache 2.0

OctoDash is a User Interface for OctoPrint, it utilizes the OctoPrint API but tries to use modern design principles in order to fully enable the power of your Raspberry Pi attached to your 3D Printer. OctoDash works best with a Touchscreen and will support almost all functions that OctoPrint offers just in a nicer format. Give it a try!

Balena-io-playground

This project is in part based on excellent work done by the Balena.io team

https://github.com/balena-io-playground/balena-octoprint