This is a quick guide on installing the EdgePi RPC Server daemon from our debian repo.
ssh pi@edgepi-<serial-number>.local
wget -qO - https://deb.edgepi.com/edgepi-release.gpg | sudo gpg --dearmor -o /usr/share/keyrings/edgepi-release.gpg
sudo tee /etc/apt/sources.list.d/edgepi.list >/dev/null <<'EOF'
deb [arch=arm64, signed-by=/usr/share/keyrings/edgepi-release.gpg] https://deb.edgepi.com/main bullseye main
#deb [arch=arm64, signed-by=/usr/share/keyrings/edgepi-release.gpg] https://deb.edgepi.com/test bullseye test
#deb [arch=arm64, signed-by=/usr/share/keyrings/edgepi-release.gpg] https://deb.edgepi.com/nightly bullseye nightly
EOF
sudo apt update
sudo apt install edgepi-rpc-server
sudo reboot
Check that the RPC Server is running:
sudo systemctl status edgepi-rpc-server
The EdgePi RPC Server is now set up!
By default, the EdgePi RPC Server listens on tcp://0.0.0.0:5555
. If you wish to change the endpoint you can follow the steps below:
cd /var/opt/edgepi/edgepi-rpc-server/config/
edgepi_rpc_server.conf
and change the endpoint under the Network
section.sudo reboot