mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 05:35:30 +02:00
[GH-ISSUE #307] [Bug]: Archive Duplication Issue #190
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#190
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 @jjjonesjr33 on GitHub (Feb 9, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/307
Originally assigned to: @maziggy on GitHub.
Bug Description
When reconnecting or restarting Bambuddy while a printer is actively printing, the same project is automatically archived again, resulting in duplicate archive entries.
Expected Behavior
The archive process should avoid creating duplicates. While the system does correctly label them as duplicates, they are still being created unnecessarily.
Steps to Reproduce
Rebooting the software while a file is actively printing triggers this behavior.
Printer Model
H2C
Bambuddy Version
v0.1.8.1
Printer Firmware Version
01.01.03.00
Installation Method
Docker
Operating System
Other
Relevant Logs / Support Package
Screenshots
Additional Context
No response
Checklist
@maziggy commented on GitHub (Feb 9, 2026):
Thanks for reporting! The H2C isn't officially supported yet, so there may be differences in how its firmware broadcasts print state over MQTT that cause duplicate archive triggers.
There is duplicate detection logic in place that prevents this on supported printers (A1, P1S, X1C) — it checks for existing archives on restart and reuses them. The fact that duplicates are correctly labeled shows the detection is working, but the prevention step may not be catching the H2C's specific state transitions.
I'll start looking into H2C support today. In the meantime, you can safely delete the duplicate entries from the archive.
@leisegang commented on GitHub (Mar 19, 2026):
The duplicates are also couted as many times as there are duplicates.
In my installation i se that if i start a print at 1900 and it is finished at 0200 the next day it is archived 2 times. and filament is added twice leaving cost tracking and filament tracking not correct.
@maziggy commented on GitHub (Mar 19, 2026):
Need more details. Please open a new issue and upload a support package.