240
edits
(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...") |
|||
| 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 | source .venv/bin/activate # this puts me into the virtual environment i just made | ||
pip install meshcore | pip install meshcore | ||
pip install meshcore-cli | 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 | |||
</pre> | </pre> | ||
Connect to a meshcore device | |||
* go into the virtual environment | |||
<pre> | |||
cd mcore | |||
python3 -m venv .venv | |||
</pre> | |||
<pre> | |||