Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

bambu-farm

> 编程语言
Open source

Bambulab Web interface for multiple printers

368 stars0 likes0 views
WebsiteGitHub

About

Bambulab Web interface for multiple printers

Cannot print with latest firmware

[!IMPORTANT]
https://wiki.bambulab.com/en/p1/manual/p1p-firmware-release-history

Bambulab decided to block printing via MQTT unless you enable lanmode only.

Consider downgrading firmware Reference !142

OR

Check the Cloud Section about enabling cloud mode

Bambu Farm

Web based application to monitor multiple bambu printers using mqtt / ftp / rtsp (no custom firmware required)

Technologies used:

  • Java 21 https://www.azul.com/
  • Quarkus https://quarkus.io/
  • Vaadin https://vaadin.com/

Features / Supported Devices

Feature A1 A1 Mini P1P P1S X1C
Remote View

[x]

|

[x]

|

[x]

|

[x]

|

[x] 3

| |Upload to SD card|

[x]

|

[x]

|

[x]

|

[x]

|

[x] 2

| |Print .3mf from SD card1|

[x]

|

[x]

|

[x]

|

[x]

|

[x] 2

| |Print .gcode from SD card|?|?|?|?|?| |Batch Printing4|?|?|?|

[x]

|

[x] 2

| |AMS|?|?|?|

[x]

|

[x]

| |Send Custom GCode|

[x]

|

[x]

|

[x]

|

[x]

|

[x]

|

  1. Currently only .3mf sliced projects are supported.

In Bambu Studio/Orca slicer, make sure to slice the place and then use the "File -> Export -> Export plate sliced file". This creates a .3mf project with embedded .gcode plate.

  1. FTPS Connections needs SSL Session Reuse via Bouncy Castle

Without enabling bouncy castle, you will see 552 SSL connection failed: session resuse required

  1. Getting the LiveView to work requires additional software. For more details check the docker/bambu-liveview README.
  2. Batch Priting allows you to upload a single/multi sliced .3mf and select which plate to send to multiple printers, each with their own filament mapping.

Screenshots

  • Dashboard

  • Batch printing

More screenshots in docs

I just want to run it

  • Make sure you have Java 21 installed, verify with java -version
bash
[user@build:~]# java -version
openjdk version "21.0.1" 2023-10-17 LTS
OpenJDK Runtime Environment Zulu21.30+15-CA (build 21.0.1+12-LTS)
OpenJDK 64-Bit Server VM Zulu21.30+15-CA (build 21.0.1+12-LTS, mixed mode, sharing)
  • Download the latest bambu-web-*-runner.jar from releases into a new folder (or use the 1 liner below):
bash
curl -s https://api.github.com/repos/tfyre/bambu-farm/releases/latest \
  | grep browser_download_url | cut -d'"' -f4 | xargs curl -LO
  • Create a .env config file from Minimal Config
    • Check out the Full Config Options section if you want to tweak some settings
  • Run with java -jar bambu-web-x.x.x-runner.jar
bash
[user@build:~]# java -jar bambu-web-1.0.1-runner.jar
__  ____  __  _____   ___  __ ____  ______
 --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
 -/ /_/ / /_/ / __ |/ , _/ , [!NOTE]
> Getting the **LiveView** to work requires additional software. For more details check the [docker/bambu-liveview](docker/bambu-liveview) README.

```properties
bambu.live-view-url=/_camerastream/

# For each printer:
bambu.printers.PRINTER_ID.stream.live-view=true

# Default LiveView URL
bambu.printers.PRINTER_ID.stream.url=${bambu.live-view-url}${PRINTER_ID}

# Custom LiveView URL
bambu.printers.PRINTER_ID.stream.url=https://my_stream_domain.com/mystream
# 

Bouncy Castle

X1C needs SSL Session Reuse so that SD Card functionality can work. Reference: https://stackoverflow.com/a/77587106/23289205

Without this you will see 552 SSL connection failed: session resuse required.

Add to .env:

properties
bambu.use-bouncy-castle=true

Add JVM startup flag:

bash / cmd:

bash
java -Djdk.tls.useExtendedMasterSecret=false -jar bambu-web-x.x.x-runner.jar

powershell:

powershell
java "-Djdk.tls.useExtendedMasterSecret=false" -jar bambu-web-x.x.x-runner.jar

Uploading bigger files

Add to .env:

properties
quarkus.http.limits.max-body-size=30M

Configure XY/Z movement speeds

Add to .env:

properties
# values are in mm/minute
bambu.move-xy=5000
bambu.move-z=3000

Use Right click for menus

Add to .env:

properties
bambu.menu-left-click=false

Display Filament Type instead of Name

Add to .env:

properties
bambu.dashboard.filament-full-name=false

Custom CSS

If you want to modify the CSS, create a file next to the .jar file called styles.css

Changing the display columns

Display columns is a ratio and scale based on screen width

Refer to bambu.css

Example value for XXX
always 1 column 1
2 columns with 1080p 3
4 columns with 1080p 5
css
:root {
  --bambu-default-columns: XXX;
}

Ordering items inside printer box

  • Move display order of image / status / filaments "down" so that progress is after name
css
.dashboard-printer .image {
    order: 3;
}
.dashboard-printer .status {
    order: 4;
}
.dashboard-printer .filaments {
    order: 1;
}

Debug

For debugging the application, add the following to .env and uncomment DEBUG or TRACE logging sections

properties
### Log To File
quarkus.log.file.enable=true
quarkus.log.file.path=application.log

### DEBUG logging
#quarkus.log.category."com.tfyre".level=DEBUG

### TRACE logging
#quarkus.log.min-level=TRACE
#quarkus.log.category."com.tfyre".min-level=TRACE
#quarkus.log.category."com.tfyre".level=TRACE

Links

Inspirational Web interface

  • https://github.com/davglass/bambu-farm/tree/main

Printer MQTT Interface

  • https://github.com/Doridian/OpenBambuAPI/blob/main/mqtt.md
  • https://github.com/xperiments-in/xtouch/blob/main/src/xtouch/device.h
  • https://github.com/SoftFever/OrcaSlicer/blob/main/src/slic3r/GUI/DeviceManager.hpp

Remoteview

  • https://github.com/bambulab/BambuStudio/issues/1536#issuecomment-1811916472

Images from

  • https://github.com/SoftFever/OrcaSlicer/tree/main/resources/images

Json to Proto

  • https://json-to-proto.github.io/
  • https://formatter.org/protobuf-formatter

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javabambu-labbambulabquarkusvaadin

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言