Metadata-Version: 2.4
Name: mqtt325
Version: 0.1.0
Summary: Republishes MQTT v3 messages as retained MQTT v5 messages.
Author-email: Michael Osthege <michael.osthege@outlook.com>
License-Expression: MIT
Classifier: Programming Language :: Python
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: paho-mqtt>=2.1.0
Dynamic: license-file

[![PyPI version](https://img.shields.io/pypi/v/mqtt325)](https://pypi.org/project/mqtt325)
[![pipeline](https://github.com/michaelosthege/mqtt325/workflows/pipeline/badge.svg)](https://github.com/michaelosthege/mqtt325/actions)

# MQTT 3 → 5

This small Python app provides MQTT message re-routing to create retained messages from devices
that don't implement MQTT v5 themselves.

## Installation

```bash
pip install mqtt325
```

## Configuration

Configure these environment variables:

* `MQTT_HOST`
* `MQTT_PORT` (optional)
* `MQTT_USER` (optional)
* `MQTT_PASSWORD` (optional)
* `MQTT_TLS_CHAIN` (optional PEM encoded certificate chain of the broker)
* `MQTT325_CONFIG_PATH` (optional path to a [`config.py` file](src/mqtt325/config.py) to use instead of the default)
