Skip to main content

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.

Project description

Contact - A Console UI for Meshtastic

Powered by Meshtastic.org

Install with:

pip install contact

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



The settings dialogue can be accessed within the client or may be run standalone to configure your node by launching contact --settings or contact -c

Screenshot 2025-04-08 at 6 10 06 PM

Message Persistence

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.

Client Configuration

By navigating to Settings -> App Settings, you may customize your UI's icons, colors, and more!

Commands

  • ↑→↓← = 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 dialogue
  • CTRL + p = Hide/show a log of raw received packets.
  • CTRL + t = With the Node List highlighted, send a traceroute to the selected node
  • CTRL + 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.

Search

  • 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

Arguments

You can pass the following arguments to the client:

Connection Arguments

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.
  • --settings, --set, --control, -c: Launch directly into the settings.

If no connection arguments are specified, the client will attempt a serial connection and then a TCP connection to localhost.

Example Usage

contact --port /dev/ttyUSB0
contact --host 192.168.1.1
contact --ble BlAddressOfDevice

To quickly connect to localhost, use:

contact -t

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

contact-1.3.15.tar.gz (66.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

contact-1.3.15-py3-none-any.whl (75.5 kB view details)

Uploaded Python 3

File details

Details for the file contact-1.3.15.tar.gz.

File metadata

  • Download URL: contact-1.3.15.tar.gz
  • Upload date:
  • Size: 66.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for contact-1.3.15.tar.gz
Algorithm Hash digest
SHA256 97db767b0a2741b84a8149602af904371e78607b84c100e6afe16d29bbcb9876
MD5 7809e94658f8267df161496d1bb0196c
BLAKE2b-256 0e2769173114948468fb3d4a029a0a42dfc77879cf355c0790e3ac45789036a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for contact-1.3.15.tar.gz:

Publisher: release.yaml on pdxlocations/contact

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file contact-1.3.15-py3-none-any.whl.

File metadata

  • Download URL: contact-1.3.15-py3-none-any.whl
  • Upload date:
  • Size: 75.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for contact-1.3.15-py3-none-any.whl
Algorithm Hash digest
SHA256 a7f0216af2ea8f1c5e402da9c7ff3e0206ace878da606f48f0359d77d556b9b6
MD5 642566778267effaf1801bf27297f690
BLAKE2b-256 d313b05a6c68ab4c98e09b33b1fbf9dde3da1b02856ccf566dbae81a5b6fef50

See more details on using hashes here.

Provenance

The following attestation bundles were made for contact-1.3.15-py3-none-any.whl:

Publisher: release.yaml on pdxlocations/contact

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page