Skip to content
This repository was archived by the owner on Nov 15, 2026. It is now read-only.

feat: read example models from Open Modbus Catalog (SIM-01) - #25

Merged
gavinying merged 1 commit into
v2from
sim-01-catalog-inputs
Nov 9, 2026
Merged

gavinying merged 1 commit into
v2from
sim-01-catalog-inputs

Conversation

@gavinying

Copy link
Copy Markdown
Collaborator

SIM-01. Moves modsim's public model inputs from top-maker/modbus-models to Open Modbus Catalog so that modbus-models can be deleted.

  • examples/model-source.yaml pins catalog commit f4e1f9c and the ADAM-5017UH model, vectors and sine scenario by SHA-256. The model bytes are unchanged (9e1d6e38…).
  • examples/deployment.yaml keeps two devices: ADAM-5017UH from the catalog and ADAM-6024 from the frozen tests/fixtures/io-module fixture (byte-identical to the former modbus-models copy). The Dockerfile copies that fixture.
  • tools/catalog-interop.py takes --vectors and requires the catalog vectors to equal the independent known values; the report records vectors-sha256. The acceptance workflow uses it.
  • README, CONTRIBUTING, contrib and fixture notes point at the catalog.

Local: make check, pytest (109 passed, 2 skipped), MODSIM_CATALOG_PLATFORM=1 pytest tests/test_catalog_platform.py (2 passed), tools/generate-td.py --check, and tools/catalog-interop.py against modpoll and node-wot 0.9.2 (raw wire, modpoll, node-wot, wrong byte order and shutdown passed).

🤖 Generated with Claude Code

Pin the ADAM-5017UH model, vectors and scenario at catalog commit
f4e1f9c instead of modbus-models. Use the frozen ADAM-6024 regression
fixture as the second example device and ship it in the image. Check the
catalog vectors against the independent known values in the interop
acceptance, and point the docs at the open catalog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gavinying
gavinying merged commit 0a9be89 into v2 Nov 9, 2026
9 checks passed
@gavinying
gavinying deleted the sim-01-catalog-inputs branch November 9, 2026 10:32
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.

1 participant