After having encountered several difficulties installing Signal-cli on octopi, I decided to create my own installation script.
Basically, it automates the download of Signal-cli pre-compiled for Raspberry Pi, the pre-compiled library for RPI and puts everything in the right files. The main advantage of this script is that no compilation is required. Everything is already compiled on Github. On small systems that have 1GB of RAM for example, this is very useful.
You must first install Octopi and access your session by SSH. Then update Octopi with:
sudo apt-get update && sudo apt-get upgrade
then reboot :
sudo reboot
Connect again by SSH then go to the root of your system:
cd ~
and download my script
git clone https://github.com/Nosnahc/Signal-cli-with-Octopi
then go to the folder
cd ./Signal-cli-with-Octopi
Getting the latest version number of signal-cli here. As of this writing, the version is 0.11.11
Change the version number in the script:
nano ./signal-cli-install.sh
Go with the down arrow to the line: export VERSION=0.11.11 change to the number noted above.
Save with CTRL + X
then Y
then ENTER
make the script executable and launch it
sudo chmod +x ./signal-cli-install.sh && sudo ./signal-cli-install.sh
If all went well, you should see a version of the latest signal-cli installed.
Then, all you have to do is register by following this tutorial
Attention!! You are required to register via captcha!! If you want to register a landline number, follow this post.
Signal Notifier plugin for Octoprint : https://plugins.octoprint.org/plugins/signalnotifier/
This project uses signal-cli : https://github.com/AsamK/signal-cli
And libsignal : https://github.com/exquo/signal-libs-build/