Skip to content

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

License

Notifications You must be signed in to change notification settings

richbayliss/octobalena

 
 

Repository files navigation

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:

  • 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

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 74.4%
  • Python 25.6%