Skip to main content

piHAT setups

These are technical notes to help setup meshADV HAT boards that go onto Pi zero, 3b+, 4b+ and 5 boards:

meshtasticd piHAT

piHAT installation: meshadv PiHAT (full and mini) raspian 12 (bookworm) is best

https://github.com/chrismyers2000/MeshAdv-Pi-Hat?tab=readme-ov-file

Meshtastic piHAT configuration tool: (normal and mini)

wget https://raw.githubusercontent.com/chrismyers2000/Meshtasticd-Configuration-Tool/refs/heads/main/Gui/meshtasticd_config_tool_GUI.py

sudo chmod +x meshtasticd_config_tool_GUI.py

./meshtasticd_config_tool_GUI.py

SSH version:

wget https://raw.githubusercontent.com/chrismyers2000/Meshtasticd-Configuration-Tool/refs/heads/main/Command-line/meshtasticd_config_tool_CLI.py

sudo chmod +x meshtasticd_config_tool_CLI.py

./meshtasticd_config_tool_CLI.py

with cli tool, meshtasticd install can fail, use this: (raspian 12 bookworm)

echo 'deb http://download.opensuse.org/repositories/network:/Meshtastic:/release/Raspbian_12/ /' | sudo tee /etc/apt/sources.list.d/network:Meshtastic:release.list

curl -fsSL https://download.opensuse.org/repositories/network:Meshtastic:release/Raspbian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/network_Meshtastic_release.gpg > /dev/null

sudo apt update

sudo apt install meshtasticd

Meshtasticd installation raspian 13:

[[ "$(. /etc/os-release && echo $NAME)" == Raspbian* ]] && echo "ERROR: Raspberry Pi OS (32-bit) detected, please use the Raspbian repos."

echo 'deb http://download.opensuse.org/repositories/network:/Meshtastic:/beta/Debian_13/ /' | sudo tee /etc/apt/sources.list.d/network:Meshtastic:beta.list

curl -fsSL https://download.opensuse.org/repositories/network:Meshtastic:beta/Debian_13/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/network_Meshtastic_beta.gpg > /dev/null

sudo apt update

sudo apt install meshtasticd

Install meshtastic CLI:

sudo apt install pipx -y

pipx install meshtastic

pipx ensurepath

source ~/.bashrc

later configs:

meshtastic --set network.ntp_server "pool.ntp.org"

meshtastic --set network.eth_enabled true

meshtastic --set device.role ROUTER 

meshtastic  --setlon -155.6749 --setlat 20.0247 

Hoku location: 20.024755°N 155.674931°W

meshtastic --host 192.168.3.162 --setlon -155.6749 --setlat 20.0247 

meshtastic --setlon -155.6749 --setlat 20.0247

cockpit: (best on pi3,4 or 5)

sudo apt install gettext nodejs npm make

sudo apt install cockpit

sudo systemctl enable cockpit.socket

sudo systemctl start cockpit



Migrated from Apple Server Wiki. Original page ID: m989v9w1