mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[GH-ISSUE #1011] [Bug]: Archive replay prints may not emit the same printer events as Studio-submitted prints #709
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy#709
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PurseChicken on GitHub (Apr 17, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/1011
Originally assigned to: @maziggy on GitHub.
Bug Description
When printing a file via Bambuddy's archive re-print feature, third-party tools that monitor the printer over MQTT (specifically OctoEverywhere, in my testing) report wildly wrong print durations on completion. The same file printed via Studio → Bambuddy proxy → printer reports correct durations.
My hypothesis is that Bambuddy's archive-reprint path submits the print to the printer using a different mechanism than a Studio-forwarded print, and the printer doesn't publish the same MQTT events (likely print.gcode_start_time or the equivalent state transition) that signal "a new print has started right now." Third-party tools that rely on those events to time the print see the printer enter a printing state but never receive a clean start signal, so they fall back to stale references.
Expected Behavior
Archive-replay prints should trigger the same printer-side MQTT events as Studio-submitted prints, so that third-party tools monitoring the printer can time the job correctly.
Steps to Reproduce
Controlled test with the same print file:
Print from Bambu Studio, with Bambuddy acting as the proxy printer (Studio → Bambuddy → P1S). OctoEverywhere reports correct duration (45 min actual, 45 min reported). ✅
Re-print the same file from Bambuddy's archive. OctoEverywhere reports wildly wrong duration (40 min actual, 1h 40m reported). ❌
Re-print the same file from archive again. Duration is wrong again, and the error appears to grow — on the second archive replay the reported duration was ~4 hours for a ~45 minute print. The "extra" time roughly matches the elapsed clock time since the previous archive replay of the same file, which suggests the printer (or something in the flow) may be reusing a stale start timestamp for repeat archive replays.
Printer Model
P1S
Bambuddy Version
v0.2.3b3
Printer Firmware Version
01.10.00.00
Installation Method
Other
Operating System
Linux (Ubuntu/Debian)
Relevant Logs / Support Package
No response
Screenshots
No response
Additional Context
I also filed a related report with OctoEverywhere, since there's an argument they should handle the missing start event more gracefully on their side. But I wanted to flag this here too because the cleaner fix is probably to make archive replays behave identically to Studio prints from the printer's perspective — that way any third-party integration benefits, not just OE.
Happy to test anything, capture MQTT traces, or provide more detail if useful.
Checklist
@maziggy commented on GitHub (Apr 18, 2026):
Your debugging is spot on!
Available/Fixed in branch dev and available with the next release or daily build. Please let me know if it works for you now.
If you find Bambuddy useful, please consider giving it a ⭐ on GitHub — it helps others discover the project!