(Linux) Raspberry Pi LoRA HAT Automated Setup and Update Script(s)
I kind of took it on as a lark because I wanted to make it as easy as possible to actually setup a LoRA HAT for Meshtasticd / Meshtastic on a Raspberry Pi. I put the scripts up on GitHub for anyone to check out and hopefully help. I know nothing can totally be a complete package, but this is a good starting point I believe!
Key Features:
- One-Liner Simplicity: You can run each scripts in a single line, and they handle everything from dependencies to configuration without having to clone the repo locally.
- Always The Newest Version: The scripts check for the latest alpha or beta releases. If it is a new install you always have the newest version. If you run the script again, you can use it as an updater.
- Easy CLI Setup: The Meshtastic CLI is installed in a Python virtual environment (
venv
) to avoid breaking system packages, and it’s added to your path for easy access. - Backups: When you install a new version, it will offer to backup your current protos in
/root/.portduino/default/prefs
.
I also added an easy setup script for the NCMesh Community/MQTT Server but that is mostly as an example for others to build off of if they wish to for their own community.