mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[GH-ISSUE #443] [Bug]: HMS error notifications re-trigger due to flapping error codes #273
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
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-maziggy-1#273
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 @sbcrumb on GitHub (Feb 18, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/443
Originally assigned to: @sbcrumb on GitHub.
Bug Description
HMS error notifications fire repeatedly for the same error when the printer's HMS codes
flicker on and off. Newer printers (e.g. H2S) send transient HMS conditions that briefly
clear (
hms: []) and reappear every few seconds. Each time the error reappears after abrief gap, bambuddy treats it as a new error and sends another notification.
Example: During PETG printing, the chamber temperature regulation HMS code
(0300A70000030001) toggles on/off as temps fluctuate around the threshold, causing
repeated "HMS errors detected" / "HMS errors cleared" notification cycles.
MQTT log showing the flapping pattern:
15:43:42 HMS data received: []
15:43:43 HMS data received: [{'attr': 50374400, 'code': 196609}]
...
15:44:14 HMS data received: []
15:44:16 HMS data received: []
15:44:23 HMS data received: [{'attr': 50374400, 'code': 196609}]
...
15:44:31 HMS data received: []
15:44:36 HMS data received: [{'attr': 50374400, 'code': 196609}]
Expected Behavior
A single notification should be sent when an HMS error first appears. If the same error
briefly clears and reappears (flapping), it should not trigger additional notifications.
The notification tracking should only reset after the error has been genuinely cleared
for a sustained period (e.g. 30 seconds).
Steps to Reproduce
flicker on/off in the MQTT stream (e.g.
hms: [{...}]→hms: []→hms: [{...}]cycling every few seconds)
Printer Model
H2S
Bambuddy Version
0.2.0
Printer Firmware Version
01.01.02.00
Installation Method
Manual (git clone)
Operating System
Linux (Ubuntu/Debian)
Relevant Logs / Support Package
Screenshots
No response
Additional Context
No response
Checklist
@sbcrumb commented on GitHub (Feb 18, 2026):
@maziggy assign this to me, I have actually already fixed it and will open a PR for it.
@maziggy commented on GitHub (Feb 19, 2026):
https://github.com/maziggy/bambuddy/issues/443