Repository navigation
feat: add pause and resume for triggers - #8
Merged
Merged
Conversation
rwjblue
marked this pull request as ready for review
November 14, 2026 13:48
Let users temporarily stop alerts and resume them without rebuilding their trigger settings. Use HamAlert’s dedicated state endpoint with an interactive picker or an exact trigger ID.
rwjblue
force-pushed
the
rwjblue/add-pause-and-resume
branch
from
November 14, 2026 13:56
f6b560f to
25ca14a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BLUF: Add
pauseandresumecommands for individual HamAlert triggers.Users can temporarily stop alerts from a trigger and turn them back on with the same settings. Each command opens a picker filtered to eligible triggers. Scripts can pass
--trigger-idto select a trigger directly. Repeating a command for a trigger already in the requested state leaves it as is.Both commands use the same state endpoint as the HamAlert website, which changes only the enabled state. A local HTTP test covers both requests and verifies that the CLI reports an error if HamAlert declines the update.
Examples
With sample triggers,
pauseshows only enabled triggers:Type
SOTAto filter the list to that trigger, then press Enter:Now
resumeshows “SOTA alerts” alongside “Weekend contest,” which was already paused:Press Enter to resume the highlighted trigger:
For scripts, replace the example ID with the one shown in the picker or the trigger's
_idfrom a backup.Command help