4e38545d04 | ||
---|---|---|
.github/workflows | ||
app | ||
device | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
README.md | ||
docker-compose-sample.yaml | ||
mmrelay.sh |
README.md
MMRELAYNODE
A dockerized relay between Meshtastic and Matrix with native Meshtastic node connected via MQTT and the meshtastic node is virtualized too.
The repository uses firmware built based on https://github.com/meshtastic/firmware.
Relay operation is implemented using the Meshtastic <=> Matrix Relay https://github.com/geoffwhittington/meshtastic-matrix-relay.
Feel free to explore the Meshtastic project on their website: https://meshtastic.org.
This project consists of two containers mmrealynode-app
and mmrelaynode-device
.
First copy docker-compose-sample.yaml
to docker-compose.yaml
and customize it for your setup.
To build the containers:
git clone https://github.com/mate-dev/mmrelaynode.git
cd mmrelaynode && git submodule update --init
docker compose -f "docker-compose.yaml" up -d --build
If modifying the scripts, with the containers stopped, use these commands to rebuild them:
docker system prune -af
docker-compose build --no-cache
docker-compose up -d --force-recreate
Use the following command to see the output of command_wrapper.py & the MESHTASTIC_COMMAND_X commands:
docker exec -it mmrelaynode-app cat /home/mesh/app/command_output.txt
Note: If you have several commands, it may take a few minutes to finish them all.