Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.46 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.46 KB

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