Skip to content

Add typed device diagnostics - #249

Open
PrzemyslawKlys wants to merge 1 commit into
2Fake:mainfrom
PrzemyslawKlys:feature/device-diagnostics
Open

PrzemyslawKlys wants to merge 1 commit into
2Fake:mainfrom
PrzemyslawKlys:feature/device-diagnostics

Conversation

@PrzemyslawKlys

Copy link
Copy Markdown

Proposed change

Add get_device_diagnostics() and async_get_device_diagnostics() as a typed view of selected diagnostic values already available through SupportInfoDump.

The result includes CPU and memory usage, temperature, active PLC time slots, Ethernet port state, gateway connectivity, and lost MAPs. Parsing is limited to the configlayer item and a fixed allowlist of keys; missing or malformed firmware values remain optional instead of failing the complete result. No web UI scraping is involved.

The generated sync/async stubs and examples are updated, with tests covering complete, partial, malformed, and missing diagnostic data.

Checklist

  • Changelog is updated.

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.

1 participant