BJClark / octobalena

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

Getting started

  • 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!

Attribution

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

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

About

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

License:GNU General Public License v2.0


Languages

Language:Shell 72.8%Language:Python 27.2%