Pi 4B
<-> USB RNode TNC
<-> LoRa 917.875MHz BW500kHz SF7 CR5 TXP17
<-> USB RNode TNC
<-> Pi 4B
<-> WiFi 2.4GHz (Internet)
sudo apt install build-essential
sudo apt install python3-pip
/** | |
* Simple demo for using Heltec T114 Display | |
* Author: Liam Cottle <[email protected]> | |
* | |
* Install Heltec_nRF52 Board from GitHub | |
* - https://github.com/HelTecAutomation/Heltec_nRF52 | |
* | |
* Once board is installed, you may need to "chmod +x" the following files: | |
* - ~/Documents/Arduino/hardware/heltec/Heltec_nRF52/tools/uf2conv/uf2conv.py | |
* - ~/Documents/Arduino/hardware/heltec/Heltec_nRF52/tools/adafruit-nrfutil/macos/adafruit-nrfutil |
Updated docs have moved to the MeshChat repo, this copy has been left here for reference.
https://github.com/liamcottle/reticulum-meshchat/blob/master/docs/meshchat_on_raspberry_pi.md
Simple guide to install MeshChat on a Raspberry Pi.
This would allow you to connect an RNode (such as Heltec v3) to the Pi via USB, and then access the MeshChat Web UI from another machine.
/** | |
* Simple demo for using Heltec T114 Display, but drawing bitmaps is slow :( | |
* Author: Liam Cottle <[email protected]> | |
* | |
* Install Heltec_nRF52 Board from GitHub | |
* - https://github.com/HelTecAutomation/Heltec_nRF52 | |
* | |
* Once board is installed, you may need to "chmod +x" the following files: | |
* - ~/Documents/Arduino/hardware/heltec/Heltec_nRF52/tools/uf2conv/uf2conv.py | |
* - ~/Documents/Arduino/hardware/heltec/Heltec_nRF52/tools/adafruit-nrfutil/macos/adafruit-nrfutil |
from machine import Pin | |
from phew import server, connect_to_wifi | |
# define relays | |
relays = { | |
1: machine.Pin(1, machine.Pin.OUT), | |
2: machine.Pin(2, machine.Pin.OUT), | |
3: machine.Pin(3, machine.Pin.OUT), | |
4: machine.Pin(4, machine.Pin.OUT), | |
5: machine.Pin(5, machine.Pin.OUT), |
A few thoughts on how I would build group chat functionality into MeshChat.
Do note, that this is not a true decentralised/distributed approach as the group chat server must be hosted by a single identity.
It would be nice for a truly distributed group chat, although when it comes to moderation, message retrieval and reliability, I think it would be too complex for an initial implementation.
Of course, everyone is welcome to build their own group chat system, these are just my ideas on what I'm thinking of implementing, nothing is set in stone :)
Setup a self hosted Meshtastic monitoring system on a Raspberry Pi with a Waveshare SX1262 LoRa Hat.
sudo apt update
sudo apt upgrade
#include <MsgPack.h> | |
size_t maxEncryptedPackageMaxContentLength() { | |
// LXMF overhead is 111 bytes per message: | |
// 16 bytes for destination hash | |
// 16 bytes for source hash | |
// 64 bytes for Ed25519 signature | |
// 8 bytes for timestamp | |
// 7 bytes for msgpack structure |
# This script mods StorySave to bypass checkpoint_required/challenge_required in 2023 | |
# exit when any command fails | |
set -e | |
# make sure StorySave.apk exists | |
if [ ! -f "StorySave.apk" ]; then | |
echo "StorySave.apk does not exist." | |
echo "Download latest StorySave apk from APK Mirror and then rename it to StorySave.apk" | |
echo "https://www.apkmirror.com/apk/liam-cottle/storysave/storysave-1-26-2-release/storysave-1-26-2-android-apk-download/" |
:global getPublicIP do={ | |
# tag for temporary configurations | |
:local tag "get-public-ip-via-$interface" | |
# service that provides public ip address in http response | |
:local lookupProtocol "https" | |
:local lookupHostname "api.ipify.org" | |
# add temporary address list for lookup service |