[PR #227] [MERGED] Fix: P2S printer model support - add vibration_cali disable and FTP SSL session reuse #960

Closed
opened 2026-05-06 12:34:12 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/227
Author: @deathly1987
Created: 2/2/2026
Status: Merged
Merged: 2/2/2026
Merged by: @maziggy

Base: 0.1.7bHead: fix/p2s-printer-support


📝 Commits (1)

  • be18ebb Fix P2S printer support - disable vibration_cali and fix FTP SSL

📊 Changes

4 files changed (+29 additions, -5 deletions)

View changed files

📝 backend/app/services/bambu_ftp.py (+2 -1)
📝 backend/app/services/bambu_mqtt.py (+18 -1)
📝 backend/app/services/print_scheduler.py (+8 -3)
📝 backend/app/services/printer_manager.py (+1 -0)

📄 Description

Problem

P2S printers fail to print with error 0300_400C and FTP SSL errors

Solution

  1. Add printer model parameter to BambuMQTTClient
  2. Disable vibration_cali for P2S (not supported like X1/P1)
  3. Remove P2S from SKIP_SESSION_REUSE_MODELS (needs SSL reuse like X1C/P1S, not skip)
  4. Improve print scheduler error logging for better debugging

Changes

  • backend/app/services/bambu_mqtt.py: Added model parameter and P2S-specific handling
  • backend/app/services/printer_manager.py: Pass model to BambuMQTTClient
  • backend/app/services/print_scheduler.py: Better error messages
  • backend/app/services/bambu_ftp.py: Fixed P2S FTP SSL session reuse

Testing

  • Tested with P2S printer
  • FTP upload now works correctly
  • Print parameters adapted for P2S hardware

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/maziggy/bambuddy/pull/227 **Author:** [@deathly1987](https://github.com/deathly1987) **Created:** 2/2/2026 **Status:** ✅ Merged **Merged:** 2/2/2026 **Merged by:** [@maziggy](https://github.com/maziggy) **Base:** `0.1.7b` ← **Head:** `fix/p2s-printer-support` --- ### 📝 Commits (1) - [`be18ebb`](https://github.com/maziggy/bambuddy/commit/be18ebb36cf60c7e74fe63f21718e62e6ee4d3b7) Fix P2S printer support - disable vibration_cali and fix FTP SSL ### 📊 Changes **4 files changed** (+29 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `backend/app/services/bambu_ftp.py` (+2 -1) 📝 `backend/app/services/bambu_mqtt.py` (+18 -1) 📝 `backend/app/services/print_scheduler.py` (+8 -3) 📝 `backend/app/services/printer_manager.py` (+1 -0) </details> ### 📄 Description ## Problem P2S printers fail to print with error 0300_400C and FTP SSL errors ## Solution 1. Add printer model parameter to BambuMQTTClient 2. Disable vibration_cali for P2S (not supported like X1/P1) 3. Remove P2S from SKIP_SESSION_REUSE_MODELS (needs SSL reuse like X1C/P1S, not skip) 4. Improve print scheduler error logging for better debugging ## Changes - backend/app/services/bambu_mqtt.py: Added model parameter and P2S-specific handling - backend/app/services/printer_manager.py: Pass model to BambuMQTTClient - backend/app/services/print_scheduler.py: Better error messages - backend/app/services/bambu_ftp.py: Fixed P2S FTP SSL session reuse ## Testing - Tested with P2S printer - FTP upload now works correctly - Print parameters adapted for P2S hardware --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:34:12 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#960
No description provided.