Module: MMM-Bambulink
This MagicMirror module,
MMM-Bambulink is a third-party module for MagicMirror² designed to display information about your Bambu Lab printer directly on your MagicMirror screen. The module connects to your printer over the local network using Bambu Lab’s LAN credentials and updates information automatically at a configurable interval.
Important: ONLY LAN mode NOT must be enabled on the printer.
To use this module, you need the following information:
- The IP address of your Bambu Lab printer
- The printer’s LAN Access Code
- The printer serial number
These three values are required in the configuration to establish the connection with your printer. MagicMirror² documentation recommends clearly listing required external dependencies and setup information in a module README.
- Monitor your Bambu Lab printer directly from MagicMirror².
- Secure local connection using MQTT/TLS on port 8883.
- Configurable refresh interval for automatic updates.
- Custom printer title using the
printerModeloption. - Two temperature display modes:
- tile view (
tiles) - graph view (
graph)
- tile view (
- Visual AMS display including:
- AMS temperature,
- filament color,
- loaded filament type for each slot.
- Automatic highlight of the active AMS slot during printing, including when the printer switches filament. Bambu’s AMS workflow is built around slot-based filament selection and color mapping, which makes this type of visual highlighting consistent with how AMS data is handled in local workflows.
- Simple installation inside the standard MagicMirror² module structure.
The module is functional and ready to use in a standard MagicMirror² environment. Installation, Node.js dependencies, configuration, and update steps follow the usual module workflow inside ~/MagicMirror/modules, which is the standard location for third-party MagicMirror² modules.
The project is still evolving, especially in terms of UI improvements, advanced display options, and visual customization.
You can support my work here -> ![]()
MMM-Bambulink is designed for MagicMirror² and Bambu Lab printers without LAN mode enabled.
The required parameters such as ip, accessCode, serial, mqttPort, and useTLS indicate that the module is intended to communicate with the printer locally through a secure network connection.
Go to your MagicMirror modules directory:
cd ~/MagicMirror/modulesClone the repository:
git clone https://github.com/TAGinside/MMM-BambulinkEnter the module directory:
cd MMM-BambulinkInstall the Node.js dependencies:
npm installAdd the module to the modules array in your config/config.js file:
{
module: "MMM-Bambulink",
position: "top_left",
config: {
ip: "192.168.1.x", // Printer IP address
accessCode: "xxxxxxxx", // LAN Access Code
serial: "XXXXXXXX", // Printer serial number
updateInterval: 5000, // Refresh interval in ms
printerModel: "H2S", // Displayed printer name or model
temperatureDisplayMode: "tiles", // "tiles" or "graph"
display: {
scale: 1,
width: 320,
graphMinutes: 1
},
temperatureColors: {
nozzle: "#ff4d4f", // Red
bed: "#ff9f1a", // Orange
chamber: "#4da3ff" // Blue
}
}
},MagicMirror² modules are configured through config/config.js, where each module is added to the modules array with its own config object.
After adding the module to config/config.js, restart MagicMirror².
Once running, the module will display your Bambu Lab printer information in the selected MagicMirror position, such as top_left, using the temperature display mode you configured.
To update the module:
cd ~/MagicMirror/modules/MMM-Bambulink
git pull
npm ciThen restart MagicMirror². Tada !
MMM-Bambulink is especially useful in:
- a workshop,
- a technical office,
- a home lab,
- a smart home dashboard centered around MagicMirror².
It allows you to quickly monitor an active print, confirm that the printer is responding, and keep a live visual overview of the current job without constantly opening Bambu Studio.
The module is open source and free to use and modify.
Feedback is always welcome, especially for printer compatibility, AMS behavior, and display improvements.