Bridge between Meshtastic mesh networks and Matrix chat rooms
Project description
M<>M Relay
(Meshtastic <=> Matrix Relay)
A powerful and easy-to-use relay between Meshtastic devices and Matrix chat rooms, allowing seamless communication across platforms. This opens the door for bridging Meshtastic devices to many other platforms.
Documentation
Visit our Wiki for comprehensive guides and information.
- Installation Instructions - Setup and configuration guide
- v1.0 Release Announcement - New changes in v1.0
- Upgrade Guide - Migration guidance for existing users
Quick Start
MMRelay runs on Linux, macOS, and Windows.
# Install using pipx for isolated installation (recommended)
pipx install mmrelay
# Generate a sample configuration file & then edit it
mmrelay --generate-config
# Start the relay (without --install-service to run manually)
mmrelay --install-service
For detailed installation and configuration instructions, see the Installation Guide.
Features
- Bidirectional message relay between Meshtastic devices and Matrix chat rooms, capable of supporting multiple meshnets
- Supports serial, network, and BLE (now too!) connections for Meshtastic devices
- Custom fields are embedded in Matrix messages for relaying messages between multiple meshnets
- Truncates long messages to fit within Meshtastic's payload size
- SQLite database to store node information for improved functionality
- Customizable logging level for easy debugging
- Configurable through a simple YAML file
- Supports mapping multiple rooms and channels 1:1
- Relays messages to/from an MQTT broker, if configured in the Meshtastic firmware
- ✨️ Cross-platform reactions support ✨️ NEW!!
We would love to support Matrix E2EE rooms, but this is currently not implemented.
Windows Installer
The latest installer is available here.
Plugins
M<>M Relay supports plugins for extending its functionality, enabling customization and enhancement of the relay to suit specific needs.
Core Plugins
Generate a map of your nodes:
Produce high-level details about your mesh:
See the full list of core plugins here.
Community & Custom Plugins
MMRelay's plugin system allows you to extend functionality in two ways:
- Custom Plugins: Create personal plugins for your own use, stored in
~/.mmrelay/plugins/custom/ - Community Plugins: Share your creations with others or use plugins developed by the community
Check the Community Plugins Development Guide in our wiki to get started.
✨️ Visit the Community Plugins List!
Install a Community Plugin
Add the repository under the community-plugins section in config.yaml:
community-plugins:
example-plugin:
active: true
repository: https://github.com/jeremiah-k/mmr-plugin-template.git
tag: main
Plugin System
Plugins make it easy to extend functionality without modifying the core program. MMRelay features a powerful plugin system with standardized locations:
- Core Plugins: Pre-installed with the package
- Custom Plugins: Your own plugins in
~/.mmrelay/plugins/custom/ - Community Plugins: Third-party plugins in
~/.mmrelay/plugins/community/
Getting Started with Matrix
See our Wiki page Getting Started With Matrix & MM Relay.
Already on Matrix?
Join us!
- Our project's room: #mmrelay:meshnet.club
- Part of the Meshtastic Community Matrix space: #meshtastic-community:meshnet.club
- Public Relay Room: #relay-room:meshnet.club - Where we bridge multiple meshnets. Feel free to join us, with or without a relay!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mmrelay-1.0.9.tar.gz.
File metadata
- Download URL: mmrelay-1.0.9.tar.gz
- Upload date:
- Size: 58.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e251822319b251d420c3f488fe51dd67ffb599190e672e15e4fad03de4acf5cd
|
|
| MD5 |
32f7c28c1dd32b04a11cf4518649087e
|
|
| BLAKE2b-256 |
dad6cba6efd4160dd3e69e0885f4c87eec9dd5d27597365f592db6d1c0fba52c
|
Provenance
The following attestation bundles were made for mmrelay-1.0.9.tar.gz:
Publisher:
pypi-publish.yml on geoffwhittington/meshtastic-matrix-relay
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mmrelay-1.0.9.tar.gz -
Subject digest:
e251822319b251d420c3f488fe51dd67ffb599190e672e15e4fad03de4acf5cd - Sigstore transparency entry: 228878712
- Sigstore integration time:
-
Permalink:
geoffwhittington/meshtastic-matrix-relay@d6ac60d961aabe0994f313a23a740651cf3d4829 -
Branch / Tag:
refs/tags/1.0.9 - Owner: https://github.com/geoffwhittington
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d6ac60d961aabe0994f313a23a740651cf3d4829 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mmrelay-1.0.9-py3-none-any.whl.
File metadata
- Download URL: mmrelay-1.0.9-py3-none-any.whl
- Upload date:
- Size: 69.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2a199dad1233f014bcfc086f05417eabab789d0e464253038158d6cb0e82963
|
|
| MD5 |
fc5dbb86ead3115be720846951b6d15b
|
|
| BLAKE2b-256 |
e9badf4177d512c58605b3795e84336ffbbf5747ce16cda8698833642858872f
|
Provenance
The following attestation bundles were made for mmrelay-1.0.9-py3-none-any.whl:
Publisher:
pypi-publish.yml on geoffwhittington/meshtastic-matrix-relay
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mmrelay-1.0.9-py3-none-any.whl -
Subject digest:
c2a199dad1233f014bcfc086f05417eabab789d0e464253038158d6cb0e82963 - Sigstore transparency entry: 228878715
- Sigstore integration time:
-
Permalink:
geoffwhittington/meshtastic-matrix-relay@d6ac60d961aabe0994f313a23a740651cf3d4829 -
Branch / Tag:
refs/tags/1.0.9 - Owner: https://github.com/geoffwhittington
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@d6ac60d961aabe0994f313a23a740651cf3d4829 -
Trigger Event:
release
-
Statement type: