Jump to content

Meshtastic

From postmarketOS Wiki
Revision as of 13:19, 27 October 2024 by Fdelamotte (talk | contribs)

Meshtastic is an open-source off-grid decentralized network based on Lora technology.

Getting started

Once you purchased a node and flash it using the meshtastic web flasher you can connect to your node from your pmos phone using a serial, bluetooth or wifi link.

Available tools

Installing tools

Meshtastic python cli

The python cli and libraries are in the process of being packaged for Alpine.

At the moment, the easiest way to install it is through pip (py3-pip), doing :

$ sudo pip install meshtastic --break-system-packages

Gtk Meshtastic Client

The gtk client is also in the process of being packaged.

Beware, you'll need libadwaita >=1.6 which is currently not in v24.06 ...

You'll have first to install the meson build system as well as cmake (and make sure git is here too) :

$ sudo apk add meson cmake git

You'll also need some dependencies :

$ sudo apk add gtk4.0-dev libadwaita-dev gobject-introspection-dev libshumate-dev

Then clone the git repository :

$ git clone https://gitlab.com/kop316/gtk-meshtastic-client.git

Go in the wode>gtk-meshtastic-client directory, setup the build and then compile :

$ cd gtk-meshtastic-client/
$ meson setup _build -Dprefix=/usr --sysconfdir=/etc
$ meson compile -C _build

You can install gtk-meshtastic-client using meson install

$ meson install -C build