Connect your Meshtastic mesh network with Telegram group chats! π‘π¬
- π Supports serial and TCP connections
- π Automatic reconnection
- π¦ Rate limiting
- π Regular updates
- β Read receipts
- π Optional syslog logging
- Python 3.11+ π
- Dependencies:
envyaml
πmeshtastic
π‘python-telegram-bot
π€
-
Clone the repo:
git clone https://github.com/gretel/meshgram.git cd meshgram
-
Set up a virtual environment:
python3 -m venv venv source venv/bin/activate
-
Install dependencies:
pip install -U -r requirements.txt
-
Configure the project: Create a
config.yaml
file in theconfig
directory:telegram: bot_token: "your_bot_token_here" chat_id: -1001234567890 authorized_users: - 123456789 meshtastic: connection_type: "serial" device: "/dev/ttyUSB0" default_node_id: "!abcdef12" logging: level: "info"
-
Run Meshgram:
python src/meshgram.py
We love contributions! π Please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Happy meshing! π