Installation

This program is tested on Python 3.10+ (Ubuntu 22.04+ or equivalent). Ubuntu 20.04 and Python 3.8 are no longer supported.

The PyPI package is named modpoll2mqtt; the installed command is modpoll.

Install with pip or pipx

pip install modpoll2mqtt

Optionally, install pyserial for Modbus-RTU communication:

pip install 'modpoll2mqtt[serial]'

Upgrade:

pip install -U modpoll2mqtt

On Windows, pipx is recommended. Refer to the pipx installation guide.

pipx install modpoll2mqtt
pipx upgrade modpoll2mqtt

Uninstall

pip uninstall modpoll2mqtt

or:

pipx uninstall modpoll2mqtt