Difference between revisions of "Roofnode"
Jump to navigation
Jump to search
| (One intermediate revision by one other user not shown) | |||
| Line 29: | Line 29: | ||
pip install meshcore-cli # this depends on meshcore i guess? | pip install meshcore-cli # this depends on meshcore i guess? | ||
sudo apt install bluetooth bluez pi-bluetooth # haha install the stuff the pi needs for bluetooth | sudo apt install bluetooth bluez pi-bluetooth # haha install the stuff the pi needs for bluetooth | ||
sudo systemctl enable bluetooth | |||
sudo systemctl start bluetooth | |||
pip3 install --upgrade pytap2 | |||
pip3 install --upgrade "meshtastic[cli]" # this line and the above to install the meshtastic cli (in the same venv) | |||
</pre> | </pre> | ||
| Line 36: | Line 40: | ||
<pre> | <pre> | ||
cd mcore | cd mcore | ||
source .venv/bin/activate | |||
</pre> | </pre> | ||
<pre> | <pre> | ||
Latest revision as of 23:49, 2 April 2026
Raspberry Pi 3 Model B with Power-Over-Ethernet hat, plugged in via ethernet cable directly to our router, which supplies 48v.
Then a meshcore device and a meshtastic device are plugged into the Pi using USB cables.
hostname: roofnode user: pi ip: 100.64.64.229 os: raspbian lite 64-bit (trixie) microsd card: 16gb
Setup Log
Info
- ssh pi@roofnode.local
- https://github.com/meshcore-dev/meshcore_py
- https://pypi.org/project/meshcore-cli/
Install things
sudo apt update sudo apt install socat sudo apt install python3 # got a message saying it was already installed sudo apt install python3-pip mkdir mcore # i was in the home directory cd mcore python3 -m venv .venv source .venv/bin/activate # this puts me into the virtual environment i just made pip install meshcore pip install meshcore-cli # this depends on meshcore i guess? sudo apt install bluetooth bluez pi-bluetooth # haha install the stuff the pi needs for bluetooth sudo systemctl enable bluetooth sudo systemctl start bluetooth pip3 install --upgrade pytap2 pip3 install --upgrade "meshtastic[cli]" # this line and the above to install the meshtastic cli (in the same venv)
Connect to a meshcore device
- go into the virtual environment
cd mcore source .venv/bin/activate