Jump to content

Meshtastic: Difference between revisions

From postmarketOS Wiki
Line 8: Line 8:
=== Available tools ===
=== Available tools ===


* [https://meshtastic.org/docs/software/python/cli/ meshtastic python script] let you communicate with your node from command line.
* [https://meshtastic.org/docs/software/python/cli/ meshtastic python cli] let you communicate with your node from command line.
* [https://gitlab.com/kop316/gtk-meshtastic-client/ Gtk-meshtastic-client] is an adaptive graphical client for linux from Chris Talbot.
* [https://gitlab.com/kop316/gtk-meshtastic-client/ Gtk-meshtastic-client] is an adaptive graphical client for linux from Chris Talbot.



Revision as of 06:31, 28 October 2024

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 py3-gobject3

Then clone the git repository :

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

Go in the 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