Skip to content

feat: bambu-watch extensions — temp thresholds (#9) + heartbeat (#14)#28

Merged
abe238 merged 1 commit into
mainfrom
feature/9-14-watcher-extensions
May 26, 2026
Merged

feat: bambu-watch extensions — temp thresholds (#9) + heartbeat (#14)#28
abe238 merged 1 commit into
mainfrom
feature/9-14-watcher-extensions

Conversation

@abe238
Copy link
Copy Markdown
Owner

@abe238 abe238 commented May 26, 2026

Bundle A of the T1 roadmap. Both extend the bambu-watch daemon.

15 new tests, 76 passing total. Closes #9, closes #14.

#14)

bambu-watch now takes three optional flags:
  --notify-bed-temp <C>     fire once when bed crosses this temp
  --notify-nozzle-temp <C>  same for nozzle
  --heartbeat               alert on connection loss / restore

ThresholdState fires one notification per crossing and re-arms on next
IDLE/PREPARE -> RUNNING transition.

HeartbeatState tracks disconnect/reconnect events. Non-zero rc fires
'Printer unreachable'; clean rc=0 (Ctrl-C) doesn't. Reconnect after an
alarm fires 'Printer back online'.

15 new tests; 76 passing total.

Closes #9, closes #14.
@abe238 abe238 merged commit aa42f82 into main May 26, 2026
4 checks passed
@abe238 abe238 deleted the feature/9-14-watcher-extensions branch May 26, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Heartbeat alarm: detect printer offline (T2) Notify on user-specified temperature reach (T1)

1 participant