Skip to main content

MMRelay

Meshtastic ↔ Matrix Relay

MMRelay is a self-hosted bridge between a Meshtastic meshnet and Matrix. It runs as a long-lived service, connects to one Meshtastic node, logs in to Matrix with a bot account, and relays eligible traffic between configured Meshtastic channels and Matrix rooms.

Meshtastic meshnet ⇄ Meshtastic node ⇄ MMRelay ⇄ Matrix rooms

How it works at a glance

  • Meshtastic side: MMRelay connects to a Meshtastic node over Serial, BLE, or TCP/network (for example, a node reachable over Wi-Fi).
  • Matrix side: MMRelay joins configured rooms using a dedicated Matrix bot account.
  • Room/channel mapping: one or more Meshtastic channels (0–7), each mapped 1:1 to a Matrix room.
  • Bidirectional relay: eligible mesh traffic can be posted to the mapped Matrix room, and eligible Matrix traffic can be transmitted on the mapped Meshtastic channel.
  • Identity boundary: messages posted into Matrix are sent by the MMRelay bot. Meshtastic sender names and node IDs are preserved as attribution; they are not Matrix-authenticated identities.

For the full conceptual model—including meshnet terminology, the recommended relay-node setup, message flow, mapping behavior, and the identity/trust boundary—see How MMRelay Works.

Start here

Highlights

  • Bidirectional Meshtastic ↔ Matrix message relay
  • Multiple meshnets and configurable room/channel mappings
  • Serial, BLE, and TCP/network Meshtastic connections
  • Matrix end-to-end encryption support
  • Replies and reactions across the bridge
  • Message formatting and payload-size handling for Meshtastic
  • SQLite-backed node/message state
  • Docker and Kubernetes deployment support
  • Core, community, and local plugin support
  • Optional MQTT integration through Meshtastic firmware

E2EE: MMRelay uses mindroom-nio with vodozemac for encrypted Matrix rooms. Cross-signing applies to the Matrix bot device only; it does not authenticate Meshtastic identities. See the E2EE guide, especially before resetting authentication or cross-signing state.

Meshtastic library: MMRelay uses mtjk, a Meshtastic Python fork with additional BLE, connection-lifecycle, and thread-safety work used by this project.

Plugins

MMRelay can be extended with built-in core plugins, Git-managed community plugins, and local custom plugins. Plugins run inside the MMRelay process, so install third-party code only from sources you trust.

Community

Metadata

Release files for mmrelay 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mmrelay 1.5.0
File Size Uploaded Provenance Actions
mmrelay-1.5.0.tar.gz 1.2 MB With provenance Details for mmrelay-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mmrelay 1.5.0
File Interpreter ABI Platform Actions
mmrelay-1.5.0-py3-none-any.whl Python 3 none any Details for mmrelay-1.5.0-py3-none-any.whl

Total release size: 1.7 MB

Release files / mmrelay-1.5.0.tar.gz

Download URL mmrelay-1.5.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
1acc528f1bbade3cf3e087032e60604dce12a99cedcd2ae8f6a3b92bdebdf72c
BLAKE2b-256 checksum
How to use checksums
6e6675a1aa720b14e14861c22495d04a6d5a1e8adeef9ab03a49237e2a3c49d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / mmrelay-1.5.0-py3-none-any.whl

Download URL mmrelay-1.5.0-py3-none-any.whl
Size 525.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7415215ba371424369152596505396a8c28c5f3b7a60677eca4dbd31afd91f7b
BLAKE2b-256 checksum
How to use checksums
57a6a1df1e626a1bbcd4a20b94db8f7b2da3cd2fbd6a313b8934df5150d6548f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for mmrelay 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mmrelay-1.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page