Skip to content

brad28b/meshtastic-direct-nodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

meshtastic-direct-nodes

This python script will connect to your Meshtastic node, and return a list of nodes that your node is directly connected to (that is, Zero hops away).

Tested on Linux and Windows.

Screenshot 2024-12-03 104308

Installation

cd ~
git clone https://github.com/brad28b/meshtastic-direct-nodes.git
cd meshtastic-direct-nodes
pip3 install -r requirements.txt

Usage

python meshtastic-direct-nodes.py

Note: If you use Serial, the script will attempt to find your serial port automatically. You can also change the code to directly specify your serial port, by changing this line:

return meshtastic.serial_interface.SerialInterface("/dev/ttyUSB0") # Replace with your serial port address, for Windows, use "COMx", eg "COM14"

About

Meshtastic Directly Connnected Nodes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages