Skip to main content

Python API & client shell for sending encrypted messages to Meshtastic devices

Project description

Black Lager Python App

Overview

A Python messaging client for use with radio devices flashed with the Black Lager firmware. Provides an application that allows you to send and receive text messages with digital signatures. The messages are verified and displayed in a text based interface created with Curses.

Supported hardware

  • LILYGO Lora v2.1-1.6
  • LILYGO T-Beam

Note: Other models listed at https://meshtastic.org/docs/supported-hardware may also work, but they have not been tested with the Black Lager firmware or application

Connect to device

Connect your computer to a radio device flashed with the Black Lager firmware via USB cable. For more information on hardware and firmware, see: https://github.com/black-lager/firmware

Installation

Clone the repo

git clone git@github.com:meshtastic/python.git

Install dependencies

pip3 install -r requirements.txt

Running the app

python3 black_lager_app.py

Commands

Help is here!

Screen Layout

The screen has 5 areas of scrolling text.

Top Row

Top Row

The top row has basic information messages from the system, a debug area that shows the currently executing function, and a spot to show incoming messages.

Decoded Packets

Decoded Packets

Each packet that is intercepted will be displayed here in, decoded. Some fields such as RAW are not supported yet. This type of window is using a wrap around function to display the new lines.

Extended Info

Just the Keys

This is a curses text pad that scrolls upwards as new lines are entered. In this example I am displaying the connected nodes in the mesh.

This is a curses text pad that scrolls upwards as new lines are entered. In this example I am displaying the connected nodes in the mesh.

Send Messages

Press S to send a signed message or U to send an unsigned message. Press control+g when you are finished typing the message.

Viewing Messages

Messages

As both signed and unsigned messages are sent or received, they are displayed in the Messages text box.

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

BlackLager-1.0.14.tar.gz (79.9 kB view details)

Uploaded Source

File details

Details for the file BlackLager-1.0.14.tar.gz.

File metadata

  • Download URL: BlackLager-1.0.14.tar.gz
  • Upload date:
  • Size: 79.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for BlackLager-1.0.14.tar.gz
Algorithm Hash digest
SHA256 2d5ae547bafc19064daaad7f1619f47b18005c27faf471e5087a3cba5eea194b
MD5 62da279018895e873651ce683778c3af
BLAKE2b-256 3651799910b44bd426700f50d7b0d891f22cbfe94d7e86d50e3c90886971de3a

See more details on using hashes here.

Supported by

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