Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/modpoll-wot/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "modpoll-wot"
version = "0.7.0a1"
version = "0.7.0a2"
description = "Shared WoT Modbus configuration interpreter"
authors = [{ name = "Ying Shaodong", email = "helloysd@gmail.com" }]
readme = "README.md"
Expand Down
8 changes: 4 additions & 4 deletions packages/modpoll/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
> **2.x development branch.** This checkout accepts v1 CSV and WoT TM/TD JSON using profile 0.2; `--config` detects the format from the content. Install the current preview with `uv tool install --prerelease allow 'modpoll==2.0.0a12'`; stable 1.x remains available with `uv tool install 'modpoll<2'`. For development, run `make install`, then prefix project commands with `uv run`.
> **2.x development branch.** This checkout accepts v1 CSV and WoT TM/TD JSON using profile 0.2; `--config` detects the format from the content. Install the current preview with `uv tool install --prerelease allow 'modpoll==2.0.0a13'`; stable 1.x remains available with `uv tool install 'modpoll<2'`. For development, run `make install`, then prefix project commands with `uv run`.

# Modpoll - A New Command-line Tool for Modbus and MQTT

Expand Down Expand Up @@ -47,7 +47,7 @@ This tool requires Python 3.10+ (Ubuntu 22.04+ or equivalent) and is available o
Install *modpoll* using the following command,

```bash
uv tool install --prerelease allow "modpoll==2.0.0a12"
uv tool install --prerelease allow "modpoll==2.0.0a13"
```

Modbus RTU support ([pyserial](https://pyserial.readthedocs.io/)) is included since 2.0.0a12.
Expand Down Expand Up @@ -185,7 +185,7 @@ so `modsim --config device.tm.json --data snapshot.json` replays it locally.
A docker image has been provided for user to directly run the tool without local installation,

```bash
docker run --rm topmaker/modpoll:2.0.0a12
docker run --rm topmaker/modpoll:2.0.0a13
```

It shows the version of the tool by default.
Expand All @@ -197,7 +197,7 @@ If you want to load a local configure file, you need to mount a local folder ont
for example, if the child folder `examples` contains the config file `modsim.tm.json`, we can use it via the following command,

```bash
docker run --rm --network host -v "$(pwd)/examples:/app/examples:ro" topmaker/modpoll:2.0.0a12 \
docker run --rm --network host -v "$(pwd)/examples:/app/examples:ro" topmaker/modpoll:2.0.0a13 \
modpoll -d \
--tcp 127.0.0.1 --tcp-port 5020 \
--config /app/examples/modsim.tm.json
Expand Down
4 changes: 2 additions & 2 deletions packages/modpoll/docs/preview-notes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Modpoll 2.0.0a13 preview (unreleased)
# Modpoll 2.0.0a13 preview

Modpoll 2.0.0a13 writes verification report schema 5 (modpoll-wot with `identity_constants`):
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.
Expand Down
6 changes: 3 additions & 3 deletions packages/modpoll/docs/site/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Installation

This documentation describes the 2.x functional preview. Install the exact version::

uv tool install --prerelease allow 'modpoll==2.0.0a12'
uv tool install --prerelease allow 'modpoll==2.0.0a13'

For existing CSV installations use ``uv tool install 'modpoll<2'`` and the
`1.x documentation <https://top-maker.github.io/modpoll/1.x/>`_.
The preview image is ``topmaker/modpoll:2.0.0a12``; stable ``latest`` stays on 1.x.
The preview image is ``topmaker/modpoll:2.0.0a13``; stable ``latest`` stays on 1.x.
See :doc:`v1-compatibility` for tested platforms and hardware limitations.

This program is tested on python 3.10+ (Ubuntu 22.04+ or equivalent). Ubuntu 20.04 and python 3.8 are no longer supported.
Expand All @@ -19,7 +19,7 @@ The package is available in the `Python Package Index <https://pypi.org/>`_,

.. code-block:: shell

uv tool install --prerelease allow "modpoll==2.0.0a12"
uv tool install --prerelease allow "modpoll==2.0.0a13"

Modbus RTU support (pyserial) is included since 2.0.0a12.

Expand Down
4 changes: 2 additions & 2 deletions packages/modpoll/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "modpoll"
version = "2.0.0a12"
version = "2.0.0a13"
description = "A New Command-line Tool for Modbus and MQTT"
authors = [{ name = "Ying Shaodong", email = "helloysd@gmail.com" }]
readme = "README.md"
Expand All @@ -12,7 +12,7 @@ dependencies = [
"requests>=2.32.5,<3.0.0",
# Modbus RTU works out of the box; pyserial is pure Python and installs everywhere.
"pyserial>=3.5,<4.0",
"modpoll-wot==0.7.0a1",
"modpoll-wot==0.7.0a2",
]

[project.optional-dependencies]
Expand Down
7 changes: 6 additions & 1 deletion packages/modsim/docs/preview-notes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Modsim 2.0.0a14 preview
# 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.
Expand Down
2 changes: 1 addition & 1 deletion packages/modsim/modsim/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.0a14"
__version__ = "2.0.0a15"
4 changes: 2 additions & 2 deletions packages/modsim/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[project]
name = "modsim"
version = "2.0.0a14"
version = "2.0.0a15"
description = "A Simple Modbus TCP Device Simulator used for modpoll tool"
authors = [{ name = "Ying Shaodong", email = "helloysd@gmail.com" }]
readme = "README.md"
requires-python = ">=3.10,<4.0"
dependencies = [
"pymodbus~=3.16.1",
"pyserial>=3.5,<4.0",
"modpoll-wot==0.7.0a1",
"modpoll-wot==0.7.0a2",
"jsonschema>=4.21,<5",
"PyYAML>=6,<7",
]
Expand Down
2 changes: 1 addition & 1 deletion packages/modsim/tests/fixtures/io-module/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"source_sha256": "4c2aee3334faf6622f4ee34a23108fa0ec100a6b3110a78200eee79da8935596",
"generator": {
"package": "modpoll-wot",
"version": "0.7.0a1"
"version": "0.7.0a2"
},
"instance": {
"host": "127.0.0.1",
Expand Down
6 changes: 3 additions & 3 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading