Skip to content

A python command line script to receive messages from Meshtastic

License

Notifications You must be signed in to change notification settings

barryhunter/meshtastic-cli-receive-text

 
 

Repository files navigation

meshtastic-cli-receive-text

A python command line script to receive messages from Meshtastic. Run either the 'read_messages_serial.py' script OR the 'read_messages_tcp.py' script, and it will connect to your radio (via either Serial or TCP) and display any text messages received by your node, on any channel, including private/direct messages.

Script is confirmed to work on Windows and Linux (and possibly other OSs).

I built this because this functionality is not available using the Meshtastic CLI (as of time of publishing).

Installation

Usage

  • Firstly, decide if you will be connecting to your node via serial or via TCP. If using serial, edit 'read_messages_serial.py' and set the serial port for your Meshtastic node (usually /dev/ttyUSB0 or /dev/ttyACM0 on Linux, or COMx on Windows). If using TCP, edit 'read_messages_tcp.py' and set the IP address of your Meshtastic node.

  • Then to run the script:

  • For Serial: python read_messages_serial.py

  • For TCP: python read_messages_tcp.py

  • To exit, use Ctrl-C

Screenshot 2024-07-09 121441

Screenshot 2024-07-09 121720

About

A python command line script to receive messages from Meshtastic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%