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
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 |
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 |
- 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!
- This is in part based on excellent work done by the Balena.io team
@see: https://github.com/balena-io-playground/balena-octoprint