Repository navigation
Releases
Modsim 2.0.0a17
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 502still selects the standard port. - Modbus RTU without hardware.
modsim --config device.tm.json --serial ptycreates a virtual serial
port on Linux and macOS, prints it together with the matchingmodpoll --serial ...command, and removes
it on exit.--serial-link PATHadds a fixed symbolic link;--serial PORTlistens 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 loginsigns in with your browser andmodsim logoutforgets the login. The 7-day tool session is
kept in~/.config/modiohub/credentials.jsonand 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, andscript: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:
--scenariobecomes--data; deployment devices usedata:instead of
scenario:.--initial-fileis removed: put the values in a data document'sinitial.- Simulation data carries no code. Behavior scripts move out of the data file
to--script(with--allow-scripts) or a deployment device'sscript:,
and their values to the device'sscriptParameters:. - A modpoll
--exportsnapshot 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.jsonScaled 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.jsonModsim 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.jsonLinux, 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 5020HTTPS 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
See packages/modpoll-wot/CONTRACT.md and profile.md at this tag.
Modpoll 2.0.0a15 — WoT configuration preview
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 loginprints 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
--configlink, the API, signing in, a Workspace download and a report
upload) identifies the tool asmodpoll/<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 FILErefuses it, or a schema 3 or 4
report, without contacting ModioHub. - Points whose DataSchema declares
constare compared with the value read; the report recordsmatchor
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-modeland 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 modpollread 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
--reportasks 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--yesdoes not answer the
browser sign-in (without one the run fails fast instead of hanging). modpoll --upload FILEuploads a report saved earlier without reading a device: the report is shown
for confirmation and uploaded once you agree. Bare--uploadoffers the newestreport-*.jsonin the
current directory (--yesanswers 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. WithoutMODIOHUB_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):
--reporton 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--reportasks where to save, whether the values look right, and whether to upload.--uploadshows the report and uploads it after you confirm (--yesskips the questions); without a
login the browser sign-in flow starts inline.- The
verifysubcommand and--productare 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-readreads every point once, read-only and without retries;--report FILEwrites the
verification report (schema 3), which holds no address, Unit ID, serial number or value.modpoll loginsigns in with your browser andmodpoll logoutforgets the login. The 7-day tool session
is kept in~/.config/modiohub/credentials.jsonand is shared with modsim 2.0.0a9.--tm modiohub:<id>@<version>reads a custom Thing Model from your ModioHub Workspace, and--uploadshows
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.jsonThe 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 1Verification 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 1Install 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...
Modsim 2.0.0a16
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 502still selects the standard port. - Modbus RTU without hardware.
modsim --config device.tm.json --serial ptycreates a virtual serial
port on Linux and macOS, prints it together with the matchingmodpoll --serial ...command, and removes
it on exit.--serial-link PATHadds a fixed symbolic link;--serial PORTlistens 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 loginsigns in with your browser andmodsim logoutforgets the login. The 7-day tool session is
kept in~/.config/modiohub/credentials.jsonand 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, andscript: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:
--scenariobecomes--data; deployment devices usedata:instead of
scenario:.--initial-fileis removed: put the values in a data document'sinitial.- Simulation data carries no code. Behavior scripts move out of the data file
to--script(with--allow-scripts) or a deployment device'sscript:,
and their values to the device'sscriptParameters:. - A modpoll
--exportsnapshot 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.jsonScaled 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.jsonModsim 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.jsonLinux, 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 5020HTTPS 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
See packages/modpoll-wot/CONTRACT.md and profile.md at this tag.
Modpoll 2.0.0a14 — WoT configuration preview
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 FILErefuses it, or a schema 3 or 4
report, without contacting ModioHub. - Points whose DataSchema declares
constare compared with the value read; the report recordsmatchor
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-modeland 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 modpollread 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
--reportasks 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--yesdoes not answer the
browser sign-in (without one the run fails fast instead of hanging). modpoll --upload FILEuploads a report saved earlier without reading a device: the report is shown
for confirmation and uploaded once you agree. Bare--uploadoffers the newestreport-*.jsonin the
current directory (--yesanswers 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. WithoutMODIOHUB_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):
--reporton 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--reportasks where to save, whether the values look right, and whether to upload.--uploadshows the report and uploads it after you confirm (--yesskips the questions); without a
login the browser sign-in flow starts inline.- The
verifysubcommand and--productare 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-readreads every point once, read-only and without retries;--report FILEwrites the
verification report (schema 3), which holds no address, Unit ID, serial number or value.modpoll loginsigns in with your browser andmodpoll logoutforgets the login. The 7-day tool session
is kept in~/.config/modiohub/credentials.jsonand is shared with modsim 2.0.0a9.--tm modiohub:<id>@<version>reads a custom Thing Model from your ModioHub Workspace, and--uploadshows
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.jsonThe 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 1Verification 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 1Install 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...
v1.6.2
Modsim 2.0.0a15
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 502still selects the standard port. - Modbus RTU without hardware.
modsim --config device.tm.json --serial ptycreates a virtual serial
port on Linux and macOS, prints it together with the matchingmodpoll --serial ...command, and removes
it on exit.--serial-link PATHadds a fixed symbolic link;--serial PORTlistens 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 loginsigns in with your browser andmodsim logoutforgets the login. The 7-day tool session is
kept in~/.config/modiohub/credentials.jsonand 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, andscript: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:
--scenariobecomes--data; deployment devices usedata:instead of
scenario:.--initial-fileis removed: put the values in a data document'sinitial.- Simulation data carries no code. Behavior scripts move out of the data file
to--script(with--allow-scripts) or a deployment device'sscript:,
and their values to the device'sscriptParameters:. - A modpoll
--exportsnapshot 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.jsonScaled 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.jsonModsim 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.jsonLinux, 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 5020HTTPS 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 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 502still selects the standard port. - Modbus RTU without hardware.
modsim --config device.tm.json --serial ptycreates a virtual serial
port on Linux and macOS, prints it together with the matchingmodpoll --serial ...command, and removes
it on exit.--serial-link PATHadds a fixed symbolic link;--serial PORTlistens 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 loginsigns in with your browser andmodsim logoutforgets the login. The 7-day tool session is
kept in~/.config/modiohub/credentials.jsonand 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, andscript: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:
--scenariobecomes--data; deployment devices usedata:instead of
scenario:.--initial-fileis removed: put the values in a data document'sinitial.- Simulation data carries no code. Behavior scripts move out of the data file
to--script(with--allow-scripts) or a deployment device'sscript:,
and their values to the device'sscriptParameters:. - A modpoll
--exportsnapshot 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.jsonScaled 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.jsonModsim 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.jsonLinux, 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 5020HTTPS 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
See packages/modpoll-wot/CONTRACT.md and profile.md at this tag.