This Python curses client for Meshtastic is a terminal-based client designed to manage device settings, enable mesh chat communication, and handle configuration backups and restores.
![Contact - Main UI Screenshot](https://private-user-images.githubusercontent.com/836646/410124616-d2996bfb-2c6d-46a8-b820-92a9143375f4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTA1ODAsIm5iZiI6MTczOTA5MDI4MCwicGF0aCI6Ii84MzY2NDYvNDEwMTI0NjE2LWQyOTk2YmZiLTJjNmQtNDZhOC1iODIwLTkyYTkxNDMzNzVmNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQwODM4MDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yYjhmNWZmNjE1ZGFlZGNhZGUwZjczNzlhYTNjNTk4NmZmZTVlNDljMjE4ZmY4YzRjNWRkNmEwM2U0ZDJmYTk1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.brh9rCfpEsjPqHFVXOCZ7JN-vDYzFjjHWafF0IW6ixU)
The settings dialogue can be accessed within the client or may be run standalone to configure your node by launching settings.py
![Contact - Settings Dialogue](https://private-user-images.githubusercontent.com/117498748/410077558-dd47f52a-d4d8-4e40-8001-9ea53d87f816.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTA1ODAsIm5iZiI6MTczOTA5MDI4MCwicGF0aCI6Ii8xMTc0OTg3NDgvNDEwMDc3NTU4LWRkNDdmNTJhLWQ0ZDgtNGU0MC04MDAxLTllYTUzZDg3ZjgxNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQwODM4MDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wZDY1MjI4MDAyMzc5OTVjMjFlZDYwNDVjYTkxYTkyN2ExNjI5NTMxNDFiNDE4MzliNDVmODNkZjYwMjZkNDczJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.OzdwGrt_0gknEc9e0ikzwzbOQ8ijrGlIDsFc7THlsv8)
All messages will saved in a SQLite DB and restored upon relaunch of the app. You may delete client.db
if you wish to erase all stored messages and node data. If multiple nodes are used, each will independently store data in the database, but the data will not be shared or viewable between nodes.
By navigating to Settings -> App Settings, you may customize your UI's icons, colors, and more!
↑→↓←
= Navigate around the UI.ENTER
= Send a message typed in the Input Window, or with the Node List highlighted, select a node to DM`
= Open the Settings dialogueCTRL
+p
= Hide/show a log of raw received packets.CTRL
+t
= With the Node List highlighted, send a traceroute to the selected nodeCTRL
+d
= With the Channel List hightlighted, archive a chat to reduce UI clutter. Messages will be saved in the db and repopulate if you send or receive a DM from this user.ESC
= Exit out of the Settings Dialogue, or Quit the application if settings are not displayed.
- Press
CTRL
+/
while the nodes or channels window is highlighted to start search - Type text to search as you type, first matching item will be selected, starting at current selected index
- Press Tab to find next match starting from the current index - search wraps around if necessary
- Press Esc or Enter to exit search mode
You can pass the following arguments to the client:
Optional arguments to specify a device to connect to and how.
--port
,--serial
,-s
: The port to connect to via serial, e.g./dev/ttyUSB0
.--host
,--tcp
,-t
: The hostname or IP address to connect to using TCP, will default to localhost if no host is passed.--ble
,-b
: The BLE device MAC address or name to connect to.
If no connection arguments are specified, the client will attempt a serial connection and then a TCP connection to localhost.
python main.py --port /dev/ttyUSB0
python main.py --host 192.168.1.1
python main.py --ble BlAddressOfDevice
To quickly connect to localhost, use:
python main.py -t