mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[PR #444] [MERGED] Fix/hms flapping notifications #1050
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#1050
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?
📋 Pull Request Information
Original PR: https://github.com/maziggy/bambuddy/pull/444
Author: @sbcrumb
Created: 2/18/2026
Status: ✅ Merged
Merged: 2/19/2026
Merged by: @maziggy
Base:
0.2.1b← Head:fix/hms-flapping-notifications📝 Commits (10+)
c2dff5fDebounce HMS error tracking to prevent flapping notifications1d0875ebuild(deps): bump aquasecurity/trivy-action5bcfadbMerge pull request #437 from maziggy/dependabot/github_actions/dot-github/workflows/github_actions-9bddd90c5810cae70Updated CI971aa96build(deps): bump aquasecurity/trivy-action0a725c0Merge pull request #440 from maziggy/dependabot/github_actions/dot-github/workflows/github_actions-9bddd90c58a361671Updated CI036ae16Updated CI2d5f7bbMerge branch 'maziggy:main' into fix/hms-flapping-notifications0f549f9Merge branch '0.2.1b' into fix/hms-flapping-notifications📊 Changes
1 file changed (+14 additions, -2 deletions)
View changed files
📝
backend/app/main.py(+14 -2)📄 Description
Debounce HMS error tracking to prevent flapping notifications
Related Issue
Fixes #443
Type of Change
Changes Made
hms: []arrives, the tracking is preserved for 30 seconds instead of clearing immediatelyScreenshots
N/A
Testing
Verified with MQTT debug logs that flapping HMS codes (e.g. chamber temp regulation
during PETG prints) only trigger a single notification per episode instead of
repeated notifications on each on/off cycle.
Checklist
Additional Notes
Single file change (
backend/app/main.py), 14 lines added / 2 removed. The fixadds two module-level tracking variables (
_hms_last_seendict and_HMS_CLEAR_GRACE_SECONDSconstant) and updates the else branch of the HMS errorcheck to only clear tracking after the grace period has elapsed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.