Metadata-Version: 2.3
Name: modpoll
Version: 2.0.0a14
Summary: A New Command-line Tool for Modbus and MQTT
Author: Ying Shaodong
Author-email: Ying Shaodong <helloysd@gmail.com>
Requires-Dist: pymodbus~=3.16.1
Requires-Dist: paho-mqtt>=2.1.0,<3.0.0
Requires-Dist: prettytable>=3.9.0,<4.0.0
Requires-Dist: requests>=2.32.5,<3.0.0
Requires-Dist: pyserial>=3.5,<4.0
Requires-Dist: modpoll-wot==0.7.0a3
Requires-Python: >=3.10, <4.0
Project-URL: Repository, https://github.com/top-maker/modpoll
Project-URL: Documentation, https://top-maker.github.io/modpoll
Provides-Extra: serial
Description-Content-Type: text/markdown

# modpoll

[![Release](https://img.shields.io/github/v/release/top-maker/modpoll)](https://github.com/top-maker/modpoll/releases)
[![License](https://img.shields.io/github/license/top-maker/modpoll)](https://github.com/top-maker/modpoll/blob/v2/packages/modpoll/LICENSE)
[![Downloads](https://static.pepy.tech/badge/modpoll/week)](https://pepy.tech/project/modpoll)

A command-line tool that reads Modbus TCP and RTU devices from a W3C WoT Thing Model, publishes the readings to
MQTT and writes verification reports. v1 CSV configurations keep working.

```bash
uv tool install --prerelease allow "modpoll==2.0.0a14"
modpoll --once --tcp 192.168.1.10 --config device.tm.json
```

Stable 1.x stays available with `uv tool install 'modpoll<2'`.

**Documentation:** [2.x preview](https://top-maker.github.io/modpoll/v2/) ·
[1.x](https://top-maker.github.io/modpoll/1.x/)

The implementation is inspired by [modbus2mqtt](https://github.com/owagner/modbus2mqtt) and
[spicierModbus2mqtt](https://github.com/mbs38/spicierModbus2mqtt) (MIT license); thanks to Oliver Wagner and
Max Brueggemann. For development, see [CONTRIBUTING.md](CONTRIBUTING.md).

MIT © 2021-2026, Ying Shaodong
