Skip to content

nikodll/meshtastic-telegram-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

meshtastic-telegram-chat

Based on the read_messages_serial.py script from brad28b/meshtastic-cli-receive-text.

This script forwards Meshtastic messages to a Telegram bot — and vice versa.


🛠️ Installation

Install dependencies

pip install meshtastic pypubsub requests

and clone this repo.


🤖 Configuration

  1. Create your own bot via BotFather.
  2. Obtain your bot token and chat ID for the chat where you want to receive Meshtastic messages.
  3. Edit the following variables at the top of the script:
BOT_TOKEN = "your_bot_token_here"
CHAT_ID = "your_chat_id_here"

▶️ Usage

Once everything is configured, run the script:

python meshchat_telegram.py

The script will automatically forward messages between your Meshtastic device and your Telegram chat.


🧩 Credits

Based on original work from:


📜 License

MIT License © 2025

About

Forward meshtastic messages to a telegram bot and back

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages