Python API and client shell for communicating with Meshtastic mesh radios. Current version 2.7.8, supporting Python 3.9-3.14. Regular releases follow the Meshtastic firmware updates.
pip install meshtasticVerified import paths — ran on the pinned version, not inferred.
Connects to a Meshtastic device via serial and sends a broadcast message.
Remove any explicit baudrate argument when creating SerialInterface, e.g., SerialInterface('/dev/ttyUSB0') instead of SerialInterface('/dev/ttyUSB0', 115200).Replace calls to iface.sendData(data) with iface.sendText(data) for text or iface.sendRaw(data) for raw bytes.
from meshtastic.tcp import TCPInterface; iface = TCPInterface('192.168.1.100')Use iface.sendText() instead of meshtastic.sendText(iface, 'hello')
No dependency data recorded yet.