modpoll2mqtt documentation
modpoll2mqtt is a command-line Modbus-to-MQTT gateway. Install it with pip install modpoll2mqtt and run the modpoll command.
It polls Modbus devices (RTU, TCP, UDP) using CSV configuration files, publishes values to an MQTT broker, and supports semantic write commands by CSV reference name.
Package on PyPI, source code and issues on GitHub.
Contents:
- Installation
- Quickstart
- Basic Usage
- Named Arguments
- Commandline Usage
- Configuration sources
- Export
- Operational flags
- Configuration File
- Framers and transports
- Persistent Modbus connection
- MQTT retain
- MQTT status
- MQTT diagnostics
- MQTT payload keys
- MQTT single publish
- MQTT publish on change
- Publish behavior
- MQTT write commands
- MQTT on-demand read (get)
- Consolidation and migration
- Configuration
- Operation and migration from 2.2.1
- Changelog