telegram bot that forwards messages to and from meshtastic device
The purpose of this bot is to act as a bridge between local Meshtastic conference and Telegram chat room. Nicks (Your Name field for Meshtastic) are passed through in both directions.
Meshtastic T-Beam v1.1
When enabled, this bot listens on specified port and renders device map.
- Cluster markerer
- Device details
- Actual Kyiv community map
- Run
cp mesh.ini.example mesh.ini
- Create new Telegram bot using @BotFather contact. Copy token to clipboard.
- Put token from previous step into
mesh.ini
- Put admin id and room id into
mesh.ini
- Edit
mesh.ini
Meshtastic section to reflect your device configuration (usually not required, for Linux at least) - Run
sudo pip3 install -r requirements.txt
- Run
gpasswd -a youruser dialout
- Relogin
- Run
./mesh.py
- Enjoy
/start
- basic command to confirm that bot is up and running/nodes
- return list of known nodes (including those reachable via other hops)
/distance
- print distance to other meshtastic devices (in meters)