Skip to content

docs: API v2 records the alarm cause where zmu has --cause - #65

Merged
SteveGilvarry merged 1 commit into
ZoneMinder:mainfrom
nabbi:docs/v2-alarm-cause-recorded
Oct 27, 2026
Merged

SteveGilvarry merged 1 commit into
ZoneMinder:mainfrom
nabbi:docs/v2-alarm-cause-recorded

Conversation

@nabbi

@nabbi nabbi commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Automated PR, tested in a zm-holodeck sandbox. An AI agent (Claude Opus 5.5) ran the live suite
against a disposable ZoneMinder built from upstream master 260a47518 plus
ZoneMinder/zoneminder#5349. Minimal human review before opening: please review it as you would
any contributor's PR.

TL;DR

🤖 Generated with Claude Code

ZoneMinder's monitors alarm API now passes the cause to zmu --cause
(the ZoneMinder change that adds zmu --cause), so trigger_alarm's cause is recorded on API
v2 too. Older versions still record "Forced Web". The library already sends
the cause; only the docstring, the README table and the live test change:
on v2 test_alarm accepts the cause sent or "Forced Web".
@nabbi
nabbi marked this pull request as ready for review October 26, 2026 02:28
@SteveGilvarry
SteveGilvarry merged commit 2e25694 into ZoneMinder:main Oct 27, 2026
3 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants