Difference between revisions of "Roofnode"
Jump to navigation
Jump to search
(Created page with "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 Steps == * ssh pi@roofnode.local * https://github.com/meshcore-dev/meshcore_py * https://pypi.org/project/meshcore-cli/ <pre> sudo apt update su...") |
|||
| (2 intermediate revisions by one other user not shown) | |||
| Line 9: | Line 9: | ||
microsd card: 16gb | microsd card: 16gb | ||
== Setup | == Setup Log == | ||
Info | |||
* ssh pi@roofnode.local | * ssh pi@roofnode.local | ||
* https://github.com/meshcore-dev/meshcore_py | * https://github.com/meshcore-dev/meshcore_py | ||
* https://pypi.org/project/meshcore-cli/ | * https://pypi.org/project/meshcore-cli/ | ||
Install things | |||
<pre> | <pre> | ||
sudo apt update | sudo apt update | ||
sudo apt install python3 | sudo apt install socat | ||
sudo apt install python3 # got a message saying it was already installed | |||
sudo apt install python3-pip | sudo apt install python3-pip | ||
mkdir mcore | mkdir mcore # i was in the home directory | ||
cd mcore | cd mcore | ||
python3 -m venv .venv | 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) | |||
</pre> | |||
Connect to a meshcore device | |||
* go into the virtual environment | |||
<pre> | |||
cd mcore | |||
source .venv/bin/activate | source .venv/bin/activate | ||
</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