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
12 changes: 11 additions & 1 deletion docs/preview-notes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# Next preview
# 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):

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "modpoll"
version = "2.0.0a9"
version = "2.0.0a10"
description = "A New Command-line Tool for Modbus and MQTT"
authors = [{ name = "Ying Shaodong", email = "helloysd@gmail.com" }]
readme = "README.md"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ def post(url, json=None, headers=None, timeout=None):


def test_upload_asks_first_and_needs_a_login(monkeypatch, tmp_path, capsys):
# The scripted answers also reach the save-location prompt; keep that report out of the repository.
monkeypatch.chdir(tmp_path)
path = tmp_path / "meter.tm.json"
path.write_text(json.dumps(three_group_model()))
posted = []
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

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

Loading