Skip to content

Add S7CommPlus alarm handling and subscriptions - #820

Open
gijzelaerr wants to merge 1 commit into
masterfrom
feat/794-s7commplus-alarm-support
Open

Add S7CommPlus alarm handling and subscriptions#820
gijzelaerr wants to merge 1 commit into
masterfrom
feat/794-s7commplus-alarm-support

Conversation

@gijzelaerr

@gijzelaerr gijzelaerr commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • add sync and async alarm subscription create/delete APIs
  • add active-alarm browsing with multilingual text filtering
  • decode unsolicited alarm notifications into public Alarm, AlarmText, and AlarmNotification models
  • default subscriptions to unlimited notification credit so event delivery does not stop after a fixed batch

Testing

  • uv run --frozen pytest (1650 passed, 82 skipped)
  • uv run --frozen pre-commit run --all-files
  • uv build --no-sources

The wire-level tests cover subscription filters, active alarm state, coming timestamps, multilingual text payloads, sync/async client APIs, and notification framing. Real PLC validation is still valuable because alarm object contents vary by firmware.

Fixes #794

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.

Alarm handling and subscriptions (S7CommPlus)

1 participant