Skip to content

Releases

Modsim 2.0.0a17

Modsim 2.0.0a17 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 13:46
d9441ba

Modsim 2.0.0a17 preview

Modsim 2.0.0a17 pins modpoll-wot 0.7.0a4. Every request it makes to ModioHub or to a model or data link identifies
the tool as modsim/<version> (+https://github.com/top-maker/modpoll). It changes nothing in the simulator.

Modsim 2.0.0a16 preview

Modsim 2.0.0a16 pins modpoll-wot 0.7.0a3. Its documentation moved to the shared site for modpoll, modsim and
modpoll-wot at https://top-maker.github.io/modpoll/v2/, which is also its PyPI documentation link. It changes
nothing in the simulator.

Modsim 2.0.0a15 preview

Modsim 2.0.0a15 pins modpoll-wot 0.7.0a2, which adds verification report schema 5 with identity results. It
changes nothing in the simulator.

Modsim 2.0.0a14 preview

Modsim 2.0.0a14 pins modpoll-wot 0.7.0a1 and uses only its public, typed top-level interface. It
changes nothing in the simulator.

Modsim 2.0.0a13 preview

Modsim 2.0.0a13 pins modpoll-wot 0.6.0a3 and is the first release from the
modpoll repository, where modsim, modpoll and
modpoll-wot now share one workspace. It changes nothing in the simulator. Release tags are now modsim-v<version>.

Modsim 2.0.0a12 preview

Modsim 2.0.0a12 keeps modpoll-wot 0.6.0a2 and changes how a simulator is reached:

  • Port 5020 by default. Without --port, modsim now listens on 5020 for TCP, UDP and TLS, so the first
    command needs no administrator rights on Linux and macOS. Read it with
    modpoll --tcp 127.0.0.1 --tcp-port 5020 (modpoll 2.0.0a10). --port 502 still selects the standard port.
  • Modbus RTU without hardware. modsim --config device.tm.json --serial pty creates a virtual serial
    port on Linux and macOS, prints it together with the matching modpoll --serial ... command, and removes
    it on exit. --serial-link PATH adds a fixed symbolic link; --serial PORT listens on an existing port
    (on Windows, one port of a virtual pair made with a driver such as com0com). Virtual ports ignore baud
    rate and parity. pyserial is now installed with modsim.

Modsim 2.0.0a11 preview

Modsim 2.0.0a11 pins modpoll-wot 0.6.0a2 and resolves the ModioHub server from the only stored login.

Modsim 2.0.0a10 preview

Modsim 2.0.0a10 keeps modpoll-wot 0.5.0a1. modsim login prints the sign-in link and opens a browser only
where one can be opened; the opener's output no longer fills the terminal, and Ctrl-C cancels with one line.
The login is shared with modpoll 2.0.0a8.

Modsim 2.0.0a9 preview

Modsim 2.0.0a9 pins modpoll-wot 0.5.0a1 and connects to ModioHub:

  • modsim login signs in with your browser and modsim logout forgets the login. The 7-day tool session is
    kept in ~/.config/modiohub/credentials.json and is shared with modpoll 2.0.0a7.
  • --config modiohub:<id>@<version> simulates a custom Thing Model from your ModioHub Workspace (a shared one
    needs no login). Deployment manifests do not accept it.
  • It also carries the SIM-06 fixes: only writable points are held after a client write, management requests
    and device builds no longer block the event loop, and script: paths stay inside the deployment directory.

Modsim 2.0.0a8 preview

Modsim 2.0.0a8 loads simulation data
with --data and pins modpoll-wot 0.4.0a1. This preview breaks the previous
command line:

  • --scenario becomes --data; deployment devices use data: instead of
    scenario:.
  • --initial-file is removed: put the values in a data document's initial.
  • Simulation data carries no code. Behavior scripts move out of the data file
    to --script (with --allow-scripts) or a deployment device's script:,
    and their values to the device's scriptParameters:.
  • A modpoll --export snapshot is simulation data, so a device read once can
    be replayed on this computer:
uvx --prerelease allow modpoll==2.0.0a6 --config device.tm.json --tcp 192.168.1.10 --once --export snapshot.json
uvx --prerelease allow modsim==2.0.0a8 --config device.tm.json --data snapshot.json

Scaled values that modpoll exports, such as 230.10000000000002 for a raw
2301 with multiplier 0.1, are served again unchanged. Snapshot points modpoll
could not read keep their defaults and are listed at startup. Snapshots hold
readings of a real device: keep them on your computer.

The v2.0.0a7 tag points at the same changes but was never published: its
release guard did not yet expect the new snapshot replay CI job.

Previous preview

Modsim 2.0.0a6

Modsim 2.0.0a6 pins modpoll-wot 0.3.0a3, the same interpreter as modpoll
2.0.0a5. Thing Models no longer carry a modpoll:audit plan: a TM that still
declares one is rejected as an unsupported root project extension, so modsim
and modpoll accept the same models. Delete the key to migrate. Simulation,
ports and remote loading are unchanged from 2.0.0a5:

uvx --prerelease allow modsim==2.0.0a6 --config https://example.org/device.tm.json

Modsim 2.0.0a5

Without --port, modsim now listens on the standard Modbus port: 502 for TCP
and UDP, 802 for Modbus/TLS. A simulator started from a ModioHub Thing Model is
then read with modpoll --tcp 127.0.0.1, without --tcp-port:

uvx --prerelease allow modsim==2.0.0a5 --config https://example.org/device.tm.json

Linux, and macOS when binding to 127.0.0.1, reserve ports below 1024 for
administrators. modsim then exits before starting and explains how to rerun it
with sudo (sudo "$(command -v uvx)" modsim ...) or choose a port above 1023,
for example --port 5020. Managed deployments keep their explicit server port.
This preview still pins modpoll-wot 0.2.0a4.

Modsim 2.0.0a4

Remote models and scenarios load directly from a site such as ModioHub:

uvx --prerelease allow modsim==2.0.0a4 --config https://example.org/device.tm.json \
  --scenario https://example.org/device.sim.json --bind 127.0.0.1 --port 5020

HTTPS requests identify themselves as modsim/<version>, because some CDNs reject
the default Python agent. --scenario accepts an HTTPS URL; a remote scenario
cannot name a behavior script. This preview still pins modpoll-wot 0.2.0a4.

Modsim 2.0.0a3

This preview pins modpoll-wot 0.2.0a4. A local TCP simulator can load a full
profile 0.2 TM with an audit plan or its independently derived public audit TM.
Tests seed the same known values and verify the public model exposes only the
selected read spans.

Modsim 2.0.0a2

This candidate uses published modpoll-wot 0.2.0a2 and immutable modbus-models-v1
inputs. Device mappings and contribution workflows moved to a data repository,
now Open Modbus Catalog;
examples pin a full data commit and individual content hashes. Vendor originals
are not copied. The tool and data releases remain independent.

Managed deployment version 2 supports local lifecycle and isolation on POSIX.
Single-device foreground mode supports fixed HTTPS TMs and local scenarios;
scripts require explicit --allow-scripts. Catalog acceptance compares raw Modbus
bytes, public modpoll 2.0.0a2 and node-wot 0.9.2 with asymmetric uint16 inputs,
and detects a deliberately wrong byte order. This is software evidence, not
hardware or engineering-unit certification.

Release gates cover independent wheel single-device startup/read/stop on Linux,
macOS and Windows. Managed deployments remain POSIX-only; Windows uses foreground
mode or WSL. A candidate is not accepted until its exact CI and preview publish,
image, docs and source-independent acceptance jobs all pass.

Expected install after publication: uv tool install --prerelease allow modsim==2.0.0a2.
The explicit preview image is topmaker/modsim:2.0.0a2; stable latest aliases stay
unchanged. Older 2.0.0a1 artifacts and historical contrib URLs remain immutable.

modpoll-wot 0.7.0a4

modpoll-wot 0.7.0a4 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 13:45
d9441ba

See packages/modpoll-wot/CONTRACT.md and profile.md at this tag.

Modpoll 2.0.0a15 — WoT configuration preview

Choose a tag to compare

@github-actions github-actions released this 16 Nov 13:46
d9441ba

Modpoll 2.0.0a15 preview

Modpoll 2.0.0a15 pins modpoll-wot 0.7.0a4, which publishes the rejection vectors for other implementations of the
Thing Model rules (conformance.rejections.json, with no change to the package code).

  • modpoll login prints what ModioHub answered when it refuses a sign-in, as an upload already did: during
    maintenance or when the request limit is reached you see the platform's explanation and, when it sends one, how
    long to wait. The exit code is not zero and the tool never retries on its own.
  • Every request to ModioHub (reading a --config link, the API, signing in, a Workspace download and a report
    upload) identifies the tool as modpoll/<version> (+https://github.com/top-maker/modpoll).

Modpoll 2.0.0a14 preview

Modpoll 2.0.0a14 pins modpoll-wot 0.7.0a3 and moves its documentation to the shared site for modpoll, modsim
and modpoll-wot at https://top-maker.github.io/modpoll/v2/. The --upload help names saved reports
report-DATE.json. Nothing else changes.

Modpoll 2.0.0a13 preview

Modpoll 2.0.0a13 pins modpoll-wot 0.7.0a2 and writes verification report schema 5:

  • A failed read lists each failed group as the device answered it (data table, addresses, exception code and
    its Modbus name, or no response), each point whose answer could not be decoded, and the groups not tried.
    modpoll does not guess why and does not change the configuration.
  • Only a full read whose identity points match can be uploaded. The Continue? question is gone: a report
    with failures is saved and not offered for upload, and --upload FILE refuses it, or a schema 3 or 4
    report, without contacting ModioHub.
  • Points whose DataSchema declares const are compared with the value read; the report records match or
    mismatch, never the value.
  • Before an upload, a model ModioHub does not know is matched by its point fingerprints: a report whose points
    all belong to one baseline gets that product, other matches or a search are offered interactively, and
    otherwise a prefilled catalog request is printed. A Workspace model's report names its product.
  • Refusals from ModioHub are explained by their code (not-full-read, identity-mismatch,
    identity-missing, unknown-model and others).
  • The signal handler no longer waits for the exit event's lock, so Ctrl-C cannot deadlock a run.

Modpoll 2.0.0a12 preview

Modpoll 2.0.0a12 pins modpoll-wot 0.7.0a1:

  • Modbus RTU works without extras: pyserial is now a regular dependency, so uvx modpoll --rtu ... and
    uv tool install modpoll read serial devices. modpoll[serial] still installs, as an empty extra.
  • A verification report whose date is not on the calendar (such as 2026-02-31) is rejected, as ModioHub
    already did on upload.
  • modpoll reaches modpoll-wot through its public top-level interface only.

Modpoll 2.0.0a11 preview

Modpoll 2.0.0a11 pins modpoll-wot 0.6.0a3 and is the first release after modsim and modpoll-wot joined this
repository as one workspace (packages/). It changes nothing in modpoll. Release tags are now modpoll-v<version>.

Modpoll 2.0.0a10 preview

Modpoll 2.0.0a10 keeps modpoll-wot 0.6.0a2:

  • A one-shot run (--once, --report) stops at the first group a device does not answer and reports the
    remaining groups as not read, instead of waiting for a timeout on every group.
  • Modsim 2.0.0a12 listens on port 5020 by default: read a local simulator with --tcp 127.0.0.1 --tcp-port 5020.
    It can also simulate Modbus RTU on a virtual serial port (modsim --serial pty), which prints the
    modpoll --serial ... command to read it.

Modpoll 2.0.0a9 preview

--report includes the upload and --upload stands alone (modpoll-wot 0.6.0a2):

  • Bare --report asks where to save, whether the values look right, and whether to upload. --report --yes
    is the whole non-interactive run: every point read once, the report kept under the default
    report-<date>.json, then uploaded — an existing sign-in is required, because --yes does not answer the
    browser sign-in (without one the run fails fast instead of hanging).
  • modpoll --upload FILE uploads a report saved earlier without reading a device: the report is shown
    for confirmation and uploaded once you agree. Bare --upload offers the newest report-*.json in the
    current directory (--yes answers the questions; without a terminal, name the file).
  • After you agree, the tool tells you which ModioHub it is signed in to and uploads; the browser sign-in
    starts only when no login exists. Without MODIOHUB_URL, the server of the only stored login stands,
    so a login made against staging is no longer mistaken for the default server.

Modpoll 2.0.0a8 preview

The verification flags move back onto the normal read and the report drops the
product (modpoll-wot 0.6.0a1, report schema 4):

  • --report on a normal read verifies a Thing Model on real hardware: every point read once, read-only and
    without retries; the verification report (schema 4) holds no address, Unit ID, serial number or value.
    Bare --report asks where to save, whether the values look right, and whether to upload.
  • --upload shows the report and uploads it after you confirm (--yes skips the questions); without a
    login the browser sign-in flow starts inline.
  • The verify subcommand and --product are gone: ModioHub resolves the product from the model
    fingerprint (identical for a Thing Model, its Thing Description exports and unmodified forks).

Modpoll 2.0.0a7 preview

Modpoll 2.0.0a7 pins modpoll-wot 0.5.0a1 and connects to ModioHub:

  • --device <manufacturer>/<model>[@commit] reads the baseline Thing Model of a catalog product.
  • --full-read reads every point once, read-only and without retries; --report FILE writes the
    verification report (schema 3), which holds no address, Unit ID, serial number or value.
  • modpoll login signs in with your browser and modpoll logout forgets the login. The 7-day tool session
    is kept in ~/.config/modiohub/credentials.json and is shared with modsim 2.0.0a9.
  • --tm modiohub:<id>@<version> reads a custom Thing Model from your ModioHub Workspace, and --upload shows
    the report of a full read and uploads it after you confirm.

Modpoll 2.0.0a6 preview

Modpoll 2.0.0a6 pins modpoll-wot 0.4.0a1, which defines simulation data. A
--export snapshot is simulation data as it stands, so modsim 2.0.0a8 can
replay a device read once, on your computer:

modpoll --once --config device.tm.json --tcp DEVICE_HOST --export snapshot.json
modsim --config device.tm.json --data snapshot.json

The snapshot format is unchanged. Snapshots hold readings of a real device;
keep them on your computer. With --export and --timestamp, a device that
has a point named timestamp now stops modpoll at startup instead of having
that point overwritten. The bundled modpoll-wot validate --kind data checks
a snapshot or a data document. Verification report schema 3 replaces schema 2.

Modpoll 2.0.0a5 preview

Modpoll 2.0.0a5 removes --audit and pins modpoll-wot 0.3.0a3, which removes
the modpoll:audit plan. Thing Models are fully open, and a full read executes
the whole modpoll:acquisition plan, so TM authors only write acquisition
groups. A TM that still declares modpoll:audit is rejected as an unsupported
root project extension; delete the key. Read a device once with:

modpoll --once --config device.tm.json --tcp DEVICE_HOST --unit-id 1

Verification report generation over a full read is planned separately.

Modpoll 2.0.0a4 preview

Modpoll 2.0.0a4 follows the ModioHub glossary: a decoded value is a point.
The terminal table's first column header changes from Reference to Point,
and warnings, log messages, CLI help and documentation say point. Scripts that
parse the table header need updating. Legacy CSV ref rows, JSON and MQTT
payloads are unchanged.

Modpoll 2.0.0a4 pins modpoll-wot 0.3.0a2, now released from its standalone
repository. The bundled modpoll-wot command adds fingerprint, which prints
model and point fingerprints, and validate-report, which checks a hardware
verification report. Model loading and audit behavior are unchanged from
2.0.0a3; --audit still needs a TM with a modpoll:audit plan.

Modpoll 2.0.0a3 preview

Container users can select topmaker/modpoll:2.0.0a3-r1 for the packaging
correction. It runs the same application version.

Local audit

Modpoll 2.0.0a3 pins modpoll-wot 0.2.0a4. Run a single read-only sampling pass:

modpoll --audit --config device.audit.tm.json --tcp DEVICE_HOST --unit-id 1
modpoll --audit --config device.audit.tm.json --serial SERIAL_PORT --serial-baud 9600 --unit-id 1

Install the serial extra for RTU. Use the device's actual serial settings and
Unit ID. Audit reads at most 16 selected properties, with no Modbus retries
and at most five seconds of response timeout per point. Its JSON report
separates identity and status, preserves per-point results, and exits nonzero
on failure. A successful identity sample reports device values for inspection.
A malformed plan is rejected before contacting the device.

Previous preview

Published shared interpreter 0.2.0a3 and current development source execute only
profile 0.2 and reject profile 0.1. The application release snapshot below keeps
its original dependencies and behavior; publishing the shared schema does not
republish the application.

Modpoll 2.0.0a2 is a functional preview using WoT TM/TD 1.1 profile 0.2 as its canonical configuration model. Existing polling blocks, CLI/JSON/MQTT output and raw address commands are retained. No platform service or device library is required.

Install explicitly: uv tool install --prerelease allow "modpoll[serial]==2.0.0a2". The immutable published application pins modpoll-wot==0.2.0a1; the current
development manifest pins a2. Do not infer published dependencies from the working tree. Docker: `topmaker/modpoll:2...

Read more

Modsim 2.0.0a16

Modsim 2.0.0a16 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Nov 03:38
b196fcf

Modsim 2.0.0a16 preview

Modsim 2.0.0a16 pins modpoll-wot 0.7.0a3. Its documentation moved to the shared site for modpoll, modsim and
modpoll-wot at https://top-maker.github.io/modpoll/v2/, which is also its PyPI documentation link. It changes
nothing in the simulator.

Modsim 2.0.0a15 preview

Modsim 2.0.0a15 pins modpoll-wot 0.7.0a2, which adds verification report schema 5 with identity results. It
changes nothing in the simulator.

Modsim 2.0.0a14 preview

Modsim 2.0.0a14 pins modpoll-wot 0.7.0a1 and uses only its public, typed top-level interface. It
changes nothing in the simulator.

Modsim 2.0.0a13 preview

Modsim 2.0.0a13 pins modpoll-wot 0.6.0a3 and is the first release from the
modpoll repository, where modsim, modpoll and
modpoll-wot now share one workspace. It changes nothing in the simulator. Release tags are now modsim-v<version>.

Modsim 2.0.0a12 preview

Modsim 2.0.0a12 keeps modpoll-wot 0.6.0a2 and changes how a simulator is reached:

  • Port 5020 by default. Without --port, modsim now listens on 5020 for TCP, UDP and TLS, so the first
    command needs no administrator rights on Linux and macOS. Read it with
    modpoll --tcp 127.0.0.1 --tcp-port 5020 (modpoll 2.0.0a10). --port 502 still selects the standard port.
  • Modbus RTU without hardware. modsim --config device.tm.json --serial pty creates a virtual serial
    port on Linux and macOS, prints it together with the matching modpoll --serial ... command, and removes
    it on exit. --serial-link PATH adds a fixed symbolic link; --serial PORT listens on an existing port
    (on Windows, one port of a virtual pair made with a driver such as com0com). Virtual ports ignore baud
    rate and parity. pyserial is now installed with modsim.

Modsim 2.0.0a11 preview

Modsim 2.0.0a11 pins modpoll-wot 0.6.0a2 and resolves the ModioHub server from the only stored login.

Modsim 2.0.0a10 preview

Modsim 2.0.0a10 keeps modpoll-wot 0.5.0a1. modsim login prints the sign-in link and opens a browser only
where one can be opened; the opener's output no longer fills the terminal, and Ctrl-C cancels with one line.
The login is shared with modpoll 2.0.0a8.

Modsim 2.0.0a9 preview

Modsim 2.0.0a9 pins modpoll-wot 0.5.0a1 and connects to ModioHub:

  • modsim login signs in with your browser and modsim logout forgets the login. The 7-day tool session is
    kept in ~/.config/modiohub/credentials.json and is shared with modpoll 2.0.0a7.
  • --config modiohub:<id>@<version> simulates a custom Thing Model from your ModioHub Workspace (a shared one
    needs no login). Deployment manifests do not accept it.
  • It also carries the SIM-06 fixes: only writable points are held after a client write, management requests
    and device builds no longer block the event loop, and script: paths stay inside the deployment directory.

Modsim 2.0.0a8 preview

Modsim 2.0.0a8 loads simulation data
with --data and pins modpoll-wot 0.4.0a1. This preview breaks the previous
command line:

  • --scenario becomes --data; deployment devices use data: instead of
    scenario:.
  • --initial-file is removed: put the values in a data document's initial.
  • Simulation data carries no code. Behavior scripts move out of the data file
    to --script (with --allow-scripts) or a deployment device's script:,
    and their values to the device's scriptParameters:.
  • A modpoll --export snapshot is simulation data, so a device read once can
    be replayed on this computer:
uvx --prerelease allow modpoll==2.0.0a6 --config device.tm.json --tcp 192.168.1.10 --once --export snapshot.json
uvx --prerelease allow modsim==2.0.0a8 --config device.tm.json --data snapshot.json

Scaled values that modpoll exports, such as 230.10000000000002 for a raw
2301 with multiplier 0.1, are served again unchanged. Snapshot points modpoll
could not read keep their defaults and are listed at startup. Snapshots hold
readings of a real device: keep them on your computer.

The v2.0.0a7 tag points at the same changes but was never published: its
release guard did not yet expect the new snapshot replay CI job.

Previous preview

Modsim 2.0.0a6

Modsim 2.0.0a6 pins modpoll-wot 0.3.0a3, the same interpreter as modpoll
2.0.0a5. Thing Models no longer carry a modpoll:audit plan: a TM that still
declares one is rejected as an unsupported root project extension, so modsim
and modpoll accept the same models. Delete the key to migrate. Simulation,
ports and remote loading are unchanged from 2.0.0a5:

uvx --prerelease allow modsim==2.0.0a6 --config https://example.org/device.tm.json

Modsim 2.0.0a5

Without --port, modsim now listens on the standard Modbus port: 502 for TCP
and UDP, 802 for Modbus/TLS. A simulator started from a ModioHub Thing Model is
then read with modpoll --tcp 127.0.0.1, without --tcp-port:

uvx --prerelease allow modsim==2.0.0a5 --config https://example.org/device.tm.json

Linux, and macOS when binding to 127.0.0.1, reserve ports below 1024 for
administrators. modsim then exits before starting and explains how to rerun it
with sudo (sudo "$(command -v uvx)" modsim ...) or choose a port above 1023,
for example --port 5020. Managed deployments keep their explicit server port.
This preview still pins modpoll-wot 0.2.0a4.

Modsim 2.0.0a4

Remote models and scenarios load directly from a site such as ModioHub:

uvx --prerelease allow modsim==2.0.0a4 --config https://example.org/device.tm.json \
  --scenario https://example.org/device.sim.json --bind 127.0.0.1 --port 5020

HTTPS requests identify themselves as modsim/<version>, because some CDNs reject
the default Python agent. --scenario accepts an HTTPS URL; a remote scenario
cannot name a behavior script. This preview still pins modpoll-wot 0.2.0a4.

Modsim 2.0.0a3

This preview pins modpoll-wot 0.2.0a4. A local TCP simulator can load a full
profile 0.2 TM with an audit plan or its independently derived public audit TM.
Tests seed the same known values and verify the public model exposes only the
selected read spans.

Modsim 2.0.0a2

This candidate uses published modpoll-wot 0.2.0a2 and immutable modbus-models-v1
inputs. Device mappings and contribution workflows moved to a data repository,
now Open Modbus Catalog;
examples pin a full data commit and individual content hashes. Vendor originals
are not copied. The tool and data releases remain independent.

Managed deployment version 2 supports local lifecycle and isolation on POSIX.
Single-device foreground mode supports fixed HTTPS TMs and local scenarios;
scripts require explicit --allow-scripts. Catalog acceptance compares raw Modbus
bytes, public modpoll 2.0.0a2 and node-wot 0.9.2 with asymmetric uint16 inputs,
and detects a deliberately wrong byte order. This is software evidence, not
hardware or engineering-unit certification.

Release gates cover independent wheel single-device startup/read/stop on Linux,
macOS and Windows. Managed deployments remain POSIX-only; Windows uses foreground
mode or WSL. A candidate is not accepted until its exact CI and preview publish,
image, docs and source-independent acceptance jobs all pass.

Expected install after publication: uv tool install --prerelease allow modsim==2.0.0a2.
The explicit preview image is topmaker/modsim:2.0.0a2; stable latest aliases stay
unchanged. Older 2.0.0a1 artifacts and historical contrib URLs remain immutable.

modpoll-wot 0.7.0a3

modpoll-wot 0.7.0a3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Nov 03:36
b196fcf

See packages/modpoll-wot/CONTRACT.md and profile.md at this tag.

Modpoll 2.0.0a14 — WoT configuration preview

Choose a tag to compare

@github-actions github-actions released this 15 Nov 09:54
b196fcf

Modpoll 2.0.0a14 preview

Modpoll 2.0.0a14 pins modpoll-wot 0.7.0a3 and moves its documentation to the shared site for modpoll, modsim
and modpoll-wot at https://top-maker.github.io/modpoll/v2/. The --upload help names saved reports
report-DATE.json. Nothing else changes.

Modpoll 2.0.0a13 preview

Modpoll 2.0.0a13 pins modpoll-wot 0.7.0a2 and writes verification report schema 5:

  • A failed read lists each failed group as the device answered it (data table, addresses, exception code and
    its Modbus name, or no response), each point whose answer could not be decoded, and the groups not tried.
    modpoll does not guess why and does not change the configuration.
  • Only a full read whose identity points match can be uploaded. The Continue? question is gone: a report
    with failures is saved and not offered for upload, and --upload FILE refuses it, or a schema 3 or 4
    report, without contacting ModioHub.
  • Points whose DataSchema declares const are compared with the value read; the report records match or
    mismatch, never the value.
  • Before an upload, a model ModioHub does not know is matched by its point fingerprints: a report whose points
    all belong to one baseline gets that product, other matches or a search are offered interactively, and
    otherwise a prefilled catalog request is printed. A Workspace model's report names its product.
  • Refusals from ModioHub are explained by their code (not-full-read, identity-mismatch,
    identity-missing, unknown-model and others).
  • The signal handler no longer waits for the exit event's lock, so Ctrl-C cannot deadlock a run.

Modpoll 2.0.0a12 preview

Modpoll 2.0.0a12 pins modpoll-wot 0.7.0a1:

  • Modbus RTU works without extras: pyserial is now a regular dependency, so uvx modpoll --rtu ... and
    uv tool install modpoll read serial devices. modpoll[serial] still installs, as an empty extra.
  • A verification report whose date is not on the calendar (such as 2026-02-31) is rejected, as ModioHub
    already did on upload.
  • modpoll reaches modpoll-wot through its public top-level interface only.

Modpoll 2.0.0a11 preview

Modpoll 2.0.0a11 pins modpoll-wot 0.6.0a3 and is the first release after modsim and modpoll-wot joined this
repository as one workspace (packages/). It changes nothing in modpoll. Release tags are now modpoll-v<version>.

Modpoll 2.0.0a10 preview

Modpoll 2.0.0a10 keeps modpoll-wot 0.6.0a2:

  • A one-shot run (--once, --report) stops at the first group a device does not answer and reports the
    remaining groups as not read, instead of waiting for a timeout on every group.
  • Modsim 2.0.0a12 listens on port 5020 by default: read a local simulator with --tcp 127.0.0.1 --tcp-port 5020.
    It can also simulate Modbus RTU on a virtual serial port (modsim --serial pty), which prints the
    modpoll --serial ... command to read it.

Modpoll 2.0.0a9 preview

--report includes the upload and --upload stands alone (modpoll-wot 0.6.0a2):

  • Bare --report asks where to save, whether the values look right, and whether to upload. --report --yes
    is the whole non-interactive run: every point read once, the report kept under the default
    report-<date>.json, then uploaded — an existing sign-in is required, because --yes does not answer the
    browser sign-in (without one the run fails fast instead of hanging).
  • modpoll --upload FILE uploads a report saved earlier without reading a device: the report is shown
    for confirmation and uploaded once you agree. Bare --upload offers the newest report-*.json in the
    current directory (--yes answers the questions; without a terminal, name the file).
  • After you agree, the tool tells you which ModioHub it is signed in to and uploads; the browser sign-in
    starts only when no login exists. Without MODIOHUB_URL, the server of the only stored login stands,
    so a login made against staging is no longer mistaken for the default server.

Modpoll 2.0.0a8 preview

The verification flags move back onto the normal read and the report drops the
product (modpoll-wot 0.6.0a1, report schema 4):

  • --report on a normal read verifies a Thing Model on real hardware: every point read once, read-only and
    without retries; the verification report (schema 4) holds no address, Unit ID, serial number or value.
    Bare --report asks where to save, whether the values look right, and whether to upload.
  • --upload shows the report and uploads it after you confirm (--yes skips the questions); without a
    login the browser sign-in flow starts inline.
  • The verify subcommand and --product are gone: ModioHub resolves the product from the model
    fingerprint (identical for a Thing Model, its Thing Description exports and unmodified forks).

Modpoll 2.0.0a7 preview

Modpoll 2.0.0a7 pins modpoll-wot 0.5.0a1 and connects to ModioHub:

  • --device <manufacturer>/<model>[@commit] reads the baseline Thing Model of a catalog product.
  • --full-read reads every point once, read-only and without retries; --report FILE writes the
    verification report (schema 3), which holds no address, Unit ID, serial number or value.
  • modpoll login signs in with your browser and modpoll logout forgets the login. The 7-day tool session
    is kept in ~/.config/modiohub/credentials.json and is shared with modsim 2.0.0a9.
  • --tm modiohub:<id>@<version> reads a custom Thing Model from your ModioHub Workspace, and --upload shows
    the report of a full read and uploads it after you confirm.

Modpoll 2.0.0a6 preview

Modpoll 2.0.0a6 pins modpoll-wot 0.4.0a1, which defines simulation data. A
--export snapshot is simulation data as it stands, so modsim 2.0.0a8 can
replay a device read once, on your computer:

modpoll --once --config device.tm.json --tcp DEVICE_HOST --export snapshot.json
modsim --config device.tm.json --data snapshot.json

The snapshot format is unchanged. Snapshots hold readings of a real device;
keep them on your computer. With --export and --timestamp, a device that
has a point named timestamp now stops modpoll at startup instead of having
that point overwritten. The bundled modpoll-wot validate --kind data checks
a snapshot or a data document. Verification report schema 3 replaces schema 2.

Modpoll 2.0.0a5 preview

Modpoll 2.0.0a5 removes --audit and pins modpoll-wot 0.3.0a3, which removes
the modpoll:audit plan. Thing Models are fully open, and a full read executes
the whole modpoll:acquisition plan, so TM authors only write acquisition
groups. A TM that still declares modpoll:audit is rejected as an unsupported
root project extension; delete the key. Read a device once with:

modpoll --once --config device.tm.json --tcp DEVICE_HOST --unit-id 1

Verification report generation over a full read is planned separately.

Modpoll 2.0.0a4 preview

Modpoll 2.0.0a4 follows the ModioHub glossary: a decoded value is a point.
The terminal table's first column header changes from Reference to Point,
and warnings, log messages, CLI help and documentation say point. Scripts that
parse the table header need updating. Legacy CSV ref rows, JSON and MQTT
payloads are unchanged.

Modpoll 2.0.0a4 pins modpoll-wot 0.3.0a2, now released from its standalone
repository. The bundled modpoll-wot command adds fingerprint, which prints
model and point fingerprints, and validate-report, which checks a hardware
verification report. Model loading and audit behavior are unchanged from
2.0.0a3; --audit still needs a TM with a modpoll:audit plan.

Modpoll 2.0.0a3 preview

Container users can select topmaker/modpoll:2.0.0a3-r1 for the packaging
correction. It runs the same application version.

Local audit

Modpoll 2.0.0a3 pins modpoll-wot 0.2.0a4. Run a single read-only sampling pass:

modpoll --audit --config device.audit.tm.json --tcp DEVICE_HOST --unit-id 1
modpoll --audit --config device.audit.tm.json --serial SERIAL_PORT --serial-baud 9600 --unit-id 1

Install the serial extra for RTU. Use the device's actual serial settings and
Unit ID. Audit reads at most 16 selected properties, with no Modbus retries
and at most five seconds of response timeout per point. Its JSON report
separates identity and status, preserves per-point results, and exits nonzero
on failure. A successful identity sample reports device values for inspection.
A malformed plan is rejected before contacting the device.

Previous preview

Published shared interpreter 0.2.0a3 and current development source execute only
profile 0.2 and reject profile 0.1. The application release snapshot below keeps
its original dependencies and behavior; publishing the shared schema does not
republish the application.

Modpoll 2.0.0a2 is a functional preview using WoT TM/TD 1.1 profile 0.2 as its canonical configuration model. Existing polling blocks, CLI/JSON/MQTT output and raw address commands are retained. No platform service or device library is required.

Install explicitly: uv tool install --prerelease allow "modpoll[serial]==2.0.0a2". The immutable published application pins modpoll-wot==0.2.0a1; the current
development manifest pins a2. Do not infer published dependencies from the working tree. Docker: topmaker/modpoll:2.0.0a2 (amd64/arm64); stable latest remains unchanged. Existing CSV users can keep modpoll<2.

Documentation: 1.x, 2.x preview, CSV migration and AI prompt, compatibility matrix. Profile 0.2 is a project extension over the W3C draft Modbus vocabulary, not a new W3C standard. That published release also reads profile 0.1; current development source no longer does.

Acceptance includes 37 known simulator properties, exact block requests, independent byte/word vectors, UDP, POSIX virtual RTU/ASCII, MQTT 3.1.1/5.0, QoS0/1...

Read more

v1.6.2

Choose a tag to compare

@tm-infra-robot tm-infra-robot released this 14 Nov 05:56
69986cd

1.6.2 (2026-10-28)

Bug Fixes

  • Codex/1x reliability gaps (#111) (83c76d9)
  • correct polling limits and MQTT queue handling (3d1c4f9)
  • harden polling correctness and release safety (#109) (9139956)
  • preserve versioned documentation across stable releases (#115) (0866a43)

Modsim 2.0.0a15

Modsim 2.0.0a15 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 14 Nov 12:16
420b992

Modsim 2.0.0a15 preview

Modsim 2.0.0a15 pins modpoll-wot 0.7.0a2, which adds verification report schema 5 with identity results. It
changes nothing in the simulator.

Modsim 2.0.0a14 preview

Modsim 2.0.0a14 pins modpoll-wot 0.7.0a1 and uses only its public, typed top-level interface. It
changes nothing in the simulator.

Modsim 2.0.0a13 preview

Modsim 2.0.0a13 pins modpoll-wot 0.6.0a3 and is the first release from the
modpoll repository, where modsim, modpoll and
modpoll-wot now share one workspace. It changes nothing in the simulator. Release tags are now modsim-v<version>.

Modsim 2.0.0a12 preview

Modsim 2.0.0a12 keeps modpoll-wot 0.6.0a2 and changes how a simulator is reached:

  • Port 5020 by default. Without --port, modsim now listens on 5020 for TCP, UDP and TLS, so the first
    command needs no administrator rights on Linux and macOS. Read it with
    modpoll --tcp 127.0.0.1 --tcp-port 5020 (modpoll 2.0.0a10). --port 502 still selects the standard port.
  • Modbus RTU without hardware. modsim --config device.tm.json --serial pty creates a virtual serial
    port on Linux and macOS, prints it together with the matching modpoll --serial ... command, and removes
    it on exit. --serial-link PATH adds a fixed symbolic link; --serial PORT listens on an existing port
    (on Windows, one port of a virtual pair made with a driver such as com0com). Virtual ports ignore baud
    rate and parity. pyserial is now installed with modsim.

Modsim 2.0.0a11 preview

Modsim 2.0.0a11 pins modpoll-wot 0.6.0a2 and resolves the ModioHub server from the only stored login.

Modsim 2.0.0a10 preview

Modsim 2.0.0a10 keeps modpoll-wot 0.5.0a1. modsim login prints the sign-in link and opens a browser only
where one can be opened; the opener's output no longer fills the terminal, and Ctrl-C cancels with one line.
The login is shared with modpoll 2.0.0a8.

Modsim 2.0.0a9 preview

Modsim 2.0.0a9 pins modpoll-wot 0.5.0a1 and connects to ModioHub:

  • modsim login signs in with your browser and modsim logout forgets the login. The 7-day tool session is
    kept in ~/.config/modiohub/credentials.json and is shared with modpoll 2.0.0a7.
  • --config modiohub:<id>@<version> simulates a custom Thing Model from your ModioHub Workspace (a shared one
    needs no login). Deployment manifests do not accept it.
  • It also carries the SIM-06 fixes: only writable points are held after a client write, management requests
    and device builds no longer block the event loop, and script: paths stay inside the deployment directory.

Modsim 2.0.0a8 preview

Modsim 2.0.0a8 loads simulation data
with --data and pins modpoll-wot 0.4.0a1. This preview breaks the previous
command line:

  • --scenario becomes --data; deployment devices use data: instead of
    scenario:.
  • --initial-file is removed: put the values in a data document's initial.
  • Simulation data carries no code. Behavior scripts move out of the data file
    to --script (with --allow-scripts) or a deployment device's script:,
    and their values to the device's scriptParameters:.
  • A modpoll --export snapshot is simulation data, so a device read once can
    be replayed on this computer:
uvx --prerelease allow modpoll==2.0.0a6 --config device.tm.json --tcp 192.168.1.10 --once --export snapshot.json
uvx --prerelease allow modsim==2.0.0a8 --config device.tm.json --data snapshot.json

Scaled values that modpoll exports, such as 230.10000000000002 for a raw
2301 with multiplier 0.1, are served again unchanged. Snapshot points modpoll
could not read keep their defaults and are listed at startup. Snapshots hold
readings of a real device: keep them on your computer.

The v2.0.0a7 tag points at the same changes but was never published: its
release guard did not yet expect the new snapshot replay CI job.

Previous preview

Modsim 2.0.0a6

Modsim 2.0.0a6 pins modpoll-wot 0.3.0a3, the same interpreter as modpoll
2.0.0a5. Thing Models no longer carry a modpoll:audit plan: a TM that still
declares one is rejected as an unsupported root project extension, so modsim
and modpoll accept the same models. Delete the key to migrate. Simulation,
ports and remote loading are unchanged from 2.0.0a5:

uvx --prerelease allow modsim==2.0.0a6 --config https://example.org/device.tm.json

Modsim 2.0.0a5

Without --port, modsim now listens on the standard Modbus port: 502 for TCP
and UDP, 802 for Modbus/TLS. A simulator started from a ModioHub Thing Model is
then read with modpoll --tcp 127.0.0.1, without --tcp-port:

uvx --prerelease allow modsim==2.0.0a5 --config https://example.org/device.tm.json

Linux, and macOS when binding to 127.0.0.1, reserve ports below 1024 for
administrators. modsim then exits before starting and explains how to rerun it
with sudo (sudo "$(command -v uvx)" modsim ...) or choose a port above 1023,
for example --port 5020. Managed deployments keep their explicit server port.
This preview still pins modpoll-wot 0.2.0a4.

Modsim 2.0.0a4

Remote models and scenarios load directly from a site such as ModioHub:

uvx --prerelease allow modsim==2.0.0a4 --config https://example.org/device.tm.json \
  --scenario https://example.org/device.sim.json --bind 127.0.0.1 --port 5020

HTTPS requests identify themselves as modsim/<version>, because some CDNs reject
the default Python agent. --scenario accepts an HTTPS URL; a remote scenario
cannot name a behavior script. This preview still pins modpoll-wot 0.2.0a4.

Modsim 2.0.0a3

This preview pins modpoll-wot 0.2.0a4. A local TCP simulator can load a full
profile 0.2 TM with an audit plan or its independently derived public audit TM.
Tests seed the same known values and verify the public model exposes only the
selected read spans.

Modsim 2.0.0a2

This candidate uses published modpoll-wot 0.2.0a2 and immutable modbus-models-v1
inputs. Device mappings and contribution workflows moved to a data repository,
now Open Modbus Catalog;
examples pin a full data commit and individual content hashes. Vendor originals
are not copied. The tool and data releases remain independent.

Managed deployment version 2 supports local lifecycle and isolation on POSIX.
Single-device foreground mode supports fixed HTTPS TMs and local scenarios;
scripts require explicit --allow-scripts. Catalog acceptance compares raw Modbus
bytes, public modpoll 2.0.0a2 and node-wot 0.9.2 with asymmetric uint16 inputs,
and detects a deliberately wrong byte order. This is software evidence, not
hardware or engineering-unit certification.

Release gates cover independent wheel single-device startup/read/stop on Linux,
macOS and Windows. Managed deployments remain POSIX-only; Windows uses foreground
mode or WSL. A candidate is not accepted until its exact CI and preview publish,
image, docs and source-independent acceptance jobs all pass.

Expected install after publication: uv tool install --prerelease allow modsim==2.0.0a2.
The explicit preview image is topmaker/modsim:2.0.0a2; stable latest aliases stay
unchanged. Older 2.0.0a1 artifacts and historical contrib URLs remain immutable.

Modsim 2.0.0a14

Modsim 2.0.0a14 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 14 Nov 03:41
4b19ee1

Modsim 2.0.0a14 preview

Modsim 2.0.0a14 pins modpoll-wot 0.7.0a1 and uses only its public, typed top-level interface. It
changes nothing in the simulator.

Modsim 2.0.0a13 preview

Modsim 2.0.0a13 pins modpoll-wot 0.6.0a3 and is the first release from the
modpoll repository, where modsim, modpoll and
modpoll-wot now share one workspace. It changes nothing in the simulator. Release tags are now modsim-v<version>.

Modsim 2.0.0a12 preview

Modsim 2.0.0a12 keeps modpoll-wot 0.6.0a2 and changes how a simulator is reached:

  • Port 5020 by default. Without --port, modsim now listens on 5020 for TCP, UDP and TLS, so the first
    command needs no administrator rights on Linux and macOS. Read it with
    modpoll --tcp 127.0.0.1 --tcp-port 5020 (modpoll 2.0.0a10). --port 502 still selects the standard port.
  • Modbus RTU without hardware. modsim --config device.tm.json --serial pty creates a virtual serial
    port on Linux and macOS, prints it together with the matching modpoll --serial ... command, and removes
    it on exit. --serial-link PATH adds a fixed symbolic link; --serial PORT listens on an existing port
    (on Windows, one port of a virtual pair made with a driver such as com0com). Virtual ports ignore baud
    rate and parity. pyserial is now installed with modsim.

Modsim 2.0.0a11 preview

Modsim 2.0.0a11 pins modpoll-wot 0.6.0a2 and resolves the ModioHub server from the only stored login.

Modsim 2.0.0a10 preview

Modsim 2.0.0a10 keeps modpoll-wot 0.5.0a1. modsim login prints the sign-in link and opens a browser only
where one can be opened; the opener's output no longer fills the terminal, and Ctrl-C cancels with one line.
The login is shared with modpoll 2.0.0a8.

Modsim 2.0.0a9 preview

Modsim 2.0.0a9 pins modpoll-wot 0.5.0a1 and connects to ModioHub:

  • modsim login signs in with your browser and modsim logout forgets the login. The 7-day tool session is
    kept in ~/.config/modiohub/credentials.json and is shared with modpoll 2.0.0a7.
  • --config modiohub:<id>@<version> simulates a custom Thing Model from your ModioHub Workspace (a shared one
    needs no login). Deployment manifests do not accept it.
  • It also carries the SIM-06 fixes: only writable points are held after a client write, management requests
    and device builds no longer block the event loop, and script: paths stay inside the deployment directory.

Modsim 2.0.0a8 preview

Modsim 2.0.0a8 loads simulation data
with --data and pins modpoll-wot 0.4.0a1. This preview breaks the previous
command line:

  • --scenario becomes --data; deployment devices use data: instead of
    scenario:.
  • --initial-file is removed: put the values in a data document's initial.
  • Simulation data carries no code. Behavior scripts move out of the data file
    to --script (with --allow-scripts) or a deployment device's script:,
    and their values to the device's scriptParameters:.
  • A modpoll --export snapshot is simulation data, so a device read once can
    be replayed on this computer:
uvx --prerelease allow modpoll==2.0.0a6 --config device.tm.json --tcp 192.168.1.10 --once --export snapshot.json
uvx --prerelease allow modsim==2.0.0a8 --config device.tm.json --data snapshot.json

Scaled values that modpoll exports, such as 230.10000000000002 for a raw
2301 with multiplier 0.1, are served again unchanged. Snapshot points modpoll
could not read keep their defaults and are listed at startup. Snapshots hold
readings of a real device: keep them on your computer.

The v2.0.0a7 tag points at the same changes but was never published: its
release guard did not yet expect the new snapshot replay CI job.

Previous preview

Modsim 2.0.0a6

Modsim 2.0.0a6 pins modpoll-wot 0.3.0a3, the same interpreter as modpoll
2.0.0a5. Thing Models no longer carry a modpoll:audit plan: a TM that still
declares one is rejected as an unsupported root project extension, so modsim
and modpoll accept the same models. Delete the key to migrate. Simulation,
ports and remote loading are unchanged from 2.0.0a5:

uvx --prerelease allow modsim==2.0.0a6 --config https://example.org/device.tm.json

Modsim 2.0.0a5

Without --port, modsim now listens on the standard Modbus port: 502 for TCP
and UDP, 802 for Modbus/TLS. A simulator started from a ModioHub Thing Model is
then read with modpoll --tcp 127.0.0.1, without --tcp-port:

uvx --prerelease allow modsim==2.0.0a5 --config https://example.org/device.tm.json

Linux, and macOS when binding to 127.0.0.1, reserve ports below 1024 for
administrators. modsim then exits before starting and explains how to rerun it
with sudo (sudo "$(command -v uvx)" modsim ...) or choose a port above 1023,
for example --port 5020. Managed deployments keep their explicit server port.
This preview still pins modpoll-wot 0.2.0a4.

Modsim 2.0.0a4

Remote models and scenarios load directly from a site such as ModioHub:

uvx --prerelease allow modsim==2.0.0a4 --config https://example.org/device.tm.json \
  --scenario https://example.org/device.sim.json --bind 127.0.0.1 --port 5020

HTTPS requests identify themselves as modsim/<version>, because some CDNs reject
the default Python agent. --scenario accepts an HTTPS URL; a remote scenario
cannot name a behavior script. This preview still pins modpoll-wot 0.2.0a4.

Modsim 2.0.0a3

This preview pins modpoll-wot 0.2.0a4. A local TCP simulator can load a full
profile 0.2 TM with an audit plan or its independently derived public audit TM.
Tests seed the same known values and verify the public model exposes only the
selected read spans.

Modsim 2.0.0a2

This candidate uses published modpoll-wot 0.2.0a2 and immutable modbus-models-v1
inputs. Device mappings and contribution workflows moved to a data repository,
now Open Modbus Catalog;
examples pin a full data commit and individual content hashes. Vendor originals
are not copied. The tool and data releases remain independent.

Managed deployment version 2 supports local lifecycle and isolation on POSIX.
Single-device foreground mode supports fixed HTTPS TMs and local scenarios;
scripts require explicit --allow-scripts. Catalog acceptance compares raw Modbus
bytes, public modpoll 2.0.0a2 and node-wot 0.9.2 with asymmetric uint16 inputs,
and detects a deliberately wrong byte order. This is software evidence, not
hardware or engineering-unit certification.

Release gates cover independent wheel single-device startup/read/stop on Linux,
macOS and Windows. Managed deployments remain POSIX-only; Windows uses foreground
mode or WSL. A candidate is not accepted until its exact CI and preview publish,
image, docs and source-independent acceptance jobs all pass.

Expected install after publication: uv tool install --prerelease allow modsim==2.0.0a2.
The explicit preview image is topmaker/modsim:2.0.0a2; stable latest aliases stay
unchanged. Older 2.0.0a1 artifacts and historical contrib URLs remain immutable.

modpoll-wot 0.7.0a2

modpoll-wot 0.7.0a2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 14 Nov 12:15
420b992

See packages/modpoll-wot/CONTRACT.md and profile.md at this tag.