Bambulab Web interface for multiple printers
[!IMPORTANT]
https://wiki.bambulab.com/en/p1/manual/p1p-firmware-release-historyBambulab 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
Web based application to monitor multiple bambu printers using mqtt / ftp / rtsp (no custom firmware required)
Technologies used:
| 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]
|
In Bambu Studio/Orca slicer, make sure to slice the place and then use the "File -> Export -> Export plate sliced file". This creates a
.3mfproject with embedded.gcodeplate.
Without enabling bouncy castle, you will see
552 SSL connection failed: session resuse required
Dashboard
Batch printing
More screenshots in docs
java -version[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)bambu-web-*-runner.jar from releases into a new folder (or use the 1 liner below):curl -s https://api.github.com/repos/tfyre/bambu-farm/releases/latest \
| grep browser_download_url | cut -d'"' -f4 | xargs curl -LO.env config file from Minimal Configjava -jar bambu-web-x.x.x-runner.jar[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
# 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:
bambu.use-bouncy-castle=trueAdd JVM startup flag:
bash / cmd:
java -Djdk.tls.useExtendedMasterSecret=false -jar bambu-web-x.x.x-runner.jarpowershell:
java "-Djdk.tls.useExtendedMasterSecret=false" -jar bambu-web-x.x.x-runner.jarAdd to .env:
quarkus.http.limits.max-body-size=30MAdd to .env:
# values are in mm/minute
bambu.move-xy=5000
bambu.move-z=3000Add to .env:
bambu.menu-left-click=falseAdd to .env:
bambu.dashboard.filament-full-name=falseIf you want to modify the CSS, create a file next to the .jar file called styles.css
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 |
:root {
--bambu-default-columns: XXX;
}image / status / filaments "down" so that progress is after name.dashboard-printer .image {
order: 3;
}
.dashboard-printer .status {
order: 4;
}
.dashboard-printer .filaments {
order: 1;
}For debugging the application, add the following to .env and uncomment DEBUG or TRACE logging sections
### 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=TRACENo open issues yet, or sync has not completed.