Connecting to Your Printer
On this page
- What is MQTT?
- Before You Begin
- Step 1: Find Your Printer Information
- Step 2: Configure Ryzer MQTT Settings
- Step 3: Test the Connection
- Step 4: Save Configuration
- Step 5: Verify Connection Status
- Understanding MQTT Topics
- Troubleshooting MQTT Connection
- Security and Privacy
- Supported Bambu Lab Printers
- Next Steps
- Advanced Configuration
- Need More Help?
This guide will help you connect your Ryzer LED controller to your Bambu Lab 3D printer using MQTT communication.
What is MQTT?
MQTT (Message Queuing Telemetry Transport) is how your Bambu Lab printer communicates its status:
- Print progress and state
- Temperature readings
- Error conditions
- Layer information
Ryzer listens to these messages and can respond with LED patterns based on printer status.
Before You Begin
Make sure you have:
- ✅ Ryzer connected to your WiFi network (First Time Setup)
- ✅ Bambu Lab printer connected to the same WiFi network
- ✅ Access to your printer’s touchscreen
- ✅ Ryzer web interface open at
http://ryzer.local
⚠️ Important: Ryzer and your printer MUST be on the same network for MQTT to work!
Step 1: Find Your Printer Information
You need to gather three pieces of information from your Bambu Lab printer.
1. Printer IP Address
How to find it:
On your printer’s touchscreen, navigate to:
- Settings (gear icon)
- Network or WiFi
- Look for IP Address
Write down the IP address:
- Format:
10.0.0.252(example) - Usually starts with
192.168.x.xor10.0.x.x
- Format:
📸 Screenshot Needed: Bambu Lab printer screen showing Network settings with IP address
2. Access Code (LAN Access Password)
What is it? The Access Code is your printer’s MQTT password. It’s required for any device to connect to your printer locally.
How to find it:
On your printer’s touchscreen:
- Settings (gear icon)
- Network or WiFi
- Access Code or LAN Access
Write down the 8-character code:
- Format:
bc59c3d1(example) - Contains numbers and lowercase letters
- Case-sensitive!
- Format:
📸 Screenshot Needed: Bambu Lab printer screen showing Access Code
💡 Tip: You can change the Access Code if needed. Just remember to update Ryzer with the new code!
3. Device Serial Number
What is it? Your printer’s unique identifier, used to construct the MQTT topic.
How to find it:
On your printer’s touchscreen:
- Settings (gear icon)
- Device or About
- Serial Number or SN
Write down the serial number:
- Format:
00M09C431202374(example) - Starts with
00Mor01Mor01P - 15 characters total
- Format:
📸 Screenshot Needed: Bambu Lab printer screen showing Serial Number/Device ID
Quick Reference Table
Fill this in as you gather information:
| Setting | Your Value | Example |
|---|---|---|
| Printer IP | _________________ | 10.0.0.252 |
| Access Code | _________________ | bc59c3d1 |
| Serial Number | _________________ | 00M09C431202374 |
| Client ID | (leave default) | bambu-led-controller |
Step 2: Configure Ryzer MQTT Settings
Now let’s enter this information into Ryzer:
Open Ryzer web interface:
- Navigate to
http://ryzer.localor your Ryzer IP address - Go to the Connection page
- Navigate to
Enter printer information:
Server (IP Address):
- Enter your printer’s IP address
- Example:
10.0.0.252 - No
http://or other prefix needed
Password (Access Code):
- Enter the 8-character access code
- Case-sensitive: use lowercase only
- Example:
bc59c3d1
Device ID (Serial Number):
- Enter your printer’s serial number
- Usually starts with
00M,01M, or01P - Example:
00M09C431202374
Client ID:
- Leave as default:
bambu-led-controller - Or customize if you prefer (letters, numbers, hyphens only)
📸 Screenshot Needed: Ryzer Connection page with all fields filled in (use example data)
Step 3: Test the Connection
Before saving, let’s verify the connection works:
Click “Test Connection” button:
- Ryzer will attempt to connect to your printer
- This takes 5-10 seconds
Watch for result:
- ✅ Success: “Connection successful!” message
- ❌ Failed: Error message with details
If Connection Succeeds
Great! You’ll see:
- “Successfully connected to printer”
- Green checkmark or success indicator
Proceed to Step 4 to save your settings.
If Connection Fails
Common error messages and solutions:
“Connection timeout”
Cause: Can’t reach printer at that IP address Solutions:
- Double-check printer IP address
- Ensure printer is powered on
- Verify printer is connected to WiFi (check printer screen)
- Ping printer:
ping 10.0.0.252(use your IP) - Make sure Ryzer and printer are on same network
“Authentication failed”
Cause: Wrong access code/password Solutions:
- Verify access code on printer (Settings → Network)
- Check for typos (case-sensitive!)
- Try copying/pasting the code
- Ensure you’re using the LAN access code (not Bambu Cloud password)
“Connection refused”
Cause: MQTT port blocked or printer not accepting connections Solutions:
- Restart printer (power cycle)
- Check printer firmware is up to date
- Verify LAN mode is enabled on printer
- Try different client ID
Step 4: Save Configuration
Once the test succeeds:
Click “Save Configuration” button
Wait for confirmation:
- “Configuration saved successfully”
- Settings are stored in Ryzer’s filesystem
Ryzer will now connect automatically:
- On every boot
- After network reconnection
- When returning from sleep mode
💡 Tip: Your settings are saved to Ryzer’s internal storage. Even after power loss, your MQTT configuration is preserved!
Step 5: Verify Connection Status
Let’s confirm Ryzer is receiving data from your printer:
Check Connection Indicator
On the Ryzer web interface Connection page:
- Green indicator: Connected and receiving data
- Red indicator: Not connected
- Yellow indicator: Connecting…
Start a Print (Optional)
Want to see it in action?
Start any print on your Bambu Lab printer
Watch for LED response (future feature):
- LEDs will change based on print status
- Indicates Ryzer is receiving print updates
Check Ryzer interface:
- Some firmwares show last message received
- Look for recent timestamp
📸 Screenshot Needed: Ryzer Connection page showing “Connected” status with green indicator
Understanding MQTT Topics
For advanced users, here’s how Ryzer connects to your printer:
MQTT Connection Details
| Setting | Value | Notes |
|---|---|---|
| Protocol | MQTT over TLS | Encrypted connection |
| Port | 8883 | Standard MQTT-TLS port |
| Topic | device/{deviceId}/report | Where printer publishes status |
| QoS | 0 | Fire-and-forget messages |
Example topic: If your serial is 00M09C431202374, Ryzer subscribes to:
device/00M09C431202374/reportYour printer publishes JSON messages to this topic containing all status information.
Troubleshooting MQTT Connection
Connection Works But No LED Response
This is normal! Currently, Ryzer receives the MQTT messages but LED animations based on print status are a future feature.
To verify it’s working:
- Check that Test Connection succeeds
- Ensure no error messages in Ryzer logs
Connection Drops After a While
Possible causes:
- Printer went to sleep mode
- Router dropping idle connections
- Weak WiFi signal
Solutions:
- Check WiFi signal strength of both devices
- Move devices closer to router
- Update Ryzer firmware (improved reconnection logic)
Can’t Connect to Printer After it Moves
If you moved your printer to a different network:
- Find printer’s new IP address
- Update Ryzer configuration with new IP
- Test and save
If printer IP changed on same network (DHCP):
- Check printer for new IP address
- Update Ryzer configuration
- Consider setting static IP on printer (router settings)
Multiple Printers
Want to connect to multiple Bambu Lab printers?
Currently, Ryzer can only connect to ONE printer at a time. To switch printers:
- Go to Connection page
- Enter new printer’s information
- Test and save
Future firmware may support multiple printers with LED strip zones.
Security and Privacy
Is My Data Safe?
Yes! MQTT communication is:
- ✅ Local only - Never leaves your network
- ✅ Encrypted - Uses TLS encryption
- ✅ Password protected - Requires access code
- ✅ Private - No cloud services involved
What Data Does Ryzer Receive?
Ryzer receives status messages from your printer including:
- Print progress percentage
- Layer information
- Temperatures (bed, nozzle)
- Print state (printing, paused, complete, error)
- Filament usage estimates
Ryzer does NOT:
- ❌ Send data to the internet
- ❌ Store your print files
- ❌ Track your printing habits
- ❌ Share data with third parties
Everything stays on your local network!
Supported Bambu Lab Printers
Ryzer has been tested with:
- ✅ X1 Series (X1, X1 Carbon, X1E)
- ✅ P1 Series (P1P, P1S)
- ✅ A1 Series (A1, A1 Mini)
All Bambu Lab printers use the same MQTT protocol, so Ryzer should work with current and future models.
See Compatibility for detailed printer compatibility.
Next Steps
Now that Ryzer is connected to your printer:
- Configure LED Settings - Set LED count and brightness
- Check for Updates - Ensure latest firmware
- Learn LED Patterns - Understand status colors (future)
Advanced Configuration
Change MQTT Client ID
The Client ID uniquely identifies Ryzer to your printer. Default is bambu-led-controller.
When to change:
- Running multiple Ryzer devices
- Avoiding conflicts with other MQTT clients
- Personal preference
Requirements:
- Letters, numbers, hyphens, underscores only
- Max 23 characters
- Must be unique on your network
MQTT Connection Parameters
For developers or advanced users:
{
"server": "10.0.0.252",
"port": 8883,
"use_tls": true,
"verify_cert": false,
"username": "bblp",
"password": "your-access-code",
"client_id": "bambu-led-controller",
"topic": "device/YOUR-SERIAL/report",
"qos": 0,
"buffer_size": 34464
}These are configured automatically by Ryzer - no manual editing needed!
Need More Help?
- MQTT Troubleshooting - Detailed MQTT issue solutions
- FAQ - Common questions about printer connections
- API Documentation - For custom integrations
Estimated Configuration Time: 5-10 minutes Difficulty: Beginner-friendly Requirements: Printer and Ryzer on same WiFi network