The public product catalog and feedback repository for ModioHub.
The catalog holds product packages. A product is one manufacturer model, such as Advantech ADAM-5017UH, covering every device of that model. Each package holds the product's identity, communication metadata and public source links, and, where available, approved illustrations and an executable baseline Thing Model with its simulation data. ModioHub, Modpoll and Modsim read packages from a pinned commit.
Contribute through GitHub Issues to request a product, report a correction, or suggest a public source. Include the manufacturer, exact model number or part number, and firmware or hardware version when relevant. Share a public source link and page reference when available. Requests that attach a verification report from modpoll --report are handled first.
A product package is a directory products/<manufacturer>/<model-number>/
with lowercase kebab-case names. Its path is the stable product ID, such as
advantech/adam-5017uh; keep it when correcting display names. The first
segment is the manufacturer ID, listed in manufacturers.yaml with the
manufacturer's name and any established locale names, such as 研华 for
Advantech. Add the manufacturer there before its first product.
products/<manufacturer>/<model-number>/
product.yaml required: identity, communication and sources
model.tm.json optional: baseline Thing Model
model.data.json optional: simulation data for the Thing Model
images/NN.webp optional: product photographs listed in product.yaml
images/NN.svg optional: illustrations listed in product.yaml
documents/*.pdf optional: PDFs cleared for redistribution, listed in product.yaml
schema/product.schema.json defines the record.
Start the file with
# yaml-language-server: $schema=../../../schema/product.schema.json for
completion and checks in editors.
| Field | Required | Meaning |
|---|---|---|
modelNumber |
yes | The manufacturer's model number, such as ADAM-4017+. A different exact model number is a separate product |
aliases |
no | Other spellings of the model number for search |
category |
yes | A category ID from categories.yaml; add a category there when none fits |
description |
yes | One line in English |
translations |
no | Per locale: description, and image alt under images |
specs |
no | Label and value pairs cited from the listed documents |
communication.protocols |
yes | modbus-tcp, modbus-rtu, modbus-ascii |
communication.viaChassis |
no | The chassis that provides Modbus for a backplane module |
communication.firmware |
no | Documented firmware applicability; absent when unknown |
communication.defaults |
no | Settings a new device ships with, see below |
documents |
yes | Official sources with exact references |
images |
no | Photographs and illustrations in display order, a photograph first; each file is images/NN.webp or images/NN.svg with NN its position |
documents[].type is datasheet for the specification, protocol for a
document that holds the Modbus register map, manual when the map lives
inside a user manual, or other. Link documents with url; commit a copy
with path only when it may be redistributed, and record rights.
Record the sha256 of the file the facts were read from and the date it was
retrieved (retrievedAt, YYYY-MM-DD), so a later reader can tell whether the
manufacturer has replaced the document behind the link.
A manufacturer document that is no longer published and may not be
redistributed is listed with its sha256 alone, without url or path; say
in reference how it was obtained.
communication.defaults holds tcp (port, unitId) and serial
(unitId, baudRate, dataBits, parity, stopBits), each only for a
listed protocol, with a reference to the pages that state them and any step
needed before Modbus is available, such as switching from a proprietary protocol.
Record only stated values. Consumers assume port 502 when tcp.port is
absent and ask the user for anything else that is missing.
Images are either a product photograph or a line illustration, and a
photograph is preferred. A photograph is a still WebP of at most 512 KiB, without
metadata (no EXIF, XMP or colour profile), taken from a manufacturer whose
pages and documents state no restriction on images; source.url is the
address of the photo and rights says which pages were checked and when. A
manufacturer that restricts image use, or whose photo has no clear
rights, gets an illustration instead: a passive SVG drawn from documented
geometry, whose source is a listed document. Logos are never published.
If a manufacturer asks for a photograph to be removed, it is removed.
Consumers fall back to the default language when a translation is missing.
model.tm.json is the baseline Thing Model. It follows the
modpoll-wot executable profile, and
its description states the hardware, chassis, firmware and register map
edition it applies to.
Addresses (modv:address) are zero-based protocol data unit addresses, as the
profile defines them. Convert a manual's reference numbers before recording
them: register 40001 is address 0. Say so in the description when the
manual's own numbering differs.
model.data.json is simulation data,
which Modsim loads with --data. Static values in initial are the default;
add generators only for points that should change over time, or bindings
for a point that follows another. Simulation data carries no code. Without
it, CI generates static data from
simulation-presets.yaml, which gives values per
category and point unit; uv run scripts/simulation.py <package> prints it as
a starting point for model.data.json. Readings of real devices, such as a
Modpoll --export snapshot, are instance data and do not belong here.
CI runs four static checks on every Thing Model:
- W3C WoT: the Thing Model schema and the additional assertions of Eclipse Thingweb Playground;
- executable profile: modpoll-wot validates the profile, including that each raw type's width matches its register count;
- consistency: no two points share registers or bits, except identical
aliases and different bits of one register, and each
minimumandmaximumfits the raw type after the multiplier; - simulation data: every readable point has a value, and every value fits the point's type, range and multiplier exactly; changing values stay in range.
These checks show that a Thing Model is well formed and consistent; they cannot catch a wrong address or word order. The catalog runs no simulated device: Modpoll and Modsim test their own encoding and decoding. Hardware verification records are kept by ModioHub, not in this catalog.
Run the same checks as CI from a Git checkout with Node.js 24 and uv:
npm ci
npm run checknpm test shows that each validation rule and static check rejects the bad
data it exists for. npm run wot runs the W3C WoT validation, and
uv run --locked --script scripts/check-thing-models.py the other static
checks; --changed-since REF limits the latter to packages changed since a
Git ref, as pull requests do in CI.
The catalog, including product records, Thing Models and illustrations, is available under the MIT License. Linked manufacturer documents remain under their publishers' terms, and so do manufacturer product photographs, which are included without a transfer of the manufacturers' rights.